[Bug] Series Box Subcategories are not Collapsible #9

Open
opened 2024-08-18 10:02:33 +00:00 by Binzy_Boi · 2 comments

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

image image

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

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 ![image](/attachments/47263514-5b3a-4ed1-b8ed-7ac98a5f3fed) ![image](/attachments/2ef80df9-5a97-42ac-8c1c-fae9c98dac04) 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
Owner

I implemented a solution for this in 81c63244dc that works without JS, but... I don't know. What do you say?

I implemented a solution for this in 81c63244dc that works without JS, but... I don't know. What do you say?
Author

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.

> 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.
kumi added the
bug
label 2024-08-26 11:18:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PrivateCoffee/wikimore#9
No description provided.