Repository navigation
feat(ui): introduce v3.0.0 default iOS glass theme, hover intensity slider, and rounded UI - #97
Merged
Merged
Conversation
…lider, and rounded UI
✅ PR Validation Passed
Ready for review by @mlgitdev! |
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.
Summary
Resolves #96
Introduces NewsAlerts v3.0.0 (
MAJOR) featuring a default iOS Frosted Glass institutional theme (ui.theme = "glass",ui.glass_intensity = 65), unified rounded geometry across panes, controls, badges, and icons, a compact topbar percentage trigger (#btn-glass-theme) with a hover/wheel/click floating intensity popover (#glass-popover), instant 1-click switching back to classic Standard mode, atomic state persistence, and fullweb/tape.htmlparity—with 100% backwards compatibility for existingconfig.jsonfiles.Motivation / Context
Provides a fresh, modern iOS-inspired frosted glass interface while preserving zero-bloat Vanilla CSS/JS performance, high-density trading legibility (strict opacity floor — never full transparency), and zero fragile OS window transparency dependencies across Windows, macOS, and Linux.
Changes
Resolves #96
app/config.py):ui.theme("glass"default |"standard") andui.glass_intensity(0–100, default65) toDEFAULT_CONFIG["ui"]with safe clamping/validation in_merge()so upgrading users cleanly receive the new default without losing any existing settings.web/js/util.js,web/index.html,web/tape.html):App.applyTheme(ui)inweb/js/util.jsenforcing the strictly bounded readability floor (surface alpha >= 0.60, blur6px–20px) and synchronized?v=13cache-buster versions and liveconfigtheme updates across bothweb/index.htmland detachedweb/tape.html.web/js/app.js,web/js/settings.js,web/css/app.css):#btn-glass-themepill in#topbar-trackshowing only the droplet icon + percentage (65%, orStdin Standard mode) to save topbar width.#glass-popover(attached todocument.bodyso#topbar-trackoverflow never clips it) opening on hover, wheel-scroll (±5% intensity steps), focus, or click withiOS Glass/Standardtoggle and0%–100%intensity slider.body.theme-glasswith frosted panes, specular hairline borders, unified rounded geometry across surfaces/controls/icons, and zero per-rowbackdrop-filter(protecting 3,000-row & 4K scroll performance).VERSION,docs/SPEC.md,docs/RELEASES.md,docs/releases/v3.0.0.md,docs/wiki/):VERSIONto3.0.0(MAJOR), synchronizeddocs/wiki/_Footer.md, ranspec-syncondocs/SPEC.md, authoreddocs/releases/v3.0.0.md, and updateddocs/RELEASES.mdanddocs/wiki/Configuration-&-Secrets-Guide.md.tests/test_theme.py):3.0.0lockstep, sharedApp.applyTheme,#btn-glass-theme/#glass-popover,?v=13parity, no per-rowbackdrop-filter, anddocs/SPEC.mdcontracts.Verification & Testing
.venv\Scripts\python.exe -m compileall -q app run_app.py: passed..venv\Scripts\python.exe -m unittest discover -s tests -p "test_*.py": 124/124 tests passed (1.064s).ui-qa-pass(isolated tempNEWSALERTS_DIRserver):1600x900: Default boot intheme-glass(v3.0.0, compact63px#btn-glass-themeat65%), hover opens#glass-popoverunclipped below trigger, wheel-scroll increments65% → 80%,Standard&iOS Glassswitching persists across full reloads, Settings live preview & Cancel rollback verified.1920x1080,820x900,640x520: Zero clipping/overlap, topbar overflow arrows work cleanly inside rounded glass topbar.web/tape.html(1280x720):v3.0.0,theme-glass, fits cleanly inside viewport.0across all viewports and flows..\build.ps1 -Task buildand.\build.ps1 -Task verify-packagespassed (NewsAlerts.exev3.0.0, 15.1 MB, valid Win32 PE header, zero secrets).Checklist
Resolves #96).worktrees/major-ios-glass-theme-96)VERSIONbumped to3.0.0,docs/SPEC.mdsynced (spec-sync), release notes & wiki updatedweb/index.htmlandweb/tape.htmlsibling parity verifiedui-qa-passpassed with 0 console errors and 0 overlaps.exebuilt and verified (verify-packages)