Skip to content

feat: use persistent container color from Leapp session#6

Open
JeremySnidaro wants to merge 1 commit into
Noovolari:mainfrom
JeremySnidaro:feat/persistent-session-color
Open

feat: use persistent container color from Leapp session#6
JeremySnidaro wants to merge 1 commit into
Noovolari:mainfrom
JeremySnidaro:feat/persistent-session-color

Conversation

@JeremySnidaro

Copy link
Copy Markdown

Changelog

  • Firefox containers now use the color set on the Leapp session instead of a random fallback
  • If a container already exists and the color changed, it is updated in place

Enhancements

  • LeappSessionInfo interface gains an optional sessionColor field
  • TabControllerService.newFirefoxSessionTab accepts a preferredColor parameter and applies it on create or update
  • Version bumped to 0.1.9

Notes

Requires: Noovolari/leapp#619

The change is fully backwards-compatible — if sessionColor is absent (older Leapp version), the existing random-color fallback is preserved.

When Leapp sends a sessionColor on the create-new-session WebSocket
message, Firefox containers are created (or updated) with that color
instead of a random fallback. Existing containers are updated in place
if the color changed since they were last opened.

Requires: Noovolari/leapp#<PR_NUMBER>

Signed-off-by: Jeremy Snidaro <jeremy.snidaro@papernest.com>
Signed-off-by: Jeremy SNIDARO <jeremy.snidaro@papernest.com>
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