Skip to content

feat: extract user dependent main nav to client side - #1180

Open
salzig wants to merge 8 commits into
masterfrom
feat/extract_user_dependent_main_nav_to_client_side
Open

feat: extract user dependent main nav to client side#1180
salzig wants to merge 8 commits into
masterfrom
feat/extract_user_dependent_main_nav_to_client_side

Conversation

@salzig

@salzig salzig commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@salzig
salzig force-pushed the feat/extract_user_dependent_main_nav_to_client_side branch from b9e9a10 to ae7ecf9 Compare June 15, 2026 21:35
@salzig
salzig requested review from JoschkaSchulz and janz93 June 15, 2026 21:41
Comment thread app/assets/javascripts/controllers/nav_controller.js
Comment thread app/assets/javascripts/controllers.js
@JoschkaSchulz

Copy link
Copy Markdown
Member

I think this is the thing with caching the site right? For me the javascript part looks a bit "hacky". Wouldn't it possible to use turbo + Stimuls for that or is this really the best way?

@salzig

salzig commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator Author

I think this is the thing with caching the site right? For me the javascript part looks a bit "hacky". Wouldn't it possible to use turbo + Stimuls for that or is this really the best way?

yeah, the general idea is to get into the general direction of stimulus, but wasn't convinced yet to add "stimulus-rails" and "importmap-rails" to our dependencies just yet. I'd like to removed dependencies to jQuery before tackling that horse.

@salzig
salzig force-pushed the feat/extract_user_dependent_main_nav_to_client_side branch from ae7ecf9 to c7e4e4e Compare July 21, 2026 07:05
@salzig

salzig commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator Author

I just updated the MR, so the session and user-data cookie share lifetime configuration.

@salzig
salzig force-pushed the feat/extract_user_dependent_main_nav_to_client_side branch from 87f5495 to f9062b4 Compare July 28, 2026 20:05
@salzig
salzig force-pushed the feat/extract_user_dependent_main_nav_to_client_side branch from f9062b4 to f04839a Compare August 7, 2026 17:33
@salzig
salzig force-pushed the feat/extract_user_dependent_main_nav_to_client_side branch from f04839a to b66cb17 Compare August 13, 2026 21:16
@salzig
salzig force-pushed the feat/extract_user_dependent_main_nav_to_client_side branch from 7c8fa9b to aac8391 Compare August 23, 2026 08:45
@salzig
salzig force-pushed the feat/extract_user_dependent_main_nav_to_client_side branch from aac8391 to 73e8904 Compare August 23, 2026 09:01
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