Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 7faaefe

Browse files
committed
feat(help): display contextual button text snippets
1 parent 578310a commit 7faaefe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/client/src/widgets/floating_buttons/help_button.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ export default class ContextualHelpButton extends NoteContextAwareWidget {
5656
return byNoteType[note.type];
5757
} else if (note?.hasLabel("calendarRoot")) {
5858
return "l0tKav7yLHGF";
59+
} else if (note?.hasLabel("textSnippet")) {
60+
return "pwc194wlRzcH";
5961
} else if (note && note.type === "book") {
6062
return byBookType[note.getAttributeValue("label", "viewType") as ViewTypeOptions ?? ""]
6163
}

0 commit comments

Comments
 (0)