From 7faaefee20c29e4f20c2b172d771aa7031435be0 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 18 Jun 2025 15:35:56 +0300 Subject: [PATCH] feat(help): display contextual button text snippets --- apps/client/src/widgets/floating_buttons/help_button.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/client/src/widgets/floating_buttons/help_button.ts b/apps/client/src/widgets/floating_buttons/help_button.ts index e09a2454f..a68cb5711 100644 --- a/apps/client/src/widgets/floating_buttons/help_button.ts +++ b/apps/client/src/widgets/floating_buttons/help_button.ts @@ -56,6 +56,8 @@ export default class ContextualHelpButton extends NoteContextAwareWidget { return byNoteType[note.type]; } else if (note?.hasLabel("calendarRoot")) { return "l0tKav7yLHGF"; + } else if (note?.hasLabel("textSnippet")) { + return "pwc194wlRzcH"; } else if (note && note.type === "book") { return byBookType[note.getAttributeValue("label", "viewType") as ViewTypeOptions ?? ""] }