Commit graph

31 commits

Author SHA1 Message Date
ved015
67149457ea remove no save memory plugin and fix memory routing 2026-05-23 21:43:46 +05:30
claude[bot]
504490f2a8 fix(web): restore UTF-8 encoding in dashboard-view.tsx
Fix corrupted Unicode characters (⌘, —, ✓, →, ·) that were displaying
as mojibake (⌘, â€", âœ", â†', ·) in the TIPS array and other strings.

Co-authored-by: Ishaan Gupta <ishaanxgupta@users.noreply.github.com>
2026-05-21 10:45:16 +00:00
Ishaan Gupta
5673d4c7ef Merge remote-tracking branch 'origin/main' into feat/personalisation
# Conflicts:
#	apps/web/components/dashboard-view.tsx
#	apps/web/middleware.ts
2026-05-21 16:07:51 +05:30
MaheshtheDev
6448849f77 fix(web): stabilize home recents and improve org plan switcher (#967)
- Keep home Recently saved and suggestions in a stable two-column layout
- Show skeleton while recents load and empty state when none exist
- Cap org switcher dropdown height with scroll for long org lists
- Show plan tier badges on all orgs, sorted by plan rank
2026-05-18 19:36:44 +00:00
Dhravya Shah
ba8eb52b94
Show own space as Your conversations (#956) 2026-05-17 00:15:37 -07:00
Ishaan Gupta
efd25bbd27
add headline sentences for personalisation instead of numeric IDs (#946) 2026-05-16 17:56:05 -07:00
Ishaan Gupta
bc2e043b2b
Implement final responsiveness adjustments and remove mobile banner (#947) 2026-05-16 17:54:49 -07:00
Ishaan Gupta
82c308be49
Merge branch 'main' into feat/personalisation 2026-05-16 18:32:28 +05:30
vorflux
b6913a0375 feat: highlight chat shows inline reply and uses highlight as assistant's first message (#944)
## Summary

Changes the highlight "Chat" button behavior:

- **Before**: Clicking "Chat" immediately opened the chat view with "Tell me more about XYZ" sent as the user's first message
- **After**: Clicking "Chat" reveals an inline reply input right under the highlight card. The user types their response, and when they submit:
  - The highlight content appears as the **assistant's first message** (prefixed with "Here is a highlight from your memories:")
  - The user's reply appears as the second message
  - A fresh chat thread is created (no overwriting existing conversations)

### Files Changed

- **`apps/web/components/highlights-card.tsx`** - Added inline reply input UI with send/cancel buttons, keyboard handling (Enter/Escape), auto-focus, and state reset on item navigation or items refresh
- **`apps/web/components/chat/index.tsx`** - Added `queuedHighlightContent` prop, fresh thread creation for highlight chats, deferred `setMessages` to ensure correct Chat instance targeting, and `awaitingHighlightInjectionRef` for safe reply dispatch
- **`apps/web/app/(app)/page.tsx`** - Added `queuedHighlightContent` state, updated `handleHighlightsChat` to accept highlight content + user reply, cleared stale highlight content in `handleHomeChatStart`
- **`apps/web/components/dashboard-view.tsx`** - Updated `onHighlightsChat` type signature
- **`apps/web/components/memories-grid.tsx`** - Updated `HighlightsProps.onChat` type signature

## Testing

### TypeScript
- `npx tsc --noEmit` — no new type errors (all errors are pre-existing in unrelated files)

### Biome
- `bunx biome check --write` — clean on all changed files (pre-existing warnings only in dashboard-view.tsx)

### Automated Tests (via testing subagent)
- **25 passed / 0 failed / 1 skipped** (26 total)
- Tests covered: inline reply input visibility, keyboard handling (Enter/Escape), reply state reset on navigation, highlight content injection as assistant message, user reply dispatch, fresh thread creation, stale highlight content prevention, pagination dot handler
- The testing agent discovered and fixed a race condition where `setMessages` was called before `useChat` had recreated its internal Chat object after `setFallbackChatId` — the fix defers `setMessages` to a separate effect gated on `currentChatId` matching the target
- 1 test skipped (T12): Nova FAB button not separately visible from highlights card button at 1440px viewport — expected structural behavior

---
**Session Details**
- Session: [View Session](https://supermemory.us1.vorflux.com/agent-sessions/9cbf2106-b7b9-4d7c-b275-2a7e72417793)
- Requested by: Soham Daga (soham@supermemory.com)
- Address comments on this PR. Add `(aside)` to your comment to have me ignore it.
2026-05-16 08:11:08 +00:00
ved015
6fa2a8c70e add support for other plugins 2026-05-15 13:13:31 +05:30
Ishaan Gupta
0ae8200c4f add title in place of name 2026-05-13 21:26:01 +05:30
Ishaan Gupta
bc97cb6862 remove unused imports 2026-05-13 11:15:28 +05:30
Ishaan Gupta
89777ce8b0 add plugin on top and on hover show summary 2026-05-13 11:05:51 +05:30
Ishaan Gupta
44ac45fb53
Merge branch 'main' into feat/personalisation 2026-05-13 10:09:13 +05:30
Ishaan Gupta
da1d6476be add recent section 2026-05-13 10:06:35 +05:30
ved015
5cf770336a fix recent convo and redirect path 2026-05-12 23:16:00 +05:30
claude[bot]
e14e418854 fix: apply Biome formatting to dashboard-view.tsx
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-12 15:46:05 +00:00
Ishaan Gupta
b8d2caee53 Merge branch 'feat/personalisation' of https://github.com/supermemoryai/supermemory into feat/personalisation 2026-05-12 21:05:37 +05:30
Ishaan Gupta
eddd799504 enhance UI of personalisation section 2026-05-12 20:55:55 +05:30
claude[bot]
5259180cce fix lint errors in dashboard-view.tsx
- Replace non-null assertions with nullish coalescing fallbacks
- Rename unused parameter with underscore prefix
- Apply Biome formatting fixes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-12 15:00:23 +00:00
Ishaan Gupta
37a07184bf enhance UI of personalisation section 2026-05-12 20:27:18 +05:30
ved015
f604f96a41 add orgid back removed when testing in local 2026-05-12 19:55:46 +05:30
ved015
5ce1247847 add codex plugin 2026-05-12 19:51:44 +05:30
Mahesh Sanikommu
787fadf648
fix: remove excessive bottom padding below input bar on mobile dashboard (#925) 2026-05-11 20:38:28 +05:30
MaheshtheDev
8f6c16de49 chore: improve the codebase with react doctor (#917) 2026-05-09 19:12:01 +00:00
Ishaan Gupta
45979647c1 fix minor bugs 2026-05-09 21:13:49 +05:30
ved015
72fd8749d3 add user personalization section 2026-05-08 21:35:30 +05:30
MaheshtheDev
54bc618010 chore: more suggestions across the quick actions (#907) 2026-05-07 06:45:48 +00:00
MaheshtheDev
8c8a6e130f feat: nova dashboard improvements with theme (#905)
![image.png](https://app.graphite.com/user-attachments/assets/234115bd-9b60-4d3d-b17c-c27a79dcb2f2.png)
2026-05-06 22:29:22 +00:00
MaheshtheDev
9584d98d6b feat: Unify connections into the Add Memory modal; redesign disconnect dialog (#900)
- Consolidate Drive/Notion/OneDrive management into the Add Memory → Connect tab and remove the standalone `view=connections` page
(deleted `connections-detail.tsx`; redirected the Integrations tile and onboarding spotlight to `?add=connect`).

- Replace the duplicated provider tile row when connections exist with a single `+ Add a connection` dropdown styled to match the
home-page space selector.
- Rebuild the disconnect dialog as a single-decision flow: keep-memories is the default, with an inline `(optional)` checkbox to
also delete imported memories — primary button label/color flips to red when opted in.
- Memory-of-day card now deep-links the source document via `?doc=<id>` instead of just routing to the memories list.
- Refactored the Pro paywall on the connections surface into a focused, contained card matching the rest of the dashboard's visual
language.
2026-05-05 22:33:09 +00:00
MaheshtheDev
68b6c66321 feat: major iteration on the app (#896)
feat: major iteration on the app

add: dashboard improvements

few more improvements

add few more improvements

add few more changes

home improvmeents

few more improvements

add lot of modifications

fix few things
2026-05-02 23:58:58 +00:00