Reading/Web/Desktop Improvements/Features/Collapsible sidebar/pt-br

Gostaríamos de oferecer aos nossos leitores e editores a flexibilidade de ocultar e exibir o menu da esquerda (a barra lateral) para que dessa maneira foco no conteúdo, assim como a funcionalidade mais importante, estejam sempre disponíveis.

Com esta funcionalidade, queremos realizar duas metas de nosso projeto. Primeiro, gostaríamos que fosse mais fácil focar no conteúdo, seja durante leitura ou edição. A outra meta é destacar funcionalidades importantes, como os botões "editar" e "histórico", o menu de idiomas, e a barra de busca.

Descrição do recurso e requisitos
A barra lateral ocultável irá introduzir um botão no canto superior esquerdo da tela. Apertar esse botão irá ocultar a barra lateral e seus itens. Para abrí-la, basta apertar o botão novamente.

Se estiver conectado, sua preferência em relação à barra lateral será salva. Isto significa que se escolher ocultar a barra, e então terminar sua sessão, sua barra lateral ainda estará oculta ao iniciar uma nova sessão, e vice-versa.

Para usuários desconectados, a preferência será salva somente em uma dada janela do navegador.

Diretrizes de design e requisitos
Nós preparamos um protótipo desta funcionalidade.

Limitações
Atualmente, alguns projetos (como a Wikipédia em coreano) já implementaram algo semelhante por padrão. Queremos trabalhar próximos com as comunidades dessas wikis para assegurar que não ocorram erros ou outros tipos de problemas com a barra ocultável.

Se sua wiki atualmente utiliza um gadget para ocultar a barra lateral, favor entrar em contato conosco.

Com editores
Nós realizamos uma rodada de comentários com um protótipo da barra ocultável com editores de várias wikis. Os editores foram convidados através de um banner central a explorar o protótipo e enviar feedback. A maioria dos usuários que deixaram comentários gostaram da barra lateral ocultável para uso pessoal, especialmente durante leitura. Favor ler nosso relatório para mais detalhes sobre os comentários, problemas e versões.

Com leitores
Um protótipo da barra ocultável também foi testada com leitores durante um estudo de caso realizado em colaboração com uma empresa independente de testes com usuários, Hureo, da Índia. Durante o estudo, analisamos leitores que não estavam acostumados com os projetos da Wikimedia, assim como leitores casuais que visitam projetos da Wikimedia regularmente. Os testes foram realizados em inglês, hindi, telugu, tâmil e marati.

Os leitores relataram uma preferência forte pela versão do menu ocultável, afirmando que criava uma experiência melhor para leitura em relação à versão atual.

Iremos publicar os resultados completos do estudo em breve.

Teste quantitativo
Since making the change, we were able to observe the patterns of behavior of anonymous and logged-in users while using the sidebar. This report represents our findings so far. We hope to use this data in future iterations of the collapsible sidebar functionality.

Study questions
When measuring the usage of the sidebar, we wanted to consider the following set of questions:


 * What is the frequency that users collapse and uncollapse the sidebar
 * What is the difference in interaction with sidebar links between people with the sidebar collapsed (the majority of the time) versus uncollapsed (the majority of the time). In other words, once the sidebar is collapsed, do users open it when they need to, or do they just ignore it altogether?
 * What is the overall difference in interaction with sidebar links before and after the change
 * In particular, what is the overall difference in interaction with the donate link?

What is the frequency that users collapse and uncollapse the sidebar?

 * Between July 22 and August 31, 2020, there were 28,745 unique sessions that included a click to collapse and/or uncollapse the sidebar. This represents only about 0.13% of all recorded sessions using the Vector 2022 skin and 13.67% of all Vector 2022 sessions with a click recorded.
 * Since the sidebar was set as uncollapsed by default, there are more total clicks to collapse the sidebar. However, there are roughly the same average number of clicks per session to either collapse or uncollapse. Average Clicks Per Session to Collapse: 1.37; Average Clicks Per Session to Uncollapse: 1.38.
 * French Wiktionary had the lowest average sidebar clicks per session (1.87) while Persian Wikipedia had the highest (2.94).
 * Logged-out users have more than twice the number of collapse events compared to uncollapse events, likely because the state of the sidebar for logged out users is not preserved.
 * Most sessions overall included just one-click to either collapse or uncollapse the sidebar. Logged out users have a higher frequency of one sidebar clicks per session while logged in users have a higher frequency of two clicks per session.



What are the different interaction types with the sidebar?

 * For the majority of sessions (81.88%), the sidebar was collapsed and/or uncollapsed just once. For sessions where the sidebar was collapsed only once, 34.5% sessions kept the sidebar collapsed the majority of their session time and 65.4% of sessions had the sidebar uncollapsed the majority of their session time (did not collapse it until towards the end of their session).

What is the overall difference in interaction with sidebar links before and after the change?
Note re approach:

Since this was deployed as opt-out to all users on the test wikis, there is not a random, equal split of users between the two Vector skins. A direct comparison cannot be made as there may be some bias. The old skin version was only available to those who explicitly opted out. There were more users who saw the new version. However, we compared the average interactions per session for each skin type. This was to control for the different number of users and confirm if there were any significant differences.

Note: Data in these comparisons may still be affected by self-selection bias between the two groups. We also reviewed data from a two-week period before and after each test wiki's deployment date to confirm if there were any significant changes.


 * The Legacy Vector has a slightly higher number of total sidebar link clicks per session (4.68) compared to Vector 2022 (3.63). This is also true on a per wiki basis except for on French Wiktionary and Portuguese Wikiversity, which have a slightly higher average number of total sidebar link clicks on the new skin compared to Legacy
 * Clicks to the donate link do not appear to be affected by the new skin version. There is a slightly higher number of average clicks per session on the Vector 2022 (1.11) compared to Vector 2010 (1.06).
 * There was a decrease (-9.15%) in the overall total number of sidebar link interactions comparing the two weeks prior and two week following the deployment of the collapsible sidebar across all test wikis. However, this percentage is likely inflated due to seasonality effects (previous year's data was not available using webrequest to complete a year over year analysis).

Full report
The full report is available in this Jupyter Notebook.

Discussion and next steps
''' Based on the results above, we have learned that logged-in and logged-out users have very different behavior while using the sidebar. ''' Logged-in users tended to, overall, collapse the sidebar and leave it collapsed. As we understand it, not many of the items in the sidebar were useful to them. However, the rate of uncollapsing also indicated that users are aware that, were they to need to navigate to an item in the sidebar, that option was available to them.

Logged-out users, on the other hand, tended to collapse and uncollapse as needed. This indicates that they had a greater need of the items in the sidebar and that their behavior was more task-based, rather than indicating an overall pattern.

Based on the above findings, we took the following actions:
 * Making the sidebar collapsed by default for logged-out users
 * Keeping the sidebar uncollapsed by default for logged-in users

We decided to continue to monitor the above patterns, in particular the decreases in clicks to links in the sidebar. We will work on it again based on future findings.

Plano de lançamento
Começamos a implantação da primeira versão em maio de 2020 nas wikis da Fundação e de testes, e pretendemos passar para as wikis de participação antecipada nos próximos meses. Veja nossa página principal de recursos para maiores detalhes.

Ver também

 * Script de usuário para barra lateral livre
 * Script de usuário para barra ocultável
 * Script de usuário para barra ocultável
 * Script de usuário para barra ocultável
 * Gadget para barra ocultável