Skip to content

Fix/dynamic tray icon#4251

Draft
elstua wants to merge 4 commits intofastrepl:mainfrom
elstua:fix/dynamic-tray-icon
Draft

Fix/dynamic tray icon#4251
elstua wants to merge 4 commits intofastrepl:mainfrom
elstua:fix/dynamic-tray-icon

Conversation

@elstua
Copy link
Contributor

@elstua elstua commented Feb 25, 2026

Added icons in tray:

  • animated icon for the recording process.
  • icon that show avaliable update.
CleanShot.2026-02-25.at.22.29.10.mp4

there is a summary from claude:
plugins/tray/Cargo.toml — added tokio with time feature for the interval timer.

plugins/tray/src/ext.rs — added:

  • RECORDING_FRAMES — 4 PNG frames compiled in via include_bytes!
  • IS_RECORDING / IS_UPDATE_AVAILABLE — two AtomicBool globals for state
  • ANIMATION_TASK — Mutex<Option<JoinHandle<()>>> to track and cancel the running animation
  • set_recording(bool) / set_update_available(bool) — public methods on Tray
  • refresh_icon() — cancels any running task, then either spawns the looping animation (recording), sets tray_update.png (update available), or resets
    to tray_default.png

plugins/tray/src/lib.rs — wired set_update_available(true/false) into the existing updater event listeners.

plugins/listener/src/runtime.rs — added set_recording(true/false) alongside the existing set_start_disabled calls on Active/Inactive lifecycle
events.

Reusable SessionPreviewCard component that shows title, date, participants,
and text snippet on hover. Appears to the right for sidebar items and below
for tabs. Uses motion/react spring-based cursor following, warm-up delay
reduction for consecutive hovers, and suppresses native WebKit tooltips.
@netlify
Copy link

netlify bot commented Feb 25, 2026

👷 Deploy request for hyprnote pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6f700de

@netlify
Copy link

netlify bot commented Feb 25, 2026

Deploy Preview for hyprnote-storybook ready!

Name Link
🔨 Latest commit 6f700de
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/699f78ed035fcb0008d22723
😎 Deploy Preview https://deploy-preview-4251--hyprnote-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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