Skip to content

QoL Refined menu#3533

Open
webysther wants to merge 8 commits intojaneczku:masterfrom
webysther:calibur-menu
Open

QoL Refined menu#3533
webysther wants to merge 8 commits intojaneczku:masterfrom
webysther:calibur-menu

Conversation

@webysther
Copy link
Copy Markdown
Contributor

@webysther webysther commented Jan 26, 2026

Do you think this PR help you? Consider a donation: https://github.com/sponsors/webysther

  • Tooltip on mouse hover
  • Hide badge if there only 1 book in shelf
  • Show private shelf in top before public ones
  • Use icon to mark public and private shelf
image image

  - 【what】 add missing semicolon and text-overflow: clip to rule
  - 【why】 ensure consistent overflow handling and prevent layout bugs
  - 【fix】 change height from fixed 30px to auto and reduce line-height
  - 【fix】 enable normal white-space and visible overflow
  - 【fix】 unset text-overflow and add overflow-wrap and word-break
  - 【fix】 prevent clipped link text for better responsiveness
  - 【markup】 restructure shelf list to separate link, icon, and name
  - 【icon】 show globe for public and lock for private shelves
  - 【count】 compute shelf_len and hide badge when count is 1
  - 【classes】 add shelf-link and shelf-name classes for easier styling
  - 【feat】 sort shelves by is_public so private shelves appear first
  - improve shelf ordering to prioritize private content for users
- 【layout】prevent shelf icon from rendering for anonymous users
- 【reason】only show lock/globe icon to authenticated users to avoid
- confusing UI for unauthenticated visitors
  - 【feat】 add title attribute to shelf links showing name and count

⚡️ perf(layout): compute shelf_len once to avoid duplicate queries
  - 【perf】 compute shelf_len once to avoid duplicate queries
@OzzieIsaacs OzzieIsaacs changed the title 🎁 QoL Refined menu QoL Refined menu Jan 31, 2026
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