Repository navigation
feat: the control window is drawn with Material 3 widgets from the egui-material3 fork, in Strobe's own theme colours and density (D710) - #159
Open
lnorton89 wants to merge 1 commit into
Conversation
…ui-material3 fork, in Strobe's own theme colours and density (D710) Every standard control comes from the owner's freeknet fork of egui-material3, pinned to a commit and allowed as a git source in deny.toml: buttons, icon, tool and transport buttons, segmented buttons, switches, text fields, selects in place of combo boxes, number fields in place of drag values, checkboxes, tabs, menu items and dialogs. The shared helpers (widgets, form) keep their signatures and wrap the library. - ui::m3 maps each M3 colour role from the theme's palette, gives the library Strobe's density (Comfortable -3, Compact -4) and a type scale at Strobe's body size, and names a Material Symbol for every Icon. - Roboto and the outlined Material Symbols replace Segoe UI and the stroked icon set; the old painted widgets are gone. - The value bars, XY pads, meters, scene cards and preview stay Strobe's. - The editor toolbar gives its name and chips the room its actions leave; the sort select fits its longest option; the monitor select says "Not chosen"; destructive confirms are error-coloured. - xtask credits finds licence files two folders down (the fork's fonts) and skips images named "copyright".
Contributor
|
Claude finished @lnorton89's task in 21s —— View job Review of PR #159I read the adapter (
|
| egui = { version = "0.37", default-features = false, features = ["default_fonts"] } | ||
| egui_glow = { version = "0.37", features = ["winit"] } | ||
| egui-winit = { version = "0.37", default-features = false, features = ["links", "clipboard", "wayland", "x11"] } | ||
| # Spike: the freeknet Material 3 fork, by path (not for merging; cargo-deny would refuse the git source). |
Contributor
There was a problem hiding this comment.
This comment is stale. It says "Spike… by path (not for merging; cargo-deny would refuse the git source)", but the dependency is a pinned git rev, deny.toml now allows it, and D710 records the decision. Replace it with a pointer to D710 before merging. Also consider the full 40-char rev here; Cargo.lock pins it either way, so this is only for readability.
This branch has not been deployed
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.
Every standard control in the control window now comes from the owner's
freeknetfork of egui-material3. The fork is pinned toce84fabin the workspaceCargo.toml, anddeny.tomlallows it as a git source. The decision is D710.What changes
ui::widgetsandui::formkeep their signatures and wrap the library, so panes call the same helpers.ui::m3::schememaps each M3 colour role from the theme's palette, so every theme keeps its look.xtask creditsnow finds licence files two folders down, so the release notices carry Roboto's OFL and Material Symbols' licence texts. It skips images namedcopyright.Fork work this needed (all merged into
freeknet)MaterialMenuItem, destructive dialog actions, tab tooltips and accessible labelsedit_idmap's port test from review (in depth): strobe-app core, UI, audio, sessions and shows #151)Checked
cargo xtask ci fmt check test deny generated conventionspasses on LIGHTNING (Windows). The one exception is the changelog check, and only on this machine: local git abbreviates hashes to 8 characters where the committed file and CI use 7. The committed CHANGELOG.md is master's.