Skip to content

Conversation

@er-k
Copy link
Contributor

@er-k er-k commented Jan 16, 2026

  • added runtime json fetching for menus with remote/local fallback.
  • split vertical (collapse) and navbar menu renderers into separate modules.
  • introduced cul-menu bundle (iife + es) for external site usage.
  • added cache-busting, graceful loading, and mark-loaded css classes.
  • updated vite config for separate bundle build and proper outdir.
  • made menu renderer less opinionated with data-attribute overrides.
  • ensured backwards-compatible handlebars fallbacks.
  • fixed slug & special character issues in menu ids for safe selectors.

- added runtime json fetching for menus with remote/local fallback.
- split vertical (collapse) and navbar menu renderers into separate modules.
- introduced cul-menu bundle (iife + es) for external site usage.
- added cache-busting, graceful loading, and mark-loaded css classes.
- updated vite config for separate bundle build and proper outdir.
- made menu renderer less opinionated with data-attribute overrides.
- ensured backwards-compatible handlebars fallbacks.
- fixed slug & special character issues in menu ids for safe selectors.
@er-k er-k marked this pull request as draft January 16, 2026 22:27
er-k added 2 commits January 16, 2026 17:31
- refactored menu rendering to fetch menu json at runtime
- support for authoritative remote menu via VITE_CUL_MENU_URL
- environment configuration
- graceful fallback to bundled example json on fetch failure
- cache-busting using app version
- loading state handling for menu containers
- cleanup. updated cul-main-menu.json with current menu items
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.

2 participants