Commit graph

73 commits

Author SHA1 Message Date
vimzh
494dd25cf8 fix(onboarding): hoist EXA_API_KEY check and return generic 503
Copilot review flagged two things:

1. console.error inside the handler fires on every request when the key
   is missing, which spams logs and can mask other errors. Moved the
   read to module scope so the warning fires once at module load.
2. 'Content extraction service is not configured' tells the client a
   bit too much about deployment state. Reply with a generic 'Content
   extraction is unavailable' instead, while keeping the detailed
   reason in the server log.

Also bumped the status from 500 to 503 since 'service unavailable due
to missing config' is what we are actually telling the client now.
2026-05-24 12:43:12 +05:30
vimzh
cba67a55ed fix(onboarding): fail fast with a clear error when EXA_API_KEY is missing
The route previously fell back to "x-api-key": process.env.EXA_API_KEY ?? "",
so a missing env var produced an outbound call to Exa with an empty key. Exa
returned an auth failure, which was then surfaced to the client as a generic
500 "Failed to fetch content from Exa API" — making missing configuration
indistinguishable from upstream errors and slowing self-hosted setup.

Read EXA_API_KEY once at the top of the handler, log a specific message when
it's absent, and return a 500 with a clear "service is not configured" error.
The downstream fetch now uses the validated, non-empty key directly.
2026-05-24 11:45:05 +05:30
Ishaan Gupta
55558f5562
fix: Implement the onboarding account lookup (#913) 2026-05-11 02:29:15 -07:00
MaheshtheDev
8f6c16de49 chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
MaheshtheDev
6834bc6876 feat: onboarding config, reset onboarding, xai agentic migration (#701)
- Created a new `useOrgOnboarding` hook that uses `org.metadata.isOnboarded` to track onboarding state
- Updated the home page to conditionally use either the old localStorage-based onboarding or the new DB-backed onboarding based on feature flag
- Added a "Restart Onboarding" option in the user dropdown menu
- Improved the onboarding chat sidebar with per-link loading indicators
- Enhanced the X/Twitter research API to better handle different URL formats
- Updated the integrations step to use the new onboarding completion method
- Added `updateOrgMetadata` function to the auth context for easier metadata updates
2026-01-25 01:04:15 +00:00
Dhravya Shah
e7ea26442a (probable fix) 500 error on og endpoint 2026-01-23 18:57:14 -07:00
Dhravya Shah
4ca0f593a5 fix: merge conflicts 2026-01-23 17:42:47 -07:00
Dhravya Shah
35004c474a extract metadata ourselves 2026-01-23 17:39:23 -07:00
MaheshtheDev
8c195cece6 feat: full screen note, space highlights, suggestions (#696)
Added quick note and highlights features to the new UI, improved OG scraping, and implemented Nova alpha access feature flag.
2026-01-23 22:17:44 +00:00
MaheshtheDev
1423bd7004 feat: mobile responsive, lint formats, toast, render issue fix (#688)
- Mobile responsive
- new toast design
- web document render issue fix
- posthog analytics
- ui improvements
2026-01-21 03:11:53 +00:00
MaheshtheDev
59c294b299 feat: deep-research on user profile and tiptap integration (#672)
deep-research on user profile

add novel integration

tiptap 3.x integration
2026-01-15 21:53:53 +00:00
Mahesh Sanikommu
641db19e35
chore: quick bugs squash across the elements and added few more changes (#671) 2026-01-13 17:53:28 -08:00
Mahesh Sanikommu
645f89310c
PR: nova alpha release (#670)
Co-authored-by: Dhravya Shah <dhravya@supermemory.com>
2026-01-13 00:54:56 -08:00
Mahesh Sanikommmu
39003aff23 New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
Dhravya Shah
47904011de Supermemory v2 Release 🚀 2025-01-20 17:50:45 -07:00
MaheshtheDev
1c76bdeefb fix: duplicate content saving data in extension 2024-09-19 13:42:09 -07:00
Dhravya Shah
4bdf40027f fix: telegram bot 2024-08-29 14:31:46 -07:00
Dhravya Shah
6a201de58d
Merge pull request #240 from supermemoryai/telegram-markdown-mode
chore: Update Telegram bot with Markdown Support
2024-08-22 15:58:43 -07:00
MaheshtheDev
893fe194b9 chore: Update Telegram bot with Markdown Support 2024-08-10 17:48:53 -07:00
Dhravya Shah
30d5fb4733 check for ok instead of fuckall 2024-08-09 22:26:26 -07:00
Dhravya Shah
be3e13b4bf merged latest changes with queue branch and ready for prod 2024-08-06 11:05:02 -07:00
Kush Thaker
e4fd7f5aac move limit to backend and thread service binding 2024-08-05 21:25:11 +05:30
Dhravya Shah
a327805a7d calculate how fucked we are 2024-08-03 18:31:55 -07:00
Dhravya Shah
e30e9f4e0b fix: stuff 2024-08-03 16:09:39 -07:00
Dhravya Shah
626ca898e4 handle errors properly 2024-08-03 12:36:57 -07:00
Dhravya Shah
5846c494f3 send a sliced version to the API 2024-08-02 09:44:31 -07:00
Kush Thaker
241276be58 db schema in packages 2024-07-31 11:37:54 +05:30
Dhravya Shah
3e9793436a fixed builds, added friend integration 2024-07-28 19:33:50 -07:00
Dhravya Shah
a3f551e557 merged 2024-07-28 10:58:22 -07:00
Dhravya Shah
78e35e395b lockfile 2024-07-28 09:45:15 -07:00
Dhravya Shah
650237195f
Merge pull request #163 from aryasaatvik/pnpm
pnpm
2024-07-26 12:02:20 -05:00
Saatvik Arya
dcf6b589da format 2024-07-25 20:12:35 -07:00
CodeTorso
a484aed11a
Merge branch 'main' into canvas 2024-07-26 04:08:09 +05:30
Dhravya Shah
c57719446a solve merge conflicts 2024-07-25 17:35:15 -05:00
Dhravya Shah
18dd5e4fd0 onboarding page changes and ratelimiting 2024-07-25 17:30:23 -05:00
Saatvik Arya
d936216070 revert some files 2024-07-25 13:13:58 -07:00
Saatvik Arya
0d422efdff disable telegram 2024-07-25 13:08:40 -07:00
Saatvik Arya
04e57ccf80 address ts issues 2024-07-25 13:08:40 -07:00
codetorso
c7b98a39b8 let's go boys!! canvas 2024-07-25 10:56:32 +05:30
Dhravya Shah
cf1eeb86c3 added ability to use pro mode, to do complex timeseries/location searches 2024-07-22 22:44:18 -05:00
Dhravya Shah
9f315bc21e api routes to make mobile real 2024-07-17 21:14:38 -05:00
Dhravya Shah
c45268d895 test 2024-07-17 20:39:27 -05:00
Dhravya
8652405fbd stuff 2024-07-16 23:51:22 -05:00
Dhravya
5b44dcb1d1 use tabs 2024-07-16 19:26:47 -05:00
Dhravya Shah
abc5d89061 return whole response 2024-07-09 14:06:49 -05:00
Dhravya
6ef746da54 revamped extention 2024-07-04 19:17:51 -05:00
Dhravya
2c6a96e96f spaces function 2024-07-01 20:12:56 -05:00
Dhravya
b00dbd4647 minor changes in extension 2024-07-01 07:55:16 -05:00
Dhravya
ffd141ade4 merge conflicts 2024-06-30 20:50:24 -05:00
codetorso
4d381dd00f canvas (3/3) 2024-07-01 06:08:17 +05:30