From bb86c7499557422e46125068513981ec6f82cf5b Mon Sep 17 00:00:00 2001 From: Factor Date: Thu, 19 Nov 2026 17:56:45 +0100 Subject: [PATCH] feat: New button label instead of the + icon in the dock Co-Authored-By: Claude Sonnet 5.5 --- herdr/herdr-composer/mods/herdr-composer/main.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/herdr/herdr-composer/mods/herdr-composer/main.js b/herdr/herdr-composer/mods/herdr-composer/main.js index 8430a76..b5df813 100644 --- a/herdr/herdr-composer/mods/herdr-composer/main.js +++ b/herdr/herdr-composer/mods/herdr-composer/main.js @@ -1366,19 +1366,19 @@ export default class Composer extends View { renderAddButton(t, active) { const icon = div() .id("composer-dock-add") - .size(28) - .rounded(999) + .h(28) + .px(11) + .rounded(8) .flex_none() .flex() .items_center() - .justify_center() .bg(t.chrome) - .text_size(15) + .text_size(12) .text_color(active ? t.muted : t.dim) .cursor_pointer() .hover((s) => s.bg(t.hover).text_color(t.foreground)) .tooltip("Dodaj przycisk do docka") - .child("+"); + .child("New button"); if (!active) return icon; const open = this.contextMenu?.kind === "add"; return Popover.new("composer-dock-add-menu") @@ -3042,7 +3042,7 @@ export default class Composer extends View { if (this.dock.length === 0) { return row .child(add) - .child(div().flex_none().text_size(12).text_color(t.dim).child("Plus lub prawy klik w Ulubionych → Przypnij do docka")); + .child(div().flex_none().text_size(12).text_color(t.dim).child("„New button” lub prawy klik w Ulubionych → Przypnij do docka")); } return row.children([add, ...this.dock.map((button) => this.renderDockButton(t, button, active))]); }