Skip to content

[codex] Improve floating bar widget styling#75

Draft
romeroej2 wants to merge 1 commit into
Finesssee:mainfrom
romeroej2:codex/floatbar-widget-improvements
Draft

[codex] Improve floating bar widget styling#75
romeroej2 wants to merge 1 commit into
Finesssee:mainfrom
romeroej2:codex/floatbar-widget-improvements

Conversation

@romeroej2

Copy link
Copy Markdown

Summary

  • Adds a configurable floating bar size slider so the widget can scale icons, text, and pill spacing.
  • Adds a user-selected visual style choice that preserves both the original floating glass look and the new Windows taskbar widget look.
  • Adds optional inline reset time display with a reset icon, keeping the actual reset time visible while replacing the reset label text.
  • Refreshes the native floatbar interaction state after resize/show events so it is less likely to appear on top while mouse events pass through unexpectedly.
  • Cleans up select styling in settings and addresses clippy warnings found during validation.

Style note

This is intentionally a fully style-oriented PR. The goal is to explore a Windows taskbar-widget-like floating bar that visually sits on the bar, similar in spirit to macOS widgets. If this style is not preferred, that is fine; it is a matter of visual preference and can stay user-selected alongside the original floating glass option.

Validation

  • cargo fmt --all
  • cargo clippy --manifest-path rust/Cargo.toml --all-targets -- -D warnings
  • cargo clippy --manifest-path apps/desktop-tauri/src-tauri/Cargo.toml --all-targets -- -D warnings
  • cargo test --manifest-path rust/Cargo.toml float_bar
  • cargo test --manifest-path apps/desktop-tauri/src-tauri/Cargo.toml floatbar
  • pnpm test src/floatbar/FloatBar.test.tsx
  • pnpm build
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant