Ryan Hughes 020cb537c7 Dedupe notifications by id and persist history to ~/.local/state
Chat apps (Vesktop, etc.) can rapid-fire the same Notify D-Bus call when
they sync, leaving the pending tab with hundreds of byte-identical rows
because the old handler appended unconditionally and never re-entered the
`markSeenByOriginalId` path for follow-up arrivals.

  - addToPending + popup-insert now remove any existing row matching the
    same `originalId` before insertion, honoring the freedesktop
    "replaces_id" semantics that chat apps rely on.
  - loadHistory dedupes by originalId on hydration, so existing on-disk
    files with the old duplicate-laden schema collapse on next start.
  - loadHistory also guards against re-entry: FileView fires onLoaded
    more than once during startup (initial preload + Component.onCompleted
    reload), and the old version would double the model each fire.

While in here, move the persistent notifications.json out of `~/.cache`
to `~/.local/state/omarchy` so a "clear cache" habit no longer drops
DND preference and notification history. The image thumbnail cache stays
in ~/.cache where regeneratable artifacts belong.
2026-05-14 16:31:47 -04:00
2025-11-03 10:50:54 +01:00
2026-05-14 02:25:05 -04:00
2026-05-08 16:36:46 +02:00
2026-05-11 10:39:22 -04:00
2025-10-07 18:17:47 +02:00
2026-05-11 10:39:22 -04:00
2025-09-13 18:02:07 +02:00
2025-06-30 16:42:09 -07:00
2025-07-28 09:32:44 +02:00
2025-07-26 10:02:29 -07:00
2025-10-23 07:34:11 -07:00
2026-05-06 16:52:44 +02:00

Omarchy

Omarchy is a beautiful, modern & opinionated Linux distribution by DHH.

Read more at omarchy.org.

License

Omarchy is released under the MIT License.

S
Description
OmarchyCN — China-native, AI-first Omarchy downstream distribution (based on basecamp/omarchy, quattro baseline)
Readme MIT
239 MiB
Languages
Shell 57.3%
QML 31.2%
JavaScript 4.1%
Python 2.9%
Go Template 2.5%
Other 2%