Skip to content

Conversation

mschmidtkorth
Copy link
Contributor

@mschmidtkorth mschmidtkorth commented Jun 22, 2025

Hello, this makes the whole mention section collapsible by clicking on the "Linked Mentions (2)" header (it is collapsed by default, could be changed). It also shows the total number of mentions (could be removed).

Rationale: If you have many mentions, it unnecessarily bloats the page.

Note: Mentions can be scrolled separately from the page. My thinking is that this allows easier back-and-forth between main content and references.

Note: There is no change to the loading behavior (posssible async loading etc.). I didn't investigate this because I never really had long loading times :)

Collapsed
image

Expanded
image

@mschmidtkorth mschmidtkorth marked this pull request as draft June 22, 2025 09:04
@mschmidtkorth mschmidtkorth marked this pull request as ready for review June 22, 2025 13:22
@mschmidtkorth
Copy link
Contributor Author

mschmidtkorth commented Jun 22, 2025

@zefhemel I noticed I missed fetching the latest merged changes – this has now been updated and should be ready to merge. I've also slightly improved the UI (buttons, icons, no more scrollbar etc.):

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant