ui: a badge bar with a Trigger badge, and the trigger form in the slide-over

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Martino FerrariandClaude Opus 4.6 committed 2026-11-02 20:12:16 +01:00
1 parent a40863fa45
commit 5fb479bd69
9 files changed
+215 -7

No files matched your search

+2 -2
View File
@@ -140,7 +140,7 @@ bool slideover_open(App& app, const std::string& id) {
}
gtk_widget_set_can_target(s.revealer, TRUE);
gtk_revealer_set_reveal_child(GTK_REVEALER(s.revealer), TRUE);
// task 2: sync_badge_bar(app);
sync_badge_bar(app);
return true;
}
@@ -150,7 +150,7 @@ void slideover_close(App& app) {
s.page.clear();
gtk_widget_set_can_target(s.revealer, FALSE);
gtk_revealer_set_reveal_child(GTK_REVEALER(s.revealer), FALSE);
// task 2: sync_badge_bar(app);
sync_badge_bar(app);
}
bool slideover_toggle(App& app, const std::string& id) {