openzim / mwoffliner

Mediawiki scraper: all your wiki articles in one highly compressed ZIM file
https://www.npmjs.com/package/mwoffliner
GNU General Public License v3.0
275 stars 72 forks source link

Could we not collapse all sections when on phone like devices? #1140

Open automactic opened 4 years ago

automactic commented 4 years ago

Could we not collapse all sections when on phone like devices / low horizontal resolution? I find this one particularly annoying when I have to expand these sections when reading, especially when I am holding my phone single handed.

kelson42 commented 4 years ago

So far I know it is easy to collapse/uncollapse a section with only one hand (so the thumb on the right of the screen). I don't understand why you have a problem. You have the same problem with the online Wikipedia? With the Wikipedia app? What is different here?

automactic commented 4 years ago

Just from a UX perspective, I think collapse all sections are worse than showing all sections, regardless if it is on mobile or on desktop or tablets.

If user want to read the first section after read the intro / fact sheet, it is more cumbersome to have to click to expand (scrolling vs scrolling + clicking); if user decides not to read the first section, it doesn't matter to show it or hide it, since user won't read it anyway. It doesn't stop here, the same logic applies to the second section after reading the first section, etc...

With collapsing by default, there is certainly the benefit of allowing user to see all h2 elements at a glance, however we already have table of content in kiwix apps for this.

Both the iOS wikipedia app and the online desktop site does not collapse all sections, the mobile site does. My speculation for the reason behind is there isn't a table of content interface in mobile site and both online site and mobile app have. But still, if we can collectively agree on a better UX, we don't have to do it the worse way just because of consistency.

kelson42 commented 4 years ago

We don’t collapse on desktops (large screens). On Android, sections are not collapsed either. I believe like you that this is linked to the the fact that the TOC works well.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.