No description
Find a file
leyoda 5cb0dbb0c5
Some checks are pending
Continuous Integration / formatting (push) Waiting to run
Continuous Integration / linting (push) Waiting to run
yoda: dock icon hover magnification (macOS Tahoe-style, phase B v1)
First pass at the signature macOS Dock effect — the icon under the
pointer grows, adjacent icons stay at base size. Full fisheye (smooth
bell-curve scaling on neighbors) can be a later iteration.

Changes in cosmic-app-list/src/app.rs:
- CosmicAppList gains a hovered_dock_item: Option<DockItemId>
  auto-initialized to None via #[derive(Default)].
- New Message::DockItemHover(Option<DockItemId>) handled in update()
  by just writing the field; view() then reads it to decide scale.
- DockItem::as_icon gains an icon_scale: f32 parameter. Inside it the
  cosmic_icon width/height = (base_icon_size * icon_scale) clamped
  to u16; indicator dot and other surrounding layout stay at base
  size so only the icon visually bulges.
- New App::icon_scale_for(id) helper: 1.3 if Some(id) == hovered,
  1.0 otherwise. Single place to tune the magnification factor.
- The two main dock rows (favorites + filtered_active_list) wrap
  their rendered applet_tooltip in widget::mouse_area with
  on_enter(DockItemHover(Some(id))) / on_exit(DockItemHover(None))
  and call icon_scale_for before rendering.
- The three remaining as_icon call sites (DnD preview, favorites
  overflow popup, active overflow popup) pass icon_scale = 1.0 —
  hover magnification on those surfaces would look jittery and isn't
  needed anyway.

Build: cargo build --release -p cosmic-app-list (≈ 7s). Binary
installed at /usr/local/bin/cosmic-app-list, backup kept as
.pre-magnification.
2026-04-24 12:39:19 +02:00
.github Add pull request template 2026-02-13 12:35:27 -07:00
cosmic-app-list yoda: dock icon hover magnification (macOS Tahoe-style, phase B v1) 2026-04-24 12:39:19 +02:00
cosmic-applet-a11y i18n: translation updates from weblate 2026-04-12 18:50:17 +02:00
cosmic-applet-audio update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-battery update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-bluetooth update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-input-sources update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-minimize update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-network wip: update libcosmic 2026-04-16 15:27:25 -06:00
cosmic-applet-notifications update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-power i18n: translation updates from weblate 2026-04-12 18:50:17 +02:00
cosmic-applet-status-area update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-tiling update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-time update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-workspaces update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applets i18n: translate desktop entries with xdgen (#1328) 2026-03-02 11:33:29 -07:00
cosmic-applets-config feat(battery): add option to show charge percentage next to the icon (#994) 2026-02-02 14:47:38 -07:00
cosmic-panel-app-button/data i18n: translate desktop entries with xdgen (#1328) 2026-03-02 11:33:29 -07:00
cosmic-panel-button update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-panel-launcher-button/data i18n: translate desktop entries with xdgen (#1328) 2026-03-02 11:33:29 -07:00
cosmic-panel-workspaces-button/data i18n: translate desktop entries with xdgen (#1328) 2026-03-02 11:33:29 -07:00
data i18n(bg): update desktop info 2025-11-09 11:27:31 +01:00
debian chore: update dependencies and debian changelog 2026-01-13 15:33:04 -05:00
i18n i18n: translation updates from weblate 2026-04-12 18:50:17 +02:00
.gitignore status-area: Seperate daemon for status notifier daemon 2026-02-02 10:36:16 -08:00
Cargo.lock update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
Cargo.toml chore: updates after iced-rebase 2026-03-31 22:34:59 +02:00
flake.lock feat: updated flake.nix and fixed error due to crane api change 2025-05-20 17:01:17 +02:00
flake.nix chore: bump versions to 1.0.0 2025-12-30 08:34:00 +01:00
justfile fix(justfile): wrong path to localized desktop entries 2026-03-18 11:12:40 -04:00
LICENSE license 2022-05-26 11:59:09 -04:00
rust-toolchain.toml applet overlap 2025-11-11 16:49:48 -05:00