Skip to content

Render D-Bus notification action buttons and inline reply - #4

Merged
MythosOfs merged 1 commit into
mainfrom
feat/notification-actions
Nov 22, 2026
Merged

MythosOfs merged 1 commit into
mainfrom
feat/notification-actions

Conversation

@MythosOfs

Copy link
Copy Markdown
Owner

NotificationServer in MacShell/MacBar.qml advertised actionsSupported: true, but clicking a notification only invoked the "default" action — named actions like Mark as Read, Accept/Decline, or inline replies were never shown.

This adds named D-Bus action pills and an inline reply input (inlineReplySupported: true) to both notification toasts and Notification Center cards, renders D-Bus labels/placeholders as plain text, scopes active replies to the owning monitor with proper layer-shell keyboard focus and auto-dismiss pausing, and clears stale buttons and reply state when notifications close or update in place.

Proof: Ran node tests/test_notification_actions.mjs, node tests/test_spotlight_settings.mjs, node tests/test_extra_widgets.mjs, node tests/test_bluetooth_status.mjs, python3 -m unittest discover -s tests (all green), and qmllint MacShell/MacBar.qml (0 syntax errors).

Reviewed with sol-loop: 4 rounds with gpt-6.2-sol on medium. Sol verdict: approved.
Created with gemini-4-neon-high in T3 Code.

Enable inlineReplySupported on NotificationServer, extract named D-Bus
actions, and render compact action pills plus an inline reply input on
both notification toasts and Notification Center cards. Scope active
replies to the owning screen, pause auto-dismiss while replying, render
D-Bus strings as plain text, and clean up stale actions/reply state on
notification close or in-place update.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@MythosOfs
MythosOfs merged commit 2f8272e into main Nov 22, 2026
MythosOfs added a commit that referenced this pull request Nov 23, 2026
…rmance fixes (#6)

* Add Roadmap #2 Menu Bar & Control Center features, GPU/CPU optimizations, and bug fixes

Implement Real Global Menu (DBusMenu via com.canonical.AppMenu.Registrar) with
nested submenu support and searchable Help menu, Auto-hide Menu Bar
(Never/Full Screen/Always), Alt/Meta+drag reordering and drag-off hiding for
right-side Menu Bar items, macOS Tahoe Live Activities pills, real Focus Modes
with schedules/allowlists/per-Focus wallpapers, and additional Control Center
modules (Keyboard Brightness, Screen Mirroring, AirDrop / Nearby Share).

Gate hidden Control Center, Audio Hub, and SettingsWindow ShaderEffectSource
FBOs on visibility, replace 3s gsettings polling with event-driven gsettings
monitor, compute screen coverage in-process from Hyprland IPC, pause occluded
ClockWidget and idle ClockApp timers, skip stationary ListModel.set() updates,
fix popCount/snapFresh timer leaks, and make windowmgmt.json saves atomic.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Add Roadmap #3 Dock features: Stacks, Left/Right edges, Badges, Recents, Drag & Drop

Implement Dock Folders / Stacks (Fan, Grid, and List popovers), vertical Left
and Right Dock positioning (anchors, Y-axis magnification, desktop footprint),
red macOS notification badges wired to MacBar unread counts + IPC overrides,
persisted Recent Apps section, and file Drag & Drop from Desktop and external
file managers onto any Dock app or folder. Also gate Dock menu glass updates
on visibility.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Add Roadmap #4 Spotlight Tahoe parity: full-text search, Quick Look pane, quick keys, knowledge cards

Upgrade Spotlight file search with assets/spotlight-search.py (ripgrep
full-text content snippets, metadata, PDF excerpts), add a split-view Quick
Look preview pane inside Spotlight, expand Actions with system/window commands,
user-defined spotlightActions, and quick keys (timer/note/remind/focus), and
add inline Knowledge Cards (live currency conversion, dictionary definitions,
weather, and stocks).

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Add Roadmap #5 Notifications, Widgets & Desktop features

Implement Grouped/Stacked Notifications with expandable per-app stacks in
Notification Center, Combined Notification Center + Widgets Sidebar on clock
click, Multi-Monitor Desktop Widgets with per-screen persistence and edit-mode
monitor switching, Desktop Stacks (Kind/Date) with floating stack popover, and
System-Wide Quick Look (QuickLook.qml + Space/IPC triggers).

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Add Roadmap #6 Screenshots, System Dialogs, and missing System Settings panes

Add CaptureSuite.qml (Cmd+Shift+5 Capture Toolbar with countdown delay,
floating screenshot thumbnail after capture, and built-in Canvas Markup
annotation editor), PolkitAuth.qml (Liquid Glass password + fprintd prompt),
SystemDialogs.qml (Force Quit Applications and native tabbed Liquid Glass
Activity Monitor), and all 8 missing System Settings panes (Storage, Privacy
& Security, Accessibility, Login Items, Date & Time, Printers & Scanners,
Sharing, and Software Update) registered in MacDock settingsPanes.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Add Roadmap #7 Ecosystem & Linux Integrations: Continuity, Time Machine, Aerial, Finder

Implement EcosystemApps.qml + Ecosystem.js providing the AirDrop/Continuity &
Phone Mirroring hub (KDE Connect/GSConnect devices, clipboard send, LocalSend,
scrcpy, Desktop share menu), Time Machine visual snapshot browser & restore UI
(Btrfs + Snapper with Timeshift fallback), and Finder Companion (3-column
Miller view, persistent Finder Color Tags, Inspector, Quick Actions). Add
slow-motion Aerial screensavers with smooth unlock freeze in MacLock.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Polish macOS parity across vertical Dock, Desktop Quick Look/Stacks, Menu Bar hide badge, and CaptureSuite

Fix Left/Right Dock outward icon magnification, vertical Liquid Glass backdrop
capture geometry, and side-aligned hover labels/context menus; enable OnDemand
keyboard focus so Space triggers Quick Look on selected Desktop icons; add
layered card stack visuals and count badge to DesktopIcon.qml; show a red Hide
pill when dragging Menu Bar icons off the bar; add swipe-right-to-dismiss on
floating screenshot thumbnails and editable Text tool input in Markup; and add
end-to-end macOS parity verification tests.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Fix runtime and visual issues found by live Hyprland/Quickshell E2E screenshots

- Replace 50 literal float font.pixelSize assignments with integers (Qt6 QML
  fails to load at runtime with "int expected" on literal floats) and add a
  static test guard in tests/test_macos_parity.mjs.
- Fix MacDock.qml width binding loop and bottom-Dock collapse after vertical
  switching by binding dock size to row.implicitWidth/implicitHeight and
  hiding fillFx behind Dock separators.
- Add missing Settings sidebar glyphs (disk, refresh, clock, print) in
  WGlyph.qml and cap SettingsWindow preferredWidth/Height to display bounds.
- Poll live CPU/RAM/Disk/Net directly in SystemDialogs.qml Activity Monitor,
  make its header responsive, and add 2-step confirmation + empty state to
  Force Quit.
- Make Finder Companion columns responsive with a clipped scrollable sidebar,
  check exit codes in Continuity/Time Machine, execute Polkit commands via
  sudo -n, elide long MacLock timer labels, and add capture closeMarkup/dismissThumb IPCs.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Polish vertical Dock scaling, CaptureSuite/QuickLook Dock clearance, Notification Center opacity, and responsive Finder/Activity layouts

Address all visual findings from Claude Opus 5.5 and Codex GPT-6.2 Sol
live-screenshot reviews:
- Scale vertical Left/Right Dock cleanly inside display height and reserve
  top margin for Menu Bar; guard fileUrl() against non-path strings.
- Lift QuickLook, Capture Toolbar, Floating Thumbnail, and Markup Editor
  cleanly above the Dock with opaque surfaces and hover-only thumbnail buttons.
- Add opaque fallback surface and dedicated "Edit Widgets…" pill button to
  the Notification Center + Widgets Sidebar.
- Make Activity Monitor header 2-row responsive and Finder Companion Miller
  columns proportional with wrapped empty inspector copy.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Pin Force Quit confirmation target by app key and PID before SIGKILL

Address Codex GPT-6.2 Sol review finding: capture fqArmedKey/fqArmedPid/fqArmedName
on first click and verify the exact entry is still in runningApps before sending
SIGKILL, avoiding killing a shifted list neighbor if an app closes between clicks.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* Keep Menu Bar full-width with vertical Dock and clear bottom Dock in Finder Companion

Address final Claude Opus 5.5 visual review findings:
- Split the Menu Bar top exclusiveZone onto a dedicated input-empty `barStrut`
  PanelWindow so the visual Menu Bar (`win`) uses ExclusionMode.Ignore and
  always spans 100% monitor width even when a Left/Right Dock reserves an edge.
- Lift Finder Companion above the bottom Dock (`verticalCenterOffset: -24`,
  capped height) and compact its scrollable Favorites/Tags sidebar with a thin
  scroll indicator.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.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