From 098e56a8950efbef79e551e12622ae7c8cd90c03 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sat, 8 Nov 2025 18:52:30 +0000 Subject: feat(extension): Allow writing notes directly in the extension (#2104) * feat(extension): add notes editor to bookmark hoarded screen Adds the ability to directly add and edit notes for bookmarks in the browser extension's hoarded screen (the page shown after saving a bookmark). Changes: - Created Textarea UI component for the browser extension - Created NoteEditor component that uses useUpdateBookmark hook - Added Notes section to BookmarkSavedPage, displayed between the header and tags - Notes auto-save when the user clicks away from the textarea (onBlur) - Shows saving state and error messages to the user This brings feature parity with the web app's notes functionality. * add explicit button * more fixes --------- Co-authored-by: Claude --- .../src/components/ui/textarea.tsx | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 apps/browser-extension/src/components/ui/textarea.tsx (limited to 'apps/browser-extension/src/components/ui/textarea.tsx') diff --git a/apps/browser-extension/src/components/ui/textarea.tsx b/apps/browser-extension/src/components/ui/textarea.tsx new file mode 100644 index 00000000..6651e331 --- /dev/null +++ b/apps/browser-extension/src/components/ui/textarea.tsx @@ -0,0 +1,23 @@ +import * as React from "react"; + +import { cn } from "../../utils/css"; + +export type TextareaProps = React.TextareaHTMLAttributes; + +const Textarea = React.forwardRef( + ({ className, ...props }, ref) => { + return ( +