Repository navigation
fix(updater): follow the manager theme in the live update window (3.6) - #2662
Merged
Seiger merged 2 commits intoNov 27, 2026
Merged
Conversation
The window was dark whatever the theme mode, its close cross was a 9 px glyph in a framed button, and every poll scrolled the log back to the top. - colours come from variables set per theme mode: the header strip follows the top bar, the body the content area (dark only in "everything is dark"), and switch live with the theme toggle - the close button is a 36 px box with a 20 px cross; its rules carry the modal id so the manager's button:not(.btn) frame does not apply - the log follows new lines unless the operator scrolled up to read Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
evo-ui draws its top bar in the EvoUI base colours, white in both light modes, and the dashboard document does not say which theme is active: the plugin passes manager_theme and the header strip takes those colours. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
3.6.x counterpart of #2661, plus the evo-ui top bar.
The "System update" window of the dashboard updater was dark in every theme mode, its close cross was a 9 px glyph inside a 37 px framed button, and each poll rebuilt the log scrolled back to the top, so the operator did not see the update progress.
Theme modes. Colours now come from CSS variables set per mode and change live with the theme toggle. The body follows the content area (dark only in "everything is dark"); the header strip follows the top bar of the manager theme in use:
defaultthemeevo-uithemelightness)#f1f1f1light)#343944dark)#212328oklch(26.5% 0.011 265)darkness)#212328oklch(18.5% 0.012 265)#282c34evo-ui renders the dashboard with the default views, so the dashboard document does not say which theme is active: the plugin passes
managerThemein the window's payload and the modal getsis-evo-ui. The evo-ui values are its--color-base-100/--color-base-contentfor eachdata-theme.Close button. A 36×36 button with a 20×20 SVG cross (
pointer-events: none, so a click on the cross still reaches the button) andaria-label. Its rules carry the modal id: the manager'sbutton:not(.btn)rule informs.cssoutweighed the class and drew a white framed box around it.Log autoscroll. After each poll the log scrolls to the newest line, unless the operator scrolled up to read earlier lines; once back at the bottom it follows again.
The
make:sitelines in the log stay in English: they are the CLI output.Tests
assets/plugins/updater/tests/live-update.test.js(run byUpdaterManagerUiTest): 5 new tests for follow / stay-when-scrolled-up, a variable set for each theme mode, element rules that use only the variables, the close button, and the evo-ui strip. All 17 pass.defaultandevo-ui, over a running site_update task with a growing log (headless Chrome over CDP): the log stays at the bottom across polls and keeps its place when scrolled up; computed colours match the table in each mode afterevo.tree.toggleTheme(); a real mouse click on the cross closes the window.🤖 Generated with Claude Code