Commit graph

1763 commits

Author SHA1 Message Date
Sreeram Sreedhar
d331f63f0c Clean up onboarding header layout 2026-06-23 21:51:22 -07:00
Sreeram Sreedhar
71154aed50 Remove welcome onboarding account panel 2026-06-23 21:31:04 -07:00
Sreeram Sreedhar
c9bf702272 Scope desktop onboarding state by account 2026-06-23 21:26:24 -07:00
Sreeram Sreedhar
65238152da Match desktop tool cards to Nova source cards 2026-06-23 20:34:56 -07:00
Sreeram Sreedhar
372be108bc Fix desktop login scaling 2026-06-23 18:59:45 -07:00
Sreeram Sreedhar
10e18fc9b8 Use Nova integration cards for desktop tools 2026-06-23 18:55:03 -07:00
Sreeram Sreedhar
1729cc4407 Align desktop UI with Nova 2026-06-23 18:41:41 -07:00
Sreeram Sreedhar
5f29b16685 Remove desktop API key login 2026-06-23 18:24:14 -07:00
Sreeram Sreedhar
bd419f7f20 Build desktop Nova onboarding flow 2026-06-23 18:20:41 -07:00
Sreeram Sreedhar
26afe03765 Add desktop tool onboarding panel 2026-06-23 14:33:03 -07:00
Sreeram Sreedhar
1047485a88 Route desktop dev auth through local API 2026-06-23 14:30:15 -07:00
Sreeram Sreedhar
a800c2a77e Fix desktop OAuth return redirect 2026-06-23 13:34:21 -07:00
Sreeram Sreedhar
33adc849aa Start desktop auth from native login 2026-06-23 13:03:31 -07:00
Sreeram Sreedhar
eff084a1f9 Use Better Auth desktop handoff 2026-06-23 12:37:04 -07:00
Sreeram Sreedhar
889f71ab40 Compact desktop login at smaller window sizes 2026-06-23 10:57:17 -07:00
Sreeram Sreedhar
df8daa1c22 Use Nova agent connect for desktop auth 2026-06-23 10:37:23 -07:00
Sreeram Sreedhar
8fd2b59014 Make desktop login responsive 2026-06-22 23:13:01 -07:00
Sreeram Sreedhar
41c0a9333b Align desktop login with web split layout 2026-06-22 23:02:14 -07:00
Sreeram Sreedhar
d5fddf5611 Use console connect flow for desktop auth 2026-06-22 22:51:38 -07:00
Sreeram Sreedhar
bb2da655ca Match desktop auth page to web login 2026-06-22 22:42:36 -07:00
Sreeram Sreedhar
9cc762c2e4 Add desktop browser auth 2026-06-22 18:06:20 -07:00
Sreeram Sreedhar
d20026a28a Add desktop AI tool connectors 2026-06-22 17:47:44 -07:00
Sreeram Sreedhar
7249b287e9 Add desktop SMFS integration 2026-06-22 17:38:06 -07:00
Sreeram Sreedhar
1b7f59f88b Add spotlight shortcut and menu bar controls 2026-06-22 17:07:33 -07:00
Sreeram Sreedhar
53c10e2126 Add native desktop spotlight search 2026-06-22 16:58:17 -07:00
Sreeram Sreedhar
ce8c960586 Refine desktop home composer layout 2026-06-22 16:53:01 -07:00
Sreeram Sreedhar
5254421ea5 Rename desktop app package to supermemory 2026-06-22 16:53:01 -07:00
Sreeram Sreedhar
5d7dc85886 Match desktop shell to web dashboard 2026-06-22 16:52:55 -07:00
Sreeram Sreedhar
9cd894a8f2 Open desktop search results in preview 2026-06-22 16:19:40 -07:00
Sreeram Sreedhar
dd56682f27 Add desktop recent memories view 2026-06-22 16:17:45 -07:00
Sreeram Sreedhar
577206aa19 Prefer desktop API URL for auth 2026-06-22 16:11:41 -07:00
Sreeram Sreedhar
aed9606963 Cache desktop auth token after dev login 2026-06-22 16:10:13 -07:00
Sreeram Sreedhar
63d33f03a0 Fix desktop dev auth setup 2026-06-22 16:09:20 -07:00
Sreeram Sreedhar
93ec22555c Add real desktop memory search 2026-06-22 15:23:10 -07:00
Sreeram Sreedhar
5bd0682213 Wire desktop dev key login 2026-06-22 15:23:10 -07:00
Sreeram Sreedhar
00b91becfd Add native desktop auth commands 2026-06-22 15:19:50 -07:00
Sreeram Sreedhar
8b24010ac7 Add required desktop icon assets 2026-06-22 15:19:41 -07:00
Sreeram Sreedhar
4def158714 routing & app shell 2026-06-21 23:27:52 -07:00
Sreeram Sreedhar
6a4d59ccf5 initial commit 2026-06-21 22:13:57 -07:00
MaheshtheDev
cf47d73126 feat(onboarding): instrument brain onboarding analytics (#1099)
Wire PostHog funnel events (started, step viewed/completed, mode, workspace, sources, ingest, team, completed) across the brain onboarding flow, and drop stale pre-brain event defs from analytics.ts.

---
**Session Details**
- Session: [View Session](https://supermemory.us1.vorflux.com/agent-sessions/5b48bbe4-422a-4577-b6bf-fd9416a6846b)
- Requested by: Sreeram Sreedhar (sreeram@supermemory.com)
- Address comments on this PR. Add `(aside)` to your comment to have me ignore it.
2026-06-20 07:48:15 +00:00
ved015
c6b20b5b87 Fix delete organization dialog focus race (#1139)
## Summary
- Delay opening the delete organization dialog until after the Danger zone popover begins closing
- Explicitly focus the organization confirmation input when the dialog opens
- Prevent intermittent focus loss where users could not type the org name
2026-06-19 17:46:21 +00:00
sreedharsreeram
313a8df6a6 feat(web): show import status on X bookmarks integration card (#1130)
## What

The X bookmarks ("Import X bookmarks") card on the integrations page never reflected any state, even after importing tweets — unlike connectors and plugins, which show "Connected"/"Active".

After this change, once you've imported at least one tweet the card shows an **"Imported · {last import time}"** pill (mirroring the plugin "Active · {time}" style) and is included in the **Connected** filter.

Since importing X bookmarks is a one-time/occasional action rather than a live connection, it intentionally says **"Imported"** with the last-import timestamp, not "Connected".

## Why

The page's status logic (`isItemConnected` + `renderStatus`) only handled the `plugin` and `connector` item kinds. The X bookmarks card is an `import` kind, so it always rendered just "Connect". This was a regression from #979 (the integrations overhaul), which rebuilt the page around item kinds and dropped the previous "{N} tweets imported" indicator.

## How

- Add a single documents query (`@post/documents/documents`, `categories: ["tweet"]`, `limit: 1`, newest first) that yields both the org-wide tweet count (`pagination.totalItems`) and the latest tweet's `createdAt`.
- `isItemConnected` returns `true` for `import` when the count is `> 0`.
- `renderStatus` renders a new `ImportedPill` ("Imported · {relative time}") for `import` when there's ≥1 tweet.

## Testing

- `tsc` and Biome pass; no new errors introduced by this change.
- Verified the status source of truth against a local backend by seeding `type='tweet'` documents — the count/latest-timestamp the pill renders reflect them.

> Note: `tsc` reports two **pre-existing**, unrelated `granola` errors in this file (`CONNECTOR_META` + an icon record missing the `granola` provider). They exist on `main` and are not touched by this PR.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-06-18 04:43:06 +00:00
sohamd22
9017a1b5d4 add weekly digests, log, and opt out options (#1107)
### TL;DR

Adds a Weekly Digests view to the web app, allowing users to browse and read their personalized weekly memory recaps directly in the UI, along with a notification preference toggle to opt out of digest emails.

### What changed?

- Added a new `digests` view mode that renders a `DigestsView` component, accessible from the dashboard via a new weekly digest preview card that appears when a digest exists.
- `DigestsView` displays a master-detail layout: a scrollable list of past weekly digests on the left, and a full digest content pane on the right. The detail pane renders the intro (with a floating brain illustration), numbered highlights, and feature recommendations styled to mirror the email layout.
- Added thumbs-up/thumbs-down feedback controls and an optional free-text input on each digest, wired to analytics events.
- Added `useDigests` and `useDigest` hooks that fetch digest list and detail data from the API, with 5- and 10-minute stale times respectively.
- Registered four new API schema endpoints: `GET /digests`, `GET /digests/:id`, `GET /digests/preferences`, and `POST /digests/preferences`.
- Added a `DigestPreferences` section to the account settings page with a toggle that lets users opt in or out of the weekly digest email.
- Extended the `viewModeChanged` analytics event and the `viewLiterals` search param list to include `"digests"`, and added `digestViewed`, `digestFeedback`, and `digestFeedbackDetail` analytics events.
- Added documentation for the `SUPERMEMORY_EMBEDDING_RAM_LIMIT` and `SUPERMEMORY_INGEST_CONCURRENCY` environment variables, explaining the memory-bounded ingestion queue and its live terminal status output.

### How to test?

1. Navigate to the dashboard and confirm the weekly digest preview card appears when a digest exists, and clicking it transitions to the `digests` view.
2. In the digests view, verify the list renders past digests with the most recent highlighted by a gradient border, and selecting a row loads the correct detail content.
3. Confirm the empty state renders correctly when no digests exist.
4. Use the thumbs-up/thumbs-down buttons and the detailed feedback textarea on a digest, verifying the toast confirmation appears on submission.
5. Open account settings, locate the "Notifications" section, and toggle the weekly digest switch on and off, verifying the preference persists without errors.
6. Confirm the `digests` view mode is reflected in the URL search params when active.

### Why make this change?

Users currently receive weekly digest emails but have no way to revisit past digests within the app. This change surfaces digest history directly in the UI, adds in-product feedback collection on digest quality, and gives users control over whether they receive the emails — improving discoverability, engagement, and preference management.
2026-06-18 01:06:40 +00:00
sreedharsreeram
d4a3a57a42 fix(web): remove duplicate "Connected" text on connector cards (#1131)
## Problem
On the integrations page → **Knowledge bases** section, a connected connector card (e.g. Google Drive) rendered the green **"Connected"** pill **twice** — once on the bottom-left, and again on the bottom-right next to the `+` button.

## Cause
The `ConnectionsCountPill` was rendered in two slots of the card:
- `renderStatus()` → left `statusSlot`
- `renderRight()` → right `actionSlot` (alongside the `+` add-source button)

The `renderStatus` connector case was added recently (#1065) and duplicated the pill that `renderRight` already shows.

## Fix
Removed the `connector` case from `renderStatus()` so the pill renders **only on the right**, in place of the Connect button. The logic is keyed on `kind === "connector"`, so this fixes every Knowledge-bases card uniformly — **Google Drive, Notion, OneDrive, Granola**.

- Non-connected cards still show the **Connect** button (unchanged).
- The info modal is unaffected — it renders `infoActionSlot ?? actionSlot` and never `statusSlot`.

```diff
-			case "connector": {
-				const count = connectionsByProvider[item.provider].length
-				if (count <= 0) return null
-				return <ConnectionsCountPill count={count} />
-			}
 			default:
 				return null
```

## Testing
Minimal, self-contained deletion (no new code, no unused symbols). Local `tsc` not run in this worktree because `node_modules` isn't installed here; the change leaves valid syntax and `ConnectionsCountPill`/`connectionsByProvider` remain used by `renderRight`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-06-17 18:07:25 +00:00
sreedharsreeram
00d481e8c0 Move Granola connector to Pro plan (#1132)
## Summary
- move Granola from Max-gated to Pro-gated in Nova integrations and add-connection flows
- add Granola to Pro plan card connector copy in billing
- update Granola connector docs to say Pro Plan or higher

## Testing
- bunx biome check apps/web/components/settings/billing.tsx apps/web/components/integrations-view.tsx apps/web/components/add-document/connections.tsx apps/docs/connectors/granola.mdx
- git diff --check

Note: onboarding-brain was intentionally left unchanged.
2026-06-17 17:48:04 +00:00
MaheshtheDev
def847af5f Revert "fix(mcp): clarify memory graph pagination (#1032)" (#1133)
This reverts commit feca81f69e.
2026-06-17 17:16:22 +00:00
icyzh
f833843760
fix(openai-sdk): use AsyncSupermemory and correct client API calls (#1063)
Some checks failed
Publish OpenAI SDK Python / publish (push) Has been cancelled
2026-06-17 09:05:11 -07:00
Rin
f7e97e0233
fix(web): strengthen URL validation and redirect handling in OG scraper (#1059) 2026-06-17 20:28:24 +05:30
Rāna(Bass Ver.)
feca81f69e
fix(mcp): clarify memory graph pagination (#1032)
Co-authored-by: Vedant Mahajan <vedant.04.mahajan@gmail.com>
2026-06-17 18:38:19 +05:30
nyxst4ck
6a4e0b2514
docs: quote pip extras install examples (#1039)
Co-authored-by: nyxst4ck <289980115+nyxst4ck@users.noreply.github.com>
2026-06-16 23:30:41 -07:00