Skip to content

feat(widgets): add To-Do / Reminders checklist desktop widget - #49

Open
w4nnnn wants to merge 1 commit into
0-ss:mainfrom
w4nnnn:feat/reminders-todo-widget
Open

w4nnnn wants to merge 1 commit into
0-ss:mainfrom
w4nnnn:feat/reminders-todo-widget

Conversation

@w4nnnn

@w4nnnn w4nnnn commented Nov 18, 2026 •

Copy link
Copy Markdown

Overview

This PR adds a new Reminders / To-Do checklist widget to MacShell desktop widgets, inspired by the macOS Tahoe Reminders widget. It provides an interactive checklist directly on the desktop with support for Liquid Glass and Normal card styling.


Features & Changes

1. Reminders / To-Do Widget (ExtraWidgets.qml)

  • Interactive Checklist: Click on the circle checkbox to toggle tasks with smooth draw animation and audio feedback (tink / pop).
  • Inline Editing: Click on any existing task item to edit its text inline with Enter to save and Esc to cancel (no external editor required for quick edits).
  • Inline Add: Quick + button in the header to add new items directly on the desktop.
  • External Editor Support: Double-clicking the header opens the underlying markdown file in the default text editor (xdg-open).
  • Persistent Storage: Tasks are automatically synchronized with ~/.config/macwidgets/reminders.md.

2. Desktop Layer & Focus Management (Desktop.qml, MacWidgets.qml)

  • Interactive Layer-Shell: Expanded desktop cutout mask and hit areas (from 4 to 8) to allow pointer clicks through to interactive widgets (Player, Reminders, Notes).
  • Keyboard Focus Handling: Uses WlrKeyboardFocus.OnDemand while typing in the widget and automatically cancels typing / drops keyboard focus when switching workspaces or active windows via Hyprland events (workspacev2, activewindowv2).
  • Persistence Across Restarts: Updated applySettings() in MacWidgets.qml to dynamically validate widget types from typeNames, ensuring Reminders widgets persist across shell restarts, logouts, and reboots.

3. Gallery & Visuals (WidgetVisual.qml, CardWidget.qml, MacDock.qml)

  • Added Reminders to the MacDock widget gallery with Liquid Glass and Normal style choices.
  • Wired cardVisual in WidgetVisual.qml with dynamic dimension bindings for clean scaling across Small, Medium, and Large sizes.

4. Localization (lang/es.js, lang/ru.js)

  • Added translations for "Reminders", "To-do list and checklist", and "New Reminder" in Spanish and Russian.

Testing & Verification

  • Successfully added, repositioned, resized, and removed the Reminders widget via MacDock and desktop edit mode.
  • Tested task checking, adding, inline editing, and deletion.
  • Verified keyboard focus releases properly when switching workspaces in Hyprland.
  • Verified widget persists on the desktop across shell restarts (qs -c MacShell) and reboots.
  • Verified all modified QML files pass syntax validation with qmllint (exit code 0).

- Add interactive Reminders checklist widget with inline editing and sync
- Support persistence in MacWidgets settings and register in MacDock gallery
- Support scaling and glass layout in CardWidget and Desktop
- Add Spanish and Russian translations
MythosOfs added a commit to MythosOfs/MacShell that referenced this pull request Nov 22, 2026
Bring in Debian 13 support, GIF and WebP widgets, animated album art,
karaoke lyrics, System Monitor, optional Genie minimize, floating window
defaults, uptime, WireGuard, the audio hub, Reminders, Spotlight subtraction,
pinned-only Dock mode, tray collapse, and the unified icon grid.

Keep the fork's existing Spotlight screenshot search and Bluetooth status
reader. Sample Dock icons from the existing Image, fetch Apple Music motion
art from its public album page, and reuse MacLock's existing Spotify helper.
Isolate optional lyrics dependencies in a virtual environment.

Upstream: 0-ss#9, 0-ss#10, 0-ss#11, 0-ss#12, 0-ss#14, 0-ss#19, 0-ss#21, 0-ss#28, 0-ss#45, 0-ss#47,
0-ss#49, 0-ss#50, 0-ss#52, 0-ss#53, 0-ss#54.

Co-authored-by: 4sakenme <thienphutrinh4567@gmail.com>
Co-authored-by: Dexul <lcedu.dev@gmail.com>
Co-authored-by: Doffi4 <206447286+Doffi4@users.noreply.github.com>
Co-authored-by: Hrithik Ram Prasath <220790015+hrithikramprasath@users.noreply.github.com>
Co-authored-by: Marian Barba <134831821+MarianC-programing@users.noreply.github.com>
Co-authored-by: Victor Zwaga <victor.zwaga@gmail.com>
Co-authored-by: freroxx <yikni2829@gmail.com>
Co-authored-by: shuretokki <tri.r.utomo@gmail.com>
Co-authored-by: w4nnnn <irwanfebriansyah112@gmail.com>
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