Commit graph

25 commits

Author SHA1 Message Date
Matt Van Horn
67ee8f4bb7 fix: replace window.location with router.push for client-side navigation 2026-04-08 00:01:30 -07:00
Soham Bhattacharjee
b82a4fb921
Merge branch 'dev' into fix/remove-forcemount-from-user-dropdown 2026-04-08 05:15:12 +05:30
SohamBhattacharjee2003
693284c419 fix: remove forceMount from UserDropdown to reduce DOM nodes
- Remove forceMount prop from DropdownMenuContent
- Allows Radix to mount content only when dropdown is open
- Reduces unnecessary DOM nodes when dropdown is closed
- Improves performance by using default Radix behavior
2026-04-08 05:12:41 +05:30
SohamBhattacharjee2003
baada1457a fix: replace window.location with Next.js router for client-side navigation
- Replace window.location.href with router.push() + router.refresh() in UserDropdown logout
- Replace window.location.href with router.push() in CreateSearchSpaceDialog
- Replace window.location.reload() with router.refresh() in login page retry action
- Prevents full page reloads and preserves React state during in-app navigation
2026-04-08 04:28:41 +05:30
DESKTOP-RTLN3BA\$punk
49441233e7 feat: enhance keyboard shortcut management and improve app responsiveness
- Updated the development script to include a build step before launching the app.
- Refactored the registration of quick ask and autocomplete functionalities to be asynchronous, ensuring proper initialization.
- Introduced IPC channels for getting and setting keyboard shortcuts, allowing users to customize their experience.
- Enhanced the platform module to support better interaction with the Electron API for clipboard operations.
- Improved the user interface for managing keyboard shortcuts in the settings dialog, providing a more intuitive experience.
2026-04-07 00:43:40 -07:00
likiosliu
f7640671f3 fix: replace router.push with Link for static navigation in UserDropdown
Enables route prefetching and follows Next.js best practices.
Removes unused useRouter import.
2026-03-26 11:49:45 +08:00
CREDO23
2b7465cdaa chore: remove Electric SQL plumbing and infrastructure
Remove all Electric SQL client code, Docker service, env vars, CI build
args, install scripts, and documentation. Feature hooks that depend on
Electric are intentionally left in place to be rewritten with Rocicorp
Zero in subsequent commits.

Deleted:
- lib/electric/ (client.ts, context.ts, auth.ts, baseline.ts)
- ElectricProvider.tsx
- docker/scripts/init-electric-user.sh
- content/docs/how-to/electric-sql.mdx

Cleaned:
- package.json (4 @electric-sql/* deps)
- app/layout.tsx, UserDropdown.tsx, LayoutDataProvider.tsx
- docker-compose.yml, docker-compose.dev.yml
- Dockerfile, docker-entrypoint.js
- .env.example (frontend, docker, backend)
- CI workflows, install scripts, docs
2026-03-23 16:53:20 +02:00
DESKTOP-RTLN3BA\$punk
db652116d6 chore: linting 2026-02-09 16:49:11 -08:00
Anish Sarkar
e2dd80c604 chore: ran linting 2026-02-08 12:43:31 +05:30
Anish Sarkar
5ab672b8ff refactor: replace Loader2 with Spinner component across various components for consistent loading indicators 2026-02-08 12:39:06 +05:30
CREDO23
f13345b226 Add logout with token revocation and loading states 2026-02-05 18:56:38 +02:00
DESKTOP-RTLN3BA\$punk
8aad15d392 Reapply "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 3418c0e026.
2026-01-16 11:32:06 -08:00
DESKTOP-RTLN3BA\$punk
3418c0e026 Revert "Merge pull request #686 from AnishSarkar22/feat/replace-logs"
This reverts commit 5963a1125e, reversing
changes made to 0d2a2f8ea1.
2026-01-16 00:49:33 -08:00
Anish Sarkar
703ec08d19 feat: Reduce memory footprint for PGlite, Implement user-specific Electric SQL database management
- Added cleanup logic for other users' databases on login to ensure data isolation.
- Introduced best-effort cleanup on logout to remove stale databases.
- Updated Electric client initialization to support user-specific databases.
- Refactored hooks to utilize the Electric context for better state management and prevent race conditions.
- Enhanced error handling and logging for Electric SQL operations.
2026-01-15 15:22:23 +05:30
CREDO23
5151ba381e use hard navigation on login and logout to clear state 2026-01-07 18:13:31 +02:00
DESKTOP-RTLN3BA\$punk
d20aef2957 feat: enhance login tracking and logout functionality
- Added session storage flag to track local login success, ensuring OAuth flows do not double track login events.
- Implemented tracking for logout events in both UserDropdown and AppSidebar components, resetting PostHog identity accordingly.
- Minor formatting adjustments in GoogleLoginButton and footer-new components for consistency.
2026-01-02 01:10:16 -08:00
Anish Sarkar
ed6470525a feat: Enhance mobile navbar animations and responsiveness across various components 2025-12-29 00:24:49 +05:30
Anish Sarkar
dee18233c5 feat: Implement responsive design for dashboard layout and user dropdown, and remove unused imports. 2025-12-29 00:06:38 +05:30
DESKTOP-RTLN3BA\$punk
633ea3ac0f feat: moved LLMConfigs from User to SearchSpaces
- RBAC soon??
- Updated various services and routes to handle search space-specific LLM preferences.
- Modified frontend components to pass search space ID for LLM configuration management.
- Removed onboarding page and settings page as part of the refactor.
2025-10-10 00:50:29 -07:00
Utkarsh-Patel-13
2950573271 Biome: fixes for compontents directory 2025-07-27 10:41:15 -07:00
Utkarsh-Patel-13
758603b275 Initial formatting using biome 2025-07-27 10:05:37 -07:00
Rohan Verma
63d06031a3
Merge pull request #204 from masabinhok/fix-user-dropdown
fix(ui): Refactor UserDropdown.tsx to add safety check for user name
2025-07-18 11:52:11 +05:30
Sabin Shrestha
014a161fe3 fix(ui): Refactor UserDropdown.tsx to add safety check for user name 2025-07-18 11:54:15 +05:45
Swapnilpatil03
d90177f6d3 fix(ui): Refactor logout function in UserDropdown.tsx #199 2025-07-18 10:23:25 +05:30
MSI\ModSetter
d103e21a68 feat(FRONTEND): Moved User Dropdown to Search Space Dashboard 2025-07-17 04:10:24 -07:00