Commit graph

683 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
eb17850274 chore: linting 2026-04-02 19:45:28 -07:00
DESKTOP-RTLN3BA\$punk
62e698d8aa refactor: streamline document upload limits and enhance handling of mentioned documents
- Updated maximum file size limit to 500 MB per file.
- Removed restrictions on the number of files per upload and total upload size.
- Enhanced handling of user-mentioning documents in the knowledge base search middleware.
- Improved document reading and processing logic to accommodate new features and optimizations.
2026-04-02 19:39:10 -07:00
Rohan Verma
c70f3338dd
Merge pull request #1078 from SohamBhattacharjee2003/perf/defer-search-params-reads
perf: add content-visibility: auto to long list items
2026-04-01 22:19:41 -07:00
Rohan Verma
23a8248c5e
Merge pull request #1077 from SohamBhattacharjee2003/perf/content-visibility-auto-lists
perf: content visibility auto lists
2026-04-01 22:18:23 -07:00
SohamBhattacharjee2003
767c97682d perf: replace useSearchParams() with window.location.search in effects
Components were calling useSearchParams() at the top level but only
reading the value inside useEffect or callbacks, never in JSX. This
subscribed the entire component tree to every URL query change.

Fix: read from window.location.search directly inside the effect so
no React subscription is created.

Changes:
- new-chat/page.tsx: read commentId inside effect + popstate listener
  for SPA back/forward support; removes subscription from 1500+ line tree
- dashboard/page.tsx: read window.location.search at redirect time;
  removes searchParams from dep array
- public-chat-footer.tsx: one-shot mount read for action=clone param
- TokenHandler.tsx: one-shot mount read for token + refresh_token params

Implements Vercel React Best Practices Rule: rerender-defer-reads (5.2)
2026-04-02 02:45:46 +05:30
SohamBhattacharjee2003
ae3b69443f perf: add content-visibility: auto to long list items
Apply content-visibility: auto to off-screen list and sidebar items
to skip browser layout and painting until they scroll into view.

Changes:
- globals.css: add .list-item-lazy (48px) and .sidebar-item-lazy (40px) utilities
- DocumentsTableShell: apply list-item-lazy to desktop <tr> rows and mobile card divs
- AllPrivateChatsSidebar: apply sidebar-item-lazy to thread items
- AllSharedChatsSidebar: apply sidebar-item-lazy to thread items
- InboxSidebar: apply content-visibility inline (80px intrinsic height) to inbox items

Implements Vercel React Best Practices Rule: rendering-content-visibility (6.2)
2026-04-02 02:26:55 +05:30
JoeMakuta
03a24686fe feat: implement map and find optimization 2026-04-01 18:47:57 +02:00
DESKTOP-RTLN3BA\$punk
5c8769508f chore: linting 2026-03-31 21:42:03 -07:00
DESKTOP-RTLN3BA\$punk
a9fd45844d feat: integrate Stripe for page purchases and reconciliation tasks 2026-03-31 18:39:45 -07:00
DESKTOP-RTLN3BA\$punk
17642493eb chore: linting 2026-03-31 14:45:46 -07:00
CREDO23
1aeb5ba645 Merge remote-tracking branch 'upstream/dev' into feature/prompt-library 2026-03-31 22:41:53 +02:00
CREDO23
440762fb07 Merge upstream/dev 2026-03-31 20:21:12 +02:00
CREDO23
950be8e17d Fix review issues: idempotent migration, toggle guard, picker states 2026-03-31 19:27:32 +02:00
CREDO23
aecb58e22b Fix review issues: authz, race conditions, UX safety, and consolidate migrations 2026-03-31 19:09:05 +02:00
CREDO23
5f4f7780d1 Fix create_prompt is_public bug, conditional version bump, and add Jotai prompts atoms
- Pass is_public from request body in create_prompt route
- Only bump version on content field changes (name, prompt, mode),
  not on is_public toggle
- Add prompts query and mutation atoms (atomWithQuery/atomWithMutation)
  with TanStack Query caching, replacing manual useEffect fetches
- Update PromptPicker, PromptsContent, and CommunityPromptsContent
  to consume shared atoms instead of local state
2026-03-31 18:34:10 +02:00
CREDO23
95620a4331 Unify frontend prompt rendering to use API-only prompt library
Remove hardcoded DEFAULT_ACTIONS and icon map from prompt-picker,
fetch all prompts from the backend. Simplify Zod types to match the
single-table schema (drop source/system_prompt_slug/is_modified,
add version). Update PromptsContent empty state copy.
2026-03-31 18:18:24 +02:00
CREDO23
1fd3a36c57 chore: format upstream files 2026-03-30 20:33:40 +02:00
CREDO23
a73bab89d9 add see more/less toggle on prompt cards for long content 2026-03-30 20:31:19 +02:00
CREDO23
bcb202dfe1 use distinct icons for share and make private actions 2026-03-30 20:21:02 +02:00
CREDO23
3de8ac90d8 add inline share toggle on prompt cards 2026-03-30 20:19:43 +02:00
CREDO23
1238efaf99 add community prompts tab and public toggle in prompt form 2026-03-30 19:41:14 +02:00
Anish Sarkar
b950299072 feat: add support for creating and deleting Dropbox files in chat tools and update connector display name 2026-03-30 23:09:36 +05:30
Anish Sarkar
6b922966e7 feat: integrate Dropbox support across various components, including document type labels, connector logic, and validation checks 2026-03-30 23:04:07 +05:30
Anish Sarkar
04691d572b chore: ran linting 2026-03-30 01:50:41 +05:30
Anish Sarkar
74826b3714 feat: enhance web search tool integration with citation management and UI enhancements 2026-03-30 01:38:36 +05:30
Anish Sarkar
38b77dfb6b refactor: update editable document types to include 'FILE' and enhance related logic across components for improved functionality 2026-03-29 22:29:40 +05:30
Anish Sarkar
69b8eef5ce refactor: enhance chat tab management by implementing fallback navigation and preventing race conditions during deletion for improved user experience 2026-03-29 22:12:55 +05:30
Anish Sarkar
ba926bbcc9 refactor: integrate global loading effect into onboarding page and streamline LLMConfigForm usage for improved user experience 2026-03-29 18:46:01 +05:30
Anish Sarkar
32ff5f085c refactor: simplify onboarding page logic by temporarily disabling auto-configuration and redirect features for UI testing 2026-03-29 18:25:45 +05:30
Anish Sarkar
fec5c005eb refactor: enhance button loading states in various components for improved user experience 2026-03-29 16:26:31 +05:30
Anish Sarkar
75fd39c249 refactor: simplify author metadata handling in NewChatPage and UserMessage components 2026-03-29 16:11:00 +05:30
Anish Sarkar
7ed6e9c75f fix: update message handling in NewChatPage to conditionally set author_id based on chat visibility 2026-03-29 15:56:42 +05:30
DESKTOP-RTLN3BA\$punk
2a06d035f5 refactor: update NewChatPage to re-initialize thread on search space switch and add new SSE event for document updates 2026-03-29 02:52:23 -07:00
DESKTOP-RTLN3BA\$punk
461192174d Merge commit '3d74cca88e' into dev_mod 2026-03-29 02:47:46 -07:00
DESKTOP-RTLN3BA\$punk
34f204620f feat: implement FrameBatchedUpdater for efficient state updates during streaming, enhance message handling in NewChatPage, and improve thread viewport scrolling behavior 2026-03-29 02:45:59 -07:00
CREDO23
ab3c636bcd Merge remote-tracking branch 'upstream/dev' into electon-desktop 2026-03-29 10:41:05 +02:00
Anish Sarkar
5a3eece397 Merge remote-tracking branch 'upstream/dev' into feat/onedrive-connector 2026-03-29 11:55:06 +05:30
CREDO23
b8a1d1f594 Merge remote-tracking branch 'upstream/dev' into electon-desktop 2026-03-29 03:10:51 +02:00
CREDO23
cfddfa54c6 fix: harden quick-ask panel, prompt handling, and clipboard UX 2026-03-29 02:54:48 +02:00
Rohan Verma
b9bb11cdee
Merge pull request #1028 from JoeMakuta/feat/add-loading-to-roles-and-invites
feat: add loading states for roles and invites in TeamContent component
2026-03-28 16:51:58 -07:00
DESKTOP-RTLN3BA\$punk
2cc2d339e6 feat: made agent file sytem optimized 2026-03-28 16:39:46 -07:00
Anish Sarkar
838d38a67a feat: implement document preview functionality in DocumentsSidebar and enhance mobile experience with vaul drawer 2026-03-29 04:20:22 +05:30
CREDO23
6df9eea5a6 desktop: clipboard auto-insert with prompt picker, remove old sessionStorage logic 2026-03-29 00:45:11 +02:00
CREDO23
03ca4f1f32 add My Prompts settings tab and create prompt button in picker 2026-03-29 00:33:02 +02:00
Anish Sarkar
37e018e94f refactor: simplify DialogFooter component by removing unnecessary gap classes for a cleaner layout 2026-03-29 03:50:11 +05:30
JoeMakuta
5cde959b54 feat: add loading states for roles and invites in TeamContent component 2026-03-28 18:47:11 +02:00
Anish Sarkar
b42b3a0a9b feat: enhance OneDrive integration with new file creation and deletion UI components 2026-03-28 17:01:08 +05:30
Anish Sarkar
147061284b feat: integrate OneDrive connector with UI components and configuration options 2026-03-28 17:00:52 +05:30
Rohan Verma
30034d68c3
Merge pull request #996 from AnishSarkar22/refactor/indexing-pipelines
feat: refactor indexing pipelines for some connectors
2026-03-27 15:05:01 -07:00
CREDO23
58ac17fb81 fix: move quickAskMode to IPC to prevent sessionStorage leak between windows 2026-03-27 20:35:29 +02:00