Skip to content

Conversation

@JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Jan 29, 2026

Replaces the useSideBar composable with a pinia store. This results in some changes across the code base:

  • we don't need to pass the sidebar states around since the global store is accessible from everywhere
  • we don't need to rely on events to toggle the sidebar, hence those have been deprecated in favor of store actions

closes #1397

@JammingBen JammingBen self-assigned this Jan 29, 2026
@JammingBen JammingBen added the Type:Maintenance E.g. technical debt, packaging, etc. label Jan 29, 2026
@JammingBen JammingBen force-pushed the refactor/use-sidebar-to-store branch 3 times, most recently from 582e679 to 58506ab Compare January 29, 2026 15:31
Replaces the `useSideBar` composable with a pinia store. This results in some changes across the code base:

* we don't need to pass the sidebar states around since the global store is accessible from everywhere
* we don't need to rely on events to toggle the sidebar, hence those have been deprecated in favor of store actions
@JammingBen JammingBen force-pushed the refactor/use-sidebar-to-store branch from 58506ab to 091bfd1 Compare January 29, 2026 15:38
@JammingBen JammingBen marked this pull request as ready for review January 29, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type:Maintenance E.g. technical debt, packaging, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transform useSideBar composable into a store

2 participants