Commit graph

147 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
c6e1a04169 chore: linting 2026-04-08 16:14:26 -07:00
Matt Van Horn
90ed853a26 perf: remove unnecessary useMemo wrapping simple boolean expressions
Replace useMemo calls that wrap trivial boolean checks with plain
const expressions. The memo overhead exceeds the cost of these
simple permission checks and mode comparisons.

Fixes #1052
2026-04-08 01:36:24 -07:00
CREDO23
13625acdd5 Add vision model tab to chat page model selector 2026-04-07 20:47:17 +02:00
Anish Sarkar
02323e7b55 refactor: enhance DocumentsFilters component with ToggleGroup for folder creation and improve search functionality 2026-04-06 12:56:29 +05:30
Anish Sarkar
1f162f52c3 feat: add tooltip functionality to DocumentNode for title overflow handling and refactor ChatShareButton by removing unnecessary Tooltip wrapper 2026-04-05 22:50:36 +05:30
Anish Sarkar
746c730b2e chore: ran linting 2026-04-03 13:14:40 +05:30
Anish Sarkar
62b44889d1 Merge remote-tracking branch 'upstream/dev' into feat/local-folder-sync 2026-04-03 11:42:43 +05:30
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
Anish Sarkar
000c2d9b5b style: simplify LLM model terminology in UI 2026-04-02 10:11:35 +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
Anish Sarkar
d7dd6db1b9 fix: improve document loading error handling and UI feedback for processing state 2026-04-01 20:31:45 +05:30
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
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
JoeMakuta
5fb4f49bc0 refactor: memoize ChunkCard component for performance optimization 2026-03-31 15:49:56 +02:00
CREDO23
1fd3a36c57 chore: format upstream files 2026-03-30 20:33:40 +02:00
Anish Sarkar
04691d572b chore: ran linting 2026-03-30 01:50:41 +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
d88236d43b refactor: replace ModelConfigDialog with a shared component and update related imports for better organization and clarity 2026-03-29 17:32:23 +05:30
Anish Sarkar
430372a4ff refactor: move ImageConfigDialog to shared components and update imports in chat-header and image-model-manager for better organization 2026-03-29 17:02:20 +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
CREDO23
03ca4f1f32 add My Prompts settings tab and create prompt button in picker 2026-03-29 00:33:02 +02:00
CREDO23
a6ccb7a875 rename quick-ask-actions to prompts across backend and frontend 2026-03-29 00:07:08 +02:00
CREDO23
11374248d8 restore custom actions API service and wire to ActionPicker 2026-03-28 23:51:33 +02:00
CREDO23
3be0988a7b add ActionPicker component for / command trigger 2026-03-28 23:16:02 +02:00
JoeMakuta
0b4ba58481 fix: add focus-visible styles to share button for improved accessibility 2026-03-27 15:22:26 +02:00
Anish Sarkar
ac0f2fa2eb chore: ran linting 2026-03-17 04:40:46 +05:30
Anish Sarkar
993c8539e8 feat: update UI components to utilize new main panel styling
- Replaced background styles with `bg-main-panel` in various components for consistent theming.
- Enhanced the `Header`, `LayoutShell`, and `Thread` components to improve visual coherence.
- Adjusted tool management UI to reflect new design standards, ensuring a unified user experience.
2026-03-17 01:09:15 +05:30
Anish Sarkar
b7d684ca8d feat: integrate search space settings dialog across various components
- Added `searchSpaceSettingsDialogAtom` to manage the state of the settings dialog.
- Updated multiple components (OnboardPage, TeamManagementPage, ConnectorIndicator, DocumentUploadPopupContent, etc.) to utilize the new dialog state for navigating to settings.
- Removed unnecessary animations from ApiKeyContent and ProfileContent components for improved performance.
- Enhanced button styles for better UI consistency across settings actions.
- Refactored error handling in LLMRoleManager and ModelConfigManager to simplify the UI structure.
2026-03-16 21:10:46 +05:30
Anish Sarkar
863ba6865c fix: update routing in settings and onboarding components to use 'tab' query parameter instead of 'section' for improved navigation consistency 2026-03-08 20:26:48 +05:30
Anish Sarkar
97fbb70672 refactor: update DocumentMentionPicker styles for improved dark mode support and UI consistency 2026-03-08 18:45:05 +05:30
Anish Sarkar
5ce3790847 refactor: enhance UI component styles and functionality in Documents filters, table shell, and editor for improved user experience and consistency 2026-03-08 17:43:19 +05:30
Anish Sarkar
0f7878a3a0 refactor: update UI component styles for improved visual consistency and user experience across GitHub stars badge, model selector, dialog, dropdown menu, and shortcut keyboard components 2026-03-08 17:10:24 +05:30
Anish Sarkar
9945d16b17 chore: ran biome checks 2026-03-07 12:57:27 +05:30
Anish Sarkar
f8b0e946ce chore: ran linting 2026-03-07 04:46:48 +05:30
Anish Sarkar
3af9962abc feat: replace image config sidebar with dialog component in ChatHeader for improved user interaction and update related state management 2026-03-07 03:41:34 +05:30
Anish Sarkar
c9949303ae feat: integrate document upload dialog in ComposerAction and update sidebar components for improved user interaction and styling consistency 2026-03-07 03:29:46 +05:30
Anish Sarkar
454d94bec7 refactor: update sidebar and chat components with consistent dark mode styling, enhancing visual coherence and user experience 2026-03-07 01:55:32 +05:30
Anish Sarkar
c9d92ee5a0 refactor: update styling in ConnectorIndicator and ChatShareButton components to prevent text selection, enhancing user interface consistency 2026-03-07 00:08:08 +05:30
Anish Sarkar
74e8fb1cee refactor: improve error handling in ChatShareButton component by validating thread ID before API call, and update tooltip content for clarity, enhancing user experience and code robustness 2026-03-06 23:37:05 +05:30
Anish Sarkar
c1ba3a9b6d refactor: streamline document mention handling by consolidating atom logic and removing redundant state updates, enhancing code clarity and maintainability in chat components 2026-03-06 23:33:51 +05:30
Anish Sarkar
8d5d8e490c refactor: remove ChatHeader from Thread component and update related logic, improving code clarity and maintaining consistent header display in chat interface 2026-03-06 22:38:49 +05:30
Anish Sarkar
aaa8840e1d feat: enhance DocumentsFilters and ModelSelector components with scroll position tracking and improved styling, improving user experience and visual consistency across the application 2026-03-06 22:22:28 +05:30
Anish Sarkar
aeb2613b2b chore: linting 2026-02-22 04:41:56 +05:30