feat: implement client backend

This includes temporary AI-generated frontend scaffolding, none of this will be used in production. It was just used during development for the backend.
This commit is contained in:
2026-10-09 19:46:02 +01:00
parent 88a64768a2
commit 5eb47e45ef
49 changed files with 3576 additions and 17 deletions
+24
View File
@@ -0,0 +1,24 @@
/// TEMPORARY AI GENERATED FRONTEND \\\
/// NOT TO BE USED IN PRODUCTION \\\
import { Theme } from "../theme.slint";
// Red mention counter ("3", "99+").
export component Badge inherits Rectangle {
in property <int> count;
visible: count > 0;
height: 16px;
width: max(16px, label.preferred-width + 10px);
border-radius: 8px;
background: Theme.danger;
label := Text {
text: root.count > 99 ? "99+" : "\{root.count}";
color: white;
font-size: 11px;
font-weight: 700;
horizontal-alignment: center;
vertical-alignment: center;
}
}