Skip to content

Presets: Include Colors & Active Status#2580

Merged
AmmarAbouZor merged 7 commits into
esrlabs:masterfrom
AmmarAbouZor:color-active-presets
Jun 8, 2026
Merged

Presets: Include Colors & Active Status#2580
AmmarAbouZor merged 7 commits into
esrlabs:masterfrom
AmmarAbouZor:color-active-presets

Conversation

@AmmarAbouZor

@AmmarAbouZor AmmarAbouZor commented Jun 8, 2026

Copy link
Copy Markdown
Member

This PR closes #2573

It includes colors and active/inactive status in presets:

  • Presets color and status will be captured when adding presets
  • Colors will be included in import/export of presets with support for legacy Chipmunk 3 formats + Support for Version 1 included in Chipmunk 4 alpha
  • Include color and state in presets view, enabling users to change active state directly from there
  • Improve notification messages
  • Fix notifications stale max height issue when multiple banners are shown then max height will be persisted across all of them.
  • Split notification.rs in UI into two modules, making one module for rendering banner only

* Add colors and active state to presets including changing data models.
* Introduce new version from presets with support for colors and state.
* Convert V1 to V2 while import using default colors
Those modules where too large to be in one file. Changes included
splitting them into multiple files.
No code changes included.
* Apply Colors and active state from presets when applied to a sessions
  making sure we are not invoking search queries in back end on disabled
  search entries.
Importing presets from legacy Chipmunk 3 will include colors and active
state in legacy import
Display both colors and active/inactive state for filters and search
values in presets UI both as read-only with adding a way to
activate/deactivate presets in edit mode
Split notification file into two modules separating banner from the
normal notification rendering.

Notifications banner used to have one ID which will be persisted to over
multiple notifications making the notification sharing the max height
making new notifications take much more height than needed if we have a
large notification previously.
Improve message for import/export notifications

+ Fix clippy warnings
@AmmarAbouZor AmmarAbouZor force-pushed the color-active-presets branch from 0768929 to 3ce1f40 Compare June 8, 2026 16:10
@AmmarAbouZor AmmarAbouZor merged commit 9892c7e into esrlabs:master Jun 8, 2026
1 check passed
@AmmarAbouZor AmmarAbouZor deleted the color-active-presets branch June 8, 2026 16:21
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.

Presets: Include Color & Active State in Presets Export

1 participant