Skip to content

[2.0.2] feat: Add BibTeX syntax highlighting and polish mobile UX#39

Merged
Luzkan merged 1 commit into
mainfrom
luzkan/polish-mobile-n-bibtex
Mar 30, 2026
Merged

[2.0.2] feat: Add BibTeX syntax highlighting and polish mobile UX#39
Luzkan merged 1 commit into
mainfrom
luzkan/polish-mobile-n-bibtex

Conversation

@Luzkan

@Luzkan Luzkan commented Mar 30, 2026

Copy link
Copy Markdown
Owner

Before: BibTeX citations were monochrome text blobs in both the article cite panel and the footer. Switching formats hard-swapped with no transition. The nav search button did nothing on mobile. The floating filter FAB covered the footer citation block on short scrolls.

After: BibTeX entries get colored syntax — types, keys, delimiters each get their own class — shared through a single formatBibtexHtml function so article and footer rendering never drift. Format switching crossfades. Copy tooltip confirms which format was grabbed ("BibTeX copied" / "APA copied").

On mobile, the nav search button closes the hamburger menu (if open) and opens the filter bottom sheet with the search input focused. Keyboard shortcut / does the same via open-mobile-search custom event. The filter FAB fades out when the footer enters the viewport via IntersectionObserver. Engagement bar groups Share + Cite in a centered row instead of stacking everything vertically with full- width separators. Share dropdown centers itself within viewport bounds instead of overflowing off-screen.

Also:

  • Fix article content overflow on narrow viewports (min-width: 0)
  • CatalogHero trust badge: text-wrap balance, span wrapper to prevent icon reflowing into wrapped text
  • BrowseNav wraps on small screens, dots hidden
  • Footer copyright name links to author profile
  • Feedback follow-up animates with opacity instead of display toggle
  • Extract shared E2E helpers to tests/e2e/helpers.ts
  • Fix webkit test failures in 404 suggestion link navigation
  • Fix analytics-consent race condition: await astro:page-load
  • Mark axe-core a11y tests as test.slow() to stop CI flakes
  • Add CHANGELOG entry for 2.0.2

@Luzkan Luzkan self-assigned this Mar 30, 2026
@vercel

vercel Bot commented Mar 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
smells Ready Ready Preview, Comment Mar 30, 2026 8:25pm

Before: BibTeX citations were monochrome text blobs in both the
article cite panel and the footer. Switching formats hard-swapped
with no transition. The nav search button did nothing on mobile.
The floating filter FAB covered the footer citation block on
short scrolls.

After: BibTeX entries get colored syntax — types, keys, delimiters
each get their own class — shared through a single formatBibtexHtml
function so article and footer rendering never drift. Format
switching crossfades. Copy tooltip confirms which format was grabbed
("BibTeX copied" / "APA copied").

On mobile, the nav search button closes the hamburger menu (if open)
and opens the filter bottom sheet with the search input focused.
Keyboard shortcut / does the same via open-mobile-search custom
event. The filter FAB fades out when the footer enters the viewport
via IntersectionObserver. Engagement bar groups Share + Cite in a
centered row instead of stacking everything vertically with full-
width separators. Share dropdown centers itself within viewport
bounds instead of overflowing off-screen.

Also:

- Fix article content overflow on narrow viewports (min-width: 0)
- CatalogHero trust badge: text-wrap balance, span wrapper to
  prevent icon reflowing into wrapped text
- BrowseNav wraps on small screens, dots hidden
- Footer copyright name links to author profile
- Feedback follow-up animates with opacity instead of display toggle
- Extract shared E2E helpers to tests/e2e/helpers.ts
- Fix webkit test failures in 404 suggestion link navigation
- Fix analytics-consent race condition: await astro:page-load
- Mark axe-core a11y tests as test.slow() to stop CI flakes
- Add CHANGELOG entry for 2.0.2
@Luzkan Luzkan force-pushed the luzkan/polish-mobile-n-bibtex branch from 0dd35b2 to 1928f43 Compare March 30, 2026 20:25
@Luzkan Luzkan merged commit 7f3f7da into main Mar 30, 2026
10 checks passed
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