aboutsummaryrefslogtreecommitdiff
path: root/apps/browser-extension/utils/api.ts
diff options
context:
space:
mode:
authorMaheshtheDev <[email protected]>2026-01-18 04:06:36 +0000
committerMaheshtheDev <[email protected]>2026-01-18 04:06:36 +0000
commit3fa72c4ec782cfc84e0df49aa1924b84e4f63889 (patch)
tree7fb0aaf678e995bf15efe088be7c1d7ec716b2b8 /apps/browser-extension/utils/api.ts
parentadd (mcp): projects aware tool on every init (#676) (diff)
downloadsupermemory-3fa72c4ec782cfc84e0df49aa1924b84e4f63889.tar.xz
supermemory-3fa72c4ec782cfc84e0df49aa1924b84e4f63889.zip
feat: fix interaction and improve Design for extension (#679)01-17-feat_fix_interaction_and_improve_design_for_extension
### TL;DR Redesigned the browser extension UI with a dark theme and improved the Twitter bookmarks import experience with a new onboarding flow. ### What changed? - Added a new `RightArrow` icon component for UI navigation - Completely redesigned the popup UI with a dark theme and improved layout - Enhanced Twitter bookmarks import functionality: - Added an onboarding toast that appears the first time a user visits the bookmarks page - Implemented a persistent import intent system that automatically opens the import modal when navigating to the bookmarks page - Created a progress toast to show import status - Improved folder import UI - Updated the extension icon and added a new logo SVG - Improved the project selection modal with better styling
Diffstat (limited to 'apps/browser-extension/utils/api.ts')
-rw-r--r--apps/browser-extension/utils/api.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/browser-extension/utils/api.ts b/apps/browser-extension/utils/api.ts
index b002aff7..1a22af04 100644
--- a/apps/browser-extension/utils/api.ts
+++ b/apps/browser-extension/utils/api.ts
@@ -114,7 +114,7 @@ export async function validateAuthToken(): Promise<boolean> {
/**
* Get user data from storage
*/
-export async function getUserData(): Promise<{ email?: string } | null> {
+export async function getUserData(): Promise<{ email?: string; name?: string } | null> {
try {
return (await userData.getValue()) || null
} catch (error) {