Repository navigation
Dark theme support for New Connection Wizard dialog - #17290
Merged
Merged
Conversation
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
gtritchie
force-pushed
the
feature/dark-theme-new-connection-wizard
branch
2 times, most recently
from
March 25, 2026 21:38
0002d11 to
4054b3d
Compare
Enable dark theme styling for the New Connection Wizard and all its sub-pages (snippet, Shiny, ODBC install/pre-install). GWT changes: - Call setThemeAware(true) in NewConnectionWizard constructor - Add dark CSS overrides for wizardBodyPanel border, warning panels, code viewer, and ODBC console areas - Remove newConnectionWizardBackground sprite in dark mode (all connection pages override getWizardPageBackgroundStyle with this custom sprite, which was not covered by the base Wizard.css dark override) - Remove duplicate .codeViewer CSS block in NewConnectionShinyHost.css Shiny iframe dark mode (Spark Connection, etc.): - Inject dark-mode CSS into the Shiny mini-UI iframe for labels, form controls, and select option elements - In Server, use native JSNI to inject styles into the same-origin iframe document - In Desktop, add an Electron bridge method (injectShinyDialogCss) that uses WebFrameMain.executeJavaScript() to inject CSS into cross-origin iframes, matching the Shiny dialog frame by its full URL (origin + pathname)
gtritchie
force-pushed
the
feature/dark-theme-new-connection-wizard
branch
from
March 25, 2026 21:40
4054b3d to
33e8b73
Compare
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.
Intent
Additional work on #10296
Adds dark theme support for the New Connection Wizard dialog and all its sub-pages.
Summary
GWT changes:
setThemeAware(true)inNewConnectionWizardconstructornewConnectionWizardBackgroundsprite image in dark mode — all connection pages overridegetWizardPageBackgroundStyle()with this custom sprite, which was not covered by the baseWizard.cssdark override.codeViewerCSS block inNewConnectionShinyHost.cssShiny iframe dark mode (Spark Connection, etc.):
injectShinyDialogCss) that usesWebFrameMain.executeJavaScript()to inject CSS into cross-origin iframes, matching the Shiny dialog frame by its full URLExample Screenshots
Test plan