Skip to content

Conversation

@jeevanpillay
Copy link
Collaborator

Summary

  • Adds a new Electron desktop application to the monorepo
  • Full TypeScript support with type-safe IPC communication
  • Multi-platform build support (macOS, Windows, Linux)

What's included

Desktop App (apps/desktop)

  • Electron 37 with React 19 and TypeScript
  • Type-safe IPC communication between main and renderer processes
  • Vite 7 for fast builds and HMR
  • Auto-updater ready
  • Multi-platform build configuration with electron-builder

Download Page (/download)

  • New download page in www app with platform-specific downloads
  • Links to GitHub releases for each platform
  • Feature highlights and system requirements

CI/CD

  • GitHub Actions workflow for automated builds
  • Supports macOS (Universal), Windows (x64), and Linux (AppImage, deb)
  • Automatic release creation on version tags

Commands

# Development
pnpm dev:desktop       # Start dev server

# Build
pnpm build:desktop     # Build app
pnpm dist:desktop      # Package for distribution
pnpm dist:desktop:mac  # Build for macOS
pnpm dist:desktop:win  # Build for Windows
pnpm dist:desktop:linux # Build for Linux

Test plan

  • Desktop app builds successfully
  • Type checking passes
  • Download page renders correctly
  • GitHub Actions workflow is valid

🤖 Generated with Claude Code

…port

- Create new desktop app in apps/desktop with Electron 37 + React 19
- Full TypeScript support with type-safe IPC communication
- Multi-platform build configuration (macOS, Windows, Linux)
- Add GitHub Actions workflow for automated builds and releases
- Add download page to www app with platform-specific downloads
- Configure electron-builder for distribution packaging
- Use catalog versioning for React and other shared dependencies

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@vercel
Copy link

vercel bot commented Aug 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
lightfast-auth Ready Preview Comment Aug 13, 2025 9:14am
lightfast-chat Ready Preview Comment Aug 13, 2025 9:14am
lightfast-cloud Ready Preview Comment Aug 13, 2025 9:14am
lightfast-docs Failed Aug 13, 2025 9:14am
lightfast-playground Ready Preview Comment Aug 13, 2025 9:14am
lightfast-www Failed Aug 13, 2025 9:14am
2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
darkarmy-www ⬜️ Ignored Aug 13, 2025 9:14am
lightfast-experimental ⬜️ Ignored Aug 13, 2025 9:14am

jeevanpillay added a commit that referenced this pull request Sep 3, 2025
* fix: prevent sidebar reload when navigating to settings

Replace <a> tag with Next.js Link component in UserDropdown settings link
to enable client-side navigation and prevent full page reload.

Fixes:
- Sidebar now persists when navigating between /chat/[threadId] and /settings
- Eliminates unnecessary full page reloads and component remounting
- Improves navigation performance and user experience

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

* feat: add prefetch and improve error handling for settings navigation

- Add prefetch=true to settings Link for better performance
- Remove overly broad try-catch in settings page to allow Suspense to handle loading
- Change getUserSettings Convex query to return null instead of throwing error for unauthorized users
- Improve error handling in SettingsContent to return null (triggering Suspense) instead of error state
- Remove unused ErrorState component

Fixes:
- Settings page now shows loading skeleton instead of 'Something went wrong' during navigation
- Prefetching improves perceived performance when hovering over settings link
- Better error handling prevents showing error states for temporary auth issues

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

* feat: enhance settings UI with new components and improved layout

- Introduced SettingsHeader and SettingsRow components for better structure and readability in settings sections.
- Updated ProfileSection to utilize new components, improving the display of user information.
- Enhanced ApiKeysSection layout with SettingsRow for a more consistent look and feel.
- Added loading skeletons for settings pages to improve user experience during data fetching.
- Removed deprecated card components and streamlined the settings layout for better performance.

This refactor aims to create a more cohesive and user-friendly settings interface.

---------

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants