[Bug] Series Box Subcategories are not Collapsible #9
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: PrivateCoffee/wikimore#9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently Series Boxes display as they do in Wikipedia. However, when the Series Box has subcategories, the subcategories are not collapsible as they can be in Wikipedia.
As an example, here are the links for the article on Vein matching as it appears in Wikipedia and Wikimore respectively, followed by an image comparison:
https://en.wikipedia.org/wiki/Vein_matching
https://wikimore.private.coffee/wiki/en/wiki/Vein_matching
Wikipedia by default only opens the section of the Series Box that the current article's subject is included in. Currently in Wikimore, the Series Box being fully open by default leads to large breaks in the page where there wouldn't be otherwise.
An example of this being the case is the article here for Charlie Kirk, in which the Series Box for Conservatism in the United States gives a large break between the Personal Life and Reference sections:
https://wikimore.private.coffee/wiki/en/wiki/Charlie_Kirk
I implemented a solution for this in
81c63244dc
that works without JS, but... I don't know. What do you say?Gave it a quick look. While the concept is interesting for sure, it feels too immediate and the end user doesn't have any warning that the subcategories expand with a mouse hover.
On top of that, it at times causes changes in the page scroll, bumping the end user's view in the page up or down.
Continuing to use the Conservatism in the United States series as an example, here's Margaret Hoover's page as it appears in Wikimore. Since her page is shorter, it serves as a good example of how a dynamic animation for expanding the subcategory boxes also dynamically affects the text and how unpleasant it can look at times.
https://wikimore.private.coffee/wiki/en/wiki/Margaret_Hoover
In the link above, scroll down to the References section of the page, and hover the mouse over the last few subcategories of the Series Box, then move the cursor away from it. You'll see how the text of the individual references is affected and how weird it can look.