feat(logs): narrate what pacman and flatpak really run
Changing screen is not an operation, and a navigation line per click buried the entries that matter. Providers now narrate the work itself instead: the exact command, the fallbacks and the counts, through a Qt-free trace sink that reaches the journal only, so the status bar stays short.
This commit is contained in:
8 files changed
+157
-48
No files matched your search
@@ -23,11 +23,13 @@
|
||||
// [2026-09-23 14:22:10] ⟶ terminé
|
||||
//
|
||||
// - an *event* is a one-line note about something that is not a shelled
|
||||
// command: navigation, a search, a plugin toggle, a network fetch, a refused
|
||||
// request...
|
||||
// command: a search, a plugin toggle, a network fetch, a refused request...
|
||||
// Screens deliberately do not narrate navigation: a line per click buries
|
||||
// the ones that matter.
|
||||
//
|
||||
// [2026-09-23 14:22:02] [ui] navigation → recherche
|
||||
// [2026-09-23 14:22:03] [recherche] "firefox" → 12 résultat(s)
|
||||
// [2026-09-23 14:22:02] [recherche] "firefox" → 12 résultat(s)
|
||||
// [2026-09-23 14:22:03] [pacman] $ sudo pacman -S --noconfirm firefox
|
||||
// [2026-09-23 14:22:03] [flatpak] $ flatpak update --appstream
|
||||
//
|
||||
// Every Qt log message (qCDebug/qCInfo/qCWarning/qCCritical) is funnelled into
|
||||
// the same journal by installQtMessageHandler(), so the categories already used
|
||||
|
||||
Reference in new issue
Block a user