Repository navigation
refactor(ui): draw the one-color SVGs with tinted and tint and the phone dropdown with popover::Above - #1186
Merged
Merged
Conversation
added 2 commits
November 24, 2026 20:46
…one dropdown with popover::Above
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.
Survey item 6, the small leftovers:
svg(h).width(n).height(n).style(move |_, _| svg::Style { color: Some(c) })calls becometinted(&h, n, c)where the SVG is square and plain, and.style(tint(c))(a new one-line style helper next totinted) where it is rotated, faded or oblong. That also drops thelet muted = p.muted;-style copies the closures needed. 32 sites in 17 files.phone::Anchoredwaspopover::Abovewith a dropdown under the first child and a blur.Abovegets.below(blur), the phone field uses it, andAnchoredgoes away.Bubblebecomes private topopover.rs.Not done: the local
brandclosure inview_edit_group.brand_button_withwould add Desktop's BrandButton hover (brightness(1.05)) and press scale (0.98), which the closure does not draw today. That is a visible change, so it does not belong in a behaviour-preserving PR. Desktop's Edit Group does useBrandButton(size: "standard",variant: "muted"/"primary"), so switching it is a separate parity fix.Behaviour-preserving: the same widgets with the same sizes, colors, rotation and opacity, and the same dropdown position and blur.
loc.py (
crates/beeper-ui/srcproduction lines): 45,167 before, 45,106 after (-61). Functions over 60 lines: 107 → 106.Checks:
cargo fmt --all --check,cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspace(onlytests/e2e.rsfails here, for the missingweston),cargo test --test cli,ICED_TEST_BACKEND=tiny-skia cargo test -p beeper-ui.🤖 Generated with Claude Code