diff --git a/apps/desktop/src/components/editor-area/index.tsx b/apps/desktop/src/components/editor-area/index.tsx
index 0dab6bc90..760e20aae 100644
--- a/apps/desktop/src/components/editor-area/index.tsx
+++ b/apps/desktop/src/components/editor-area/index.tsx
@@ -81,11 +81,12 @@ async function generateTitleDirect(
for (const tagName of suggestedTags.slice(0, 2)) {
try {
- const existingTag = existingTagsMap.get(tagName.toLowerCase());
+ const cleanedTagName = tagName.startsWith("@") ? tagName.slice(1) : tagName;
+ const existingTag = existingTagsMap.get(cleanedTagName.toLowerCase());
const tag = await dbCommands.upsertTag({
id: existingTag?.id || crypto.randomUUID(),
- name: tagName,
+ name: cleanedTagName,
});
await dbCommands.assignTagToSession(tag.id, targetSessionId);
diff --git a/apps/desktop/src/components/editor-area/note-header/chips/share-chip.tsx b/apps/desktop/src/components/editor-area/note-header/chips/share-chip.tsx
index 124308904..29085892f 100644
--- a/apps/desktop/src/components/editor-area/note-header/chips/share-chip.tsx
+++ b/apps/desktop/src/components/editor-area/note-header/chips/share-chip.tsx
@@ -9,11 +9,11 @@ interface ShareChipProps {
export function ShareChip({ isVeryNarrow = false }: ShareChipProps) {
const [open, setOpen] = useState(false);
- const { hasEnhancedNote, handleOpenStateChange } = useShareLogic();
+ const { hasShareableNote, shareTitle, handleOpenStateChange } = useShareLogic();
const handleOpenChange = (newOpen: boolean) => {
setOpen(newOpen);
- if (hasEnhancedNote) {
+ if (hasShareableNote) {
handleOpenStateChange(newOpen);
}
};
@@ -35,7 +35,7 @@ export function ShareChip({ isVeryNarrow = false }: ShareChipProps) {
align="start"
sideOffset={7}
>
- {hasEnhancedNote ?
- Complete your meeting to generate an enhanced note, then share it via PDF, email, Obsidian, and more. + Start taking notes or record a meeting to have content available for sharing via PDF, email, Obsidian, and + more.