Order a role's buttons ▼ ● ▲ ★ and like a role when it is saved

The company control follows as ⊘ ▲ ★, so like and favourite sit together.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-30 21:06:11 +02:00
1 parent bf6ef72b15
commit 17e7615599
5 files changed
+18 -12

No files matched your search

+4 -3
View File
@@ -136,11 +136,12 @@
pressing the one that is already pressed is how a company gets back to
it. "Hidden" is the word for -1 everywhere the UI names it, even though
the code and the API keep `mute`/`hide_muted` — a rename in the store
and CLI is a separate, larger change than this control. */
and CLI is a separate, larger change than this control. Low to high, as
the role's ▼ ● ▲ ★, so like and favourite sit together on the right. */
const AFFINITY_LEVELS = [
{ value: 2, icon: "★", label: "Favourite" }, // ★
{ value: 1, icon: "▲", label: "Like" }, // ▲
{ value: -1, icon: "⦸", label: "Hidden" }, // ⊘
{ value: 1, icon: "▲", label: "Like" }, // ▲
{ value: 2, icon: "★", label: "Favourite" }, // ★
];
/* `onChange` runs after the server accepted the change, so each page