Commit graph

44 commits

Author SHA1 Message Date
Ishaan Gupta
e7144407f5
perf(lib): optimize subscription status lookup to O(n) (#848) 2026-04-12 15:47:45 -07:00
MaheshtheDev
8405305c50 feat(nova): delete account with all orgs (#821) 2026-04-03 02:29:25 +00:00
Prasanna721
c012f3b5c4 fix stale session cookie (#823)
- redirect to login when session is gone instead of blank screen
- show cached username while session restores so header doesn't flicker
- cleaned up redundant type casts and unused vars
2026-04-03 01:55:24 +00:00
MaheshtheDev
9473d64c1d chore(nova): loader on initial data load (#817)
![image.png](https://app.graphite.com/user-attachments/assets/ceb237ae-b8f5-479d-9d77-1ba719799ade.png)
2026-03-31 21:36:42 +00:00
Prasanna721
694ad8123a fix: remove useQuery wrapper around synchronous billing checks (#805)
#### fix: billing subscription status race condition

 - **Bug fix**: Replaced `fetchSubscriptionStatus` (useQuery wrapper) with `getSubscriptionStatus` (pure function) — fixes intermittent "Upgrade to Pro"
  failures caused by stale cached billing state
  - **Anti-pattern**: Removed `fetchConnectionsFeature` useQuery wrapper, replaced with direct `autumn.customer?.features?.connections` read
  - **Dead code**: Removed unused `useMemoriesUsage` hook and `fetchMemoriesFeature`
2026-03-26 05:29:53 +00:00
MaheshtheDev
fe5d16509a feat: ensure workspace created on nova new account (#798)
Added workspace management to the onboarding flow with automatic organization creation and workspace validation throughout the app.

### What changed?

- Wrapped the app layout with an `EnsureWorkspace` component that redirects users without organizations to onboarding
- Enhanced the welcome page to automatically create an organization with a generated slug when users complete their name input
- Expanded the auth context to track organizations list, restoration state, and provide organization refetching capabilities
- Added utility functions for generating unique organization slugs and usernames from display names
- Implemented proper organization restoration logic that handles saved preferences and multiple organization scenarios
2026-03-24 18:17:21 +00:00
Prasanna721
55ef8ab899 fix: billing gate broke for scale/enterprise and downgraded users (#794)
The subscription check on plugins, connections, and usage pages was hardcoded to only look at `api_pro`. Users on scale or enterprise plans saw "Upgrade to Pro" and couldn't create plugin keys or manage connections.

Also, the check only looked at product `status` but not the `allowed` flag from autumn — so users who downgraded but were still in their billing period got locked out early.
2026-03-22 16:05:08 +00:00
MaheshtheDev
c534008001 feat: delete connection without removing the documents (#778)
- Deleting Connection without removing documents
- Updating the Docs with new param
2026-03-17 23:21:36 +00:00
MaheshtheDev
84d0fb802a feat: bulk delete documents in nova app (#777)
![image.png](https://app.graphite.com/user-attachments/assets/aacbb007-cb5e-400c-a21e-f08a54320154.png)
2026-03-10 15:29:25 +00:00
MaheshtheDev
3d916d038f chore: chrome extension url fixes (#759) 2026-03-07 04:59:37 +00:00
Dhravya Shah
1afb90145d
😭 fixing builds (#767) 2026-03-05 19:26:05 -08:00
Dhravya Shah
fca026d07a trying something else 2026-03-05 14:49:48 -08:00
Dhravya Shah
4250562824 Merge branch 'main' of https://github.com/supermemoryai/supermemory 2026-03-05 08:29:43 -08:00
Dhravya Shah
bf92ad93a7 proper tracking 2026-03-05 08:29:26 -08:00
SyedaAnshrahGillani
5d9e142596
refactor: optimize polling and improve optimistic update stability (#753)
Co-authored-by: Syeda Anshrah Gillani <Gillani@cloudment.io>
2026-03-03 19:01:25 -08:00
Dhravya Shah
3a36a673bf fix: posthog 2026-02-26 11:12:38 -08:00
Dhravya Shah
0c46362505 fix: properly attribute revenue with posthog 2026-02-25 18:28:13 -08:00
Prasanna721
15613c2421 feat: change "All Spaces" to "Nova Spaces" with multi-select support (#731)
### Implemented nova spaces multi-select

  ##### Summary
  - Renamed "All Spaces" to "Nova Spaces" - now filters to only nova content (sm_project_*)
  - Added multi-select spaces support via "Select Spaces" modal
  - Projects API now returns `{ nova, developer }` instead of `{ projects }`

  ##### Changes
  - `selectedProject` → `selectedProjects[]` (array-based selection)
  - New `SelectSpacesModal` component for picking multiple spaces
  - Selected spaces appear at top in modal
  - Search works by containerTag
  - Graphs filter by selected spaces
2026-02-13 21:34:58 +00:00
Dhravya Shah
e22490f6de hardcode posthog key 2026-02-12 16:19:17 -08:00
Prasanna721
11a0abd5c0 feat: migrate to api_pro billing and add credits-based usage display (#729)
Summary

  - Migrate from consumer_pro to api_pro billing product across the app
  - Enable Nova app for all users (remove feature flag)
  - Add credits-based usage tracking with tokens abstraction
2026-02-10 05:53:47 +00:00
MaheshtheDev
bee8b12e66 feat: allow api orgs to nova app (#728) 2026-02-09 23:36:52 +00:00
nexxeln
9553434c9a mastra integration (#717)
adds withSupermemory wrapper and input/output processors for
mastra agents:

- input processor fetches and injects memories into system prompt
before llm calls
- output processor saves conversations to supermemory after
responses
- supports profile, query, and full memory search modes
- includes custom prompt templates and requestcontext support

const agent = new Agent(withSupermemory(
{ id: "my-assistant", model: openai("gpt-4o"), instructions:
"..." },
"user-123",
{ mode: "full", addMemory: "always", threadId: "conv-456" }
))

includes docs as well

this pr also reworks how the tools package works into shared modules
2026-02-03 00:43:08 +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
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
731808be68 feat: create space, delete spaces and emoji picker (#687)
### Add user display name functionality and enhance space management with emoji support and deletion capabilities.

### What changed?

- Added support for user display names, which are now stored and displayed throughout the app
- Implemented emoji support for spaces (projects), allowing users to customize their space icons
- Created a new `AddSpaceModal` component with emoji picker for creating spaces
- Added space deletion functionality with options to move content to another space or delete everything
- Enhanced the space selector UI to show emojis and delete options
2026-01-20 17:03:22 +00: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
MaheshtheDev
a88525feb0 fix: org switch issue on consumer when dev org exists (#577) 2025-11-11 19:10:13 +00:00
MaheshtheDev
2ed7ba8808 fix: past due pending users improvements (#572) 2025-11-10 20:47:00 +00:00
MaheshtheDev
10ada4a1e2 fix(web): sentry issues across the web app (#570)
Fixes all following sentry issues
- CONSUMER-APP-FF
- CONSUMER-APP-1T
- CONSUMER-APP-86
- CONSUMER-APP-7H
- CONSUMER-APP-4F
- CONSUMER-APP-7X
2025-11-09 07:32:52 +00:00
Saksham Kushwaha
cccb35160d
feat: optional posthog intialization (#525) 2025-10-27 16:10:15 -07:00
MaheshtheDev
6a47cd9763 chore: skip the conditional org switch for better auth state share (#533) 2025-10-27 20:38:45 +00:00
MaheshtheDev
3ca82e7116 fix: auto switch to expected org (#522) 2025-10-25 23:27:12 +00:00
MaheshtheDev
163c9daca7 feat(raycast-extension): initial version of supermemory extension for raycast (#440)
feat(raycast-extension): initial version of supermemory extension for raycast

chore: update the metadata and ui for app to get api key

![supermemory-1.png](https://app.graphite.dev/user-attachments/assets/631a865e-8d7b-43df-8753-480f6b80a6d8.png)

![supermemory-2.png](https://app.graphite.dev/user-attachments/assets/956fff54-5447-4feb-a88b-8b465d4cda68.png)
2025-10-02 16:22:56 +00:00
MaheshtheDev
b148296f50 feat: layout design with theme improvements (#443)
feat: layout design with theme improvements

new improvements on light mode layout

chore: settings page with graph header and memories list
2025-10-01 21:59:54 +00:00
alexf37
ede0f39303 feat: new onboarding flow (#408)
This is the onboarding flow that you have all seen in my demo.
2025-10-01 21:59:53 +00:00
MaheshtheDev
8c92aad6a7 Update ADD_MEMORY_SHORTCUT_URL to new URL (#434) 2025-09-23 21:08:55 +00:00
Dhravya Shah
27ea75b4a2 change /memories to /documents, remove unwanted dependency, biome format 2025-09-15 19:02:24 -07:00
MaheshtheDev
82eb173635 ui: delete document and related memories dialog (#420) 2025-09-13 22:27:50 +00:00
MaheshtheDev
96f1a97fd6 feat: pro subscriber email config (#417) 2025-09-10 03:33:45 +00:00
Mahesh Sanikommu
8f3b2bed1e
Merge pull request #384 from supermemoryai/08-24-feat_ui_integrations_page_with_shortcuts_auto_api_key_generation
feat (ui): Integrations page with shortcuts & auto API Key generation
2025-08-28 14:30:21 -07:00
Alex Foster
8da19c977e
feat: add 'last used' badge to login page (#387) 2025-08-25 14:37:14 -07:00
Mahesh Sanikommmu
bba2bf09f1 added connections as well to integrations view 2025-08-25 12:15:19 -07:00
Mahesh Sanikommu
9e1e392a2b
Enhanced Text Editor and format fixes with biome (#371) 2025-08-21 08:40:44 -07:00
Mahesh Sanikommmu
39003aff23 New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00