Reading/Web/Desktop Improvements/Features/Collapsible sidebar/pl

Chcemy pozwolić użytkownikom swobodnie chować i rozwijać menu z lewej strony, co pozwoli skupić się na treści, ale w razie potrzeby sięgnąć do ważnych narzędzi.

Tworząc tę funkcję, chcemy zrealizować dwa główne cele naszego projektu. Po pierwsze, chcemy ułatwić skupienie na samej treści, zarówno podczas czytania jak i edytowania. Po drugie, chcemy wyróżnić najważniejsze funkcje takie jak przycisku edytuj i historia, przełączanie języków i wyszukiwarka.



Opis funkcji i wymagania
Wprowadzony zostanie przycisk w lewym górnym narożniku ekranu. Jego kliknięcie spowoduje zwinięcie menu i ukrycie jego elementów, a ponowne kliknięcie - ponowne otwarcie.

U zalogowanych użytkowników fakt zwinięcia będzie zapisywany w preferencjach, więc po każdym odwiedzeniu strony z danego konta menu będzie wyświetlane tak, jak ustawiłeś je wcześniej.

U niezalogowanych, ustawienie będzie zapisane tylko dla danego okna przeglądarki.



Wymagania i wytyczne co do projektu
Przygotowaliśmy prototyp.

Zastrzeżenia
Obecnie kilka projektów stworzyła własne rozwiązania tego typu i włączyła je domyślnie. Chcemy współpracować z tymi społecznościami aby upewnić się, że nie wynikną z tego błędy w działaniu zwijania menu.

Jeżeli na twojej wiki wykorzystywany jest inny gadżet do zwijania menu, skontaktuj się z nami.



Testy na użytkownikach


Z redaktorami
We performed a feedback round with a prototype of the collapsible sidebar with editors across multiple wikis. Editors were invited to explore the prototype and provide their feedback using a central notice banner. The majority of users who provided feedback liked the collapsed sidebar for personal use, and especially for the purposes of reading. Please read through our report for more details on feedback, concerns raised, and iterations.



Z czytelnikami
A prototype of the sidebar was also tested with readers through a user study done in collaboration with an independent user testing firm, Hureo, based in India. During the course of the study, we studied readers unfamiliar with Wikimedia projects, as well as casual readers who use Wikimedia projects regularly. The tests were performed in English, Hindi, Telugu, Tamil and Marathi.

Readers reported a strong preference towards the collapsed version of the menu, stating that it created a better reading experience than the current version.

We will be publishing the full results of this study soon.

Quantitative testing
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.



Plan wdrażania
Pierwsze etapy wdrażania rozpoczęły się w maju 2020, na Office Wiki i Test Wiki i w najbliższych miesiącach zamierzamy wejść dalej na wiki, które zgłosiły się do testowania. Zobacz naszą główną stronę z opisami funkcji aby uzyskać szczegóły.

Zobacz też

 * Floating sidebar user script
 * Collapsible sidebar user script
 * Collapsible sidebar user script
 * Collapsible sidebar gadget
 * Collapsible sidebar gadget