Commit graph

4691 commits

Author SHA1 Message Date
Chisom Uma
6163503501 refactor: Converted disabledTools to Set for O(1) membership checks 2026-04-01 23:09:57 +00: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
SohamBhattacharjee2003
5bfeda62f2 perf: use useDeferredValue for search/filter transitions
- prompt-picker: defer externalSearch before filtering prompt list
- document-mention-picker: defer debouncedSearch for client-side single-char filtering
- InboxSidebar: defer activeSource.items and searchResponse.items before filteredItems memo

Keeps search inputs responsive under React 18 Concurrent Mode by marking
expensive filtering computations as non-urgent updates (rule: rerender-transitions 5.11)
2026-04-02 01:45:18 +05:30
Rohan Verma
a67e72d159
Merge pull request #1074 from JoeMakuta/feature/js-index-maps-optimization
feat: implement map and find optimization
2026-04-01 13:07:40 -07:00
Rohan Verma
4d501be034
Merge pull request #1072 from JoeMakuta/feature/defer-react-query-devtools
feat: add dynamic import  and dev only render of ReactQueryClientProvider
2026-04-01 13:05:52 -07:00
Rohan Verma
b5ee177f2e
Merge pull request #1071 from JoeMakuta/feature/optimize-package-imports
feature : optimize package imports
2026-04-01 13:03:56 -07:00
Rohan Verma
71a5b40513
Merge pull request #1075 from SohamBhattacharjee2003/fix/deduplicate-getpage-cache
fix: deduplicate getpage cache
2026-04-01 13:03:16 -07:00
Rohan Verma
e1a73c9d40
Merge pull request #1073 from bluehyena/fix/issue-1046-immutable-sort
fix: avoid mutating shared arrays in changelog and comments sync issue 1046 immutable sort
2026-04-01 13:02:30 -07:00
SohamBhattacharjee2003
0fa4939a71 fix: use React.cache() to deduplicate getPage calls 2026-04-02 01:06:37 +05:30
Anish Sarkar
1f8f71b542 chore: add chokidar dependency for file watching 2026-04-02 00:22:10 +05:30
Anish Sarkar
917ec444bb style: add overscroll-none class to ComposerAction component 2026-04-01 23:00:45 +05:30
JoeMakuta
03a24686fe feat: implement map and find optimization 2026-04-01 18:47:57 +02:00
Anish Sarkar
33e7aeef9d style: enhance input field focus styles and transition effects in login and registration forms 2026-04-01 21:00:52 +05:30
Anish Sarkar
5c11a15fb6 refactor: update UI components by removing unused imports and adjusting loading states 2026-04-01 20:51:55 +05:30
Anish Sarkar
d7dd6db1b9 fix: improve document loading error handling and UI feedback for processing state 2026-04-01 20:31:45 +05:30
Jun Hyeok Lee
663096a074 chore: format issue 1046 frontend changes 2026-04-01 23:23:36 +09:00
JoeMakuta
e6ec589e12 feat: add dynamic import and dev only render of ReactQueryClientProvider 2026-04-01 16:10:27 +02:00
Jun Hyeok Lee
a42d4d219b fix: avoid mutating shared arrays in changelog and comments sync 2026-04-01 23:03:52 +09:00
JoeMakuta
0a65aa1a31 feat: dynamic import of PostHog 2026-04-01 15:59:11 +02:00
JoeMakuta
fc4f9ba7c0 refac: import of UI components for dropdown menu, separator, toggle group, toggle, tooltip, and checkbox 2026-04-01 15:41:11 +02:00
Anish Sarkar
9d6d818712 fix: add select-none class to TabBar 2026-04-01 18:52:04 +05:30
JoeMakuta
8a8af948db feat: add experimental package import optimization configuration 2026-04-01 13:07:27 +02:00
Rohan Verma
0811f9f252
Merge pull request #1070 from MODSetter/dev
fix: make migration 109 idempotent
2026-04-01 02:20:42 -07:00
Rohan Verma
b1631cd6f1
Merge pull request #1069 from CREDO23/fix/zero-cache
[Fix] Make migration 109 idempotent
2026-04-01 02:19:53 -07:00
CREDO23
2a809d0418 fix: make migration 109 idempotent 2026-04-01 11:12:21 +02:00
Rohan Verma
6c87840365
Merge pull request #1068 from CREDO23/fix/zero-cache
[Fix] zero-cache startup crash on high-core machines & restrict replication to needed tables
2026-04-01 01:43:35 -07:00
CREDO23
10e0e733af fix: configure zero-cache sync workers, connection limits, and publication 2026-04-01 10:18:51 +02:00
CREDO23
cd1bb79db8 feat: add migration to create zero_publication for zero-cache 2026-04-01 09:56:33 +02:00
Rohan Verma
deccbca506
Merge pull request #1067 from MODSetter/dev
feat: OneDrive & Dropbox connectors, desktop quick-ask, prompt library, and UX improvements
2026-03-31 23:10:43 -07:00
DESKTOP-RTLN3BA\$punk
c21d7dac3f feat: update README files to include OneDrive and Dropbox as external sources 2026-03-31 22:36:58 -07:00
DESKTOP-RTLN3BA\$punk
f9a79d5a5f feat: add Stripe configuration options for docker 2026-03-31 22:26:47 -07:00
Rohan Verma
63ec4be46c
Merge pull request #1066 from MODSetter/dev_mod
feat: bumped version to 0.0.14
2026-03-31 21:46:49 -07:00
DESKTOP-RTLN3BA\$punk
529af2be39 feat: bumped version to 0.0.14 2026-03-31 21:45:18 -07:00
DESKTOP-RTLN3BA\$punk
5c8769508f chore: linting 2026-03-31 21:42:03 -07:00
DESKTOP-RTLN3BA\$punk
0201fd319d refactor: update document processing status handling and improve sidebar components 2026-03-31 21:29:46 -07:00
DESKTOP-RTLN3BA\$punk
d8f403efba feat: re arranged connectors list 2026-03-31 20:38:43 -07:00
DESKTOP-RTLN3BA\$punk
ad0e77c3d6 feat: enhance knowledge base search with date filtering 2026-03-31 20:13:46 -07:00
Rohan Verma
006dccbe4b
Merge pull request #1065 from MODSetter/dev_mod
feat: integrate Stripe
2026-03-31 18:41:51 -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
Rohan Verma
5ae5a671e7
Merge pull request #1063 from JoeMakuta/optimize/memoize-chunk-card
refactor: memoize ChunkCard component for performance optimization
2026-03-31 14:35:08 -07:00
Rohan Verma
5783646dea
Merge pull request #1062 from JoeMakuta/optimize/dynamic-video-tool-import
feat: dynamically import video presentation tool to optimize bundle size
2026-03-31 14:34:51 -07:00
Rohan Verma
97139bc239
Merge pull request #1061 from JoeMakuta/feat/use-key-to-reset-connectors
refactor: Use key={connector.id} to reset connector config forms and cleanup useEffects
2026-03-31 14:34:34 -07:00
Rohan Verma
2361e8731b
Merge pull request #1059 from JoeMakuta/fix/use-functional-set-state
refactor: use functional setState for updating connectors in useSearhSourceConnectors hook
2026-03-31 14:34:02 -07:00
Rohan Verma
0508a39c40
Merge pull request #1040 from JoeMakuta/feat/disable-rename-button-and-dynamic-imports
feat : disable rename button and dynamic imports
2026-03-31 14:33:17 -07:00
Rohan Verma
b650320b68
Merge pull request #1064 from CREDO23/feature/prompt-library
[Feature] Add Prompt Library
2026-03-31 14:32:46 -07:00
CREDO23
0f0bb5509c Merge upstream/dev, renumber migrations after dropbox 112 2026-03-31 22:43:14 +02:00
CREDO23
1aeb5ba645 Merge remote-tracking branch 'upstream/dev' into feature/prompt-library 2026-03-31 22:41:53 +02:00
Rohan Verma
d12d68d759
Merge pull request #1041 from AnishSarkar22/feat/dropbox-connector
feat: Dropbox connector with sensitive actions using HITL
2026-03-31 12:12:10 -07:00