libcosmic-yoda/src/widget
Lionel DARNIS 84437e219b yoda: libcosmic-yoda dead-code purge (14→0 warnings)
Real bug fixes:
- spin_button::vertical(): was constructing the SpinButton with
  Orientation::Horizontal — vertical() rendered horizontally. Fixed
  to use Orientation::Vertical, which also resolves the
  'Vertical never constructed' warning.
- text_input/input.rs: rewrite the iterator-skip logic for trailing
  icon layout. The previous `let mut icon_layout = ...; if has_start
  ... = ...; ... = ...;` triggered two value-never-read warnings and
  obscured the intent. Now it reads as 'skip text, optionally skip
  start-icon, then take the trailing-icon layout'.

Dead code removed:
- core::Core::portal_is_high_contrast — assigned at construction,
  never read anywhere
- widget::menu::menu_bar::bar_pressed field and the
  pub fn get_mut_or_default helper — no callers
- widget::popover::State — declared, never constructed
- widget::segmented_button::widget::Focus.now — sibling of updated_at,
  never read
- widget::wayland::tooltip::widget::Variant — orphan enum (and the
  cargo fix follow-up dropped a now-unused Element import)
- widget::button::widget::Button::is_hovered method — trivial getter
  with no callers; the underlying `is_hovered` field is still used

Visibility / nits:
- segmented_button::widget::TabDragSource: gain pub(super) so the
  pub(super) field tab_drag stops exposing a more private type
- widget::menu::flex::resolve: #[allow(dead_code)] (170-line public
  helper, kept for future use)
- app/cosmic.rs: drop one unreachable arm in the surface-message match
- widget::dropdown::multi: drop unused Paragraph import

Leyoda 2026 – GPLv3
2026-05-05 19:02:31 +02:00
..
button yoda: libcosmic-yoda dead-code purge (14→0 warnings) 2026-05-05 19:02:31 +02:00
card fix: card style 2025-04-30 21:36:41 +02:00
color_picker yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
context_drawer fix: overlay event handling and mouse interaction 2026-03-04 12:04:33 -05:00
dropdown yoda: libcosmic-yoda dead-code purge (14→0 warnings) 2026-05-05 19:02:31 +02:00
flex_row yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
grid yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
icon yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
list fix(list_column): add back divider_padding 2026-04-17 13:17:23 +02:00
menu yoda: libcosmic-yoda dead-code purge (14→0 warnings) 2026-05-05 19:02:31 +02:00
progress_bar improv(circular): prevent caps from touching 2026-04-18 16:08:34 -04:00
rectangle_tracker yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
scrollable feat(scrollable): add helper for horizontal scrollables 2025-04-04 18:34:55 +02:00
segmented_button yoda: libcosmic-yoda dead-code purge (14→0 warnings) 2026-05-05 19:02:31 +02:00
settings improv(about): use ListButton 2026-04-17 13:52:08 +02:00
table perf(widget): avoid VecDeque clone in segmented_button/table Model::clear 2026-04-19 16:29:02 +02:00
text_input yoda: libcosmic-yoda dead-code purge (14→0 warnings) 2026-05-05 19:02:31 +02:00
toaster yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
wayland yoda: libcosmic-yoda dead-code purge (14→0 warnings) 2026-05-05 19:02:31 +02:00
about.rs improv(about): use ListButton 2026-04-17 13:52:08 +02:00
aspect_ratio.rs wip rebase updates 2026-03-04 12:04:32 -05:00
autosize.rs chore: update features and feature gates 2026-03-30 22:25:27 -04:00
calendar.rs refactor!: remove cosmic::iced_* re-exports 2026-04-08 03:12:10 +02:00
cards.rs yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
common.rs improv(widget): share object-select svg handle between widgets using it 2024-02-26 19:17:49 +01:00
context_menu.rs yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
dialog.rs wip rebase updates 2026-03-04 12:04:32 -05:00
dnd_destination.rs refactor!: remove cosmic::iced_* re-exports 2026-04-08 03:12:10 +02:00
dnd_source.rs yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
frames.rs fix(animated-image): update frames and fix compilation errors 2026-04-16 19:58:39 +02:00
header_bar.rs header_bar: add WindowControlsPosition (macOS-style left controls) 2026-04-22 15:08:12 +02:00
id_container.rs yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
layer_container.rs yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
menu.rs feat: context menu popups 2025-06-11 16:46:31 -04:00
mod.rs yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
nav_bar.rs wip rebase updates 2026-03-04 12:04:32 -05:00
nav_bar_toggle.rs feat(icon): optimize & bundle icons with crabtime for non-unix platforms 2025-11-21 18:37:49 +01:00
popover.rs yoda: libcosmic-yoda dead-code purge (14→0 warnings) 2026-05-05 19:02:31 +02:00
radio.rs yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
responsive_container.rs yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
responsive_menu_bar.rs yoda: ungate remaining winit+wayland combined cfgs 2026-04-23 17:36:21 +02:00
segmented_control.rs chore: apply clippy suggestions 2025-10-05 04:40:51 +02:00
spin_button.rs yoda: libcosmic-yoda dead-code purge (14→0 warnings) 2026-05-05 19:02:31 +02:00
tab_bar.rs chore: apply clippy suggestions 2025-10-05 04:40:51 +02:00
text.rs perf: inline public getters/setters, and use non-generic inner functions 2025-03-21 13:31:34 +01:00
toggler.rs yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00
warning.rs wip rebase updates 2026-03-04 12:04:32 -05:00
wrapper.rs yoda: cargo fix --lib (libcosmic-yoda) — drop 99 trivial warnings 2026-05-05 16:27:29 +02:00