Conversation
* Enhancement: Send verification email after successful signup * Feature: Added email verification handler page * Fix: Wrapped useSearchParams in a Suspense component * Update src/app/signup/page.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/app/auth/VerifyEmailPage.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/app/auth/VerifyEmailPage.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix: Remove Qodana from Github workflows * Fix: Remove Qodana config file
…he dashboard page
… ORM) (#13) * Feat: Migrate from Firebase Auth to Better-Auth using Turso DB and Drizzle ORM * Fix: Fixed SignUp page not redirecting * Refactor: Renamed login page to sign-in page and signup page to sign-up page * Removed unused cookie import Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Enhancement: Send verification email after successful signup * Feature: Added email verification handler page * Fix: Wrapped useSearchParams in a Suspense component * chore: Updated shadcn dependencies * Style: Changed destructive color * Feat: Created user settings page * Feat: Add Jetbrains IDE to .gitignore * chore: Added use-mobile hook for shadcn * Feat: Created preferences page in user settings * Feat: Enhance AuthLogic to handle multiple email verification modes * Feat: Created base page for security and connections settings * fix: Removed unused var and fixed type error * Enhancement: Improved email update feedback * Enhancement: Improved responsive layout * Fix: Update account preferences link to point to the correct route * Fix: Logout user when a sensitive action that invalidates the user's tokens is done * Docs: Improved API routes comments * Fix: Removed session cookie validation caching * Refactor: Make revokeSessionCookie parameter clearer * Feat: Added display name setting in user preferences * Enhancement: Title and content in settings cards are now separated by a separator * Enhancement: Display the display name in the homepage navbar dropdown * Feat: Implemented account deletion * Refactor: Changed Connections page name to Databases * Style: Changed security's page title to match the style of the other pages * Refactor: Remove Security and Databases pages from user settings sidebar * Feat: Migrated account deletion from firebase auth to better-auth * Feat: Migrated display name from firebase auth to better-auth * Fat: Migrated email change and verification from firebase auth to better-auth * Feat: Implemented email sending using nodemailer * Chore: Add twoFactor plugin to client and server auth configuration * Chore: Migrated DB to support two factor * Chore: Update .gitignore to include VSCode directories * Chore: Installed QR Code component * Refactor: Extracted Password Dialog into a component * Chore: Add input group component * Feat: Add 2FA Enabling in user settings * Feat: Add 2FA login dialog * Refactor: Changed delete account dialog to use password dialog component * Refactor: Remove unused authClient session data in TwoFactorSecurity component * Refactor: Make a two factor dialog wrapper to display different 2FA dialogs * Fix typo in loading toast message during account creation * Feat: Add a trustDevice checkbox in TOTP Auth flow * Feat: Make a two factor method switcher * Refactor: Clean up code by removing unused imports and fixing typos across multiple components * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix: Added missing closing tag for InputGroupButton --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Enhancement: Send verification email after successful signup * Feature: Added email verification handler page * Fix: Wrapped useSearchParams in a Suspense component * chore: Updated shadcn dependencies * Style: Changed destructive color * Feat: Created user settings page * Feat: Add Jetbrains IDE to .gitignore * chore: Added use-mobile hook for shadcn * Feat: Created preferences page in user settings * Feat: Enhance AuthLogic to handle multiple email verification modes * Feat: Created base page for security and connections settings * fix: Removed unused var and fixed type error * Enhancement: Improved email update feedback * Enhancement: Improved responsive layout * Fix: Update account preferences link to point to the correct route * Fix: Logout user when a sensitive action that invalidates the user's tokens is done * Docs: Improved API routes comments * Fix: Removed session cookie validation caching * Refactor: Make revokeSessionCookie parameter clearer * Feat: Added display name setting in user preferences * Enhancement: Title and content in settings cards are now separated by a separator * Enhancement: Display the display name in the homepage navbar dropdown * Feat: Implemented account deletion * Refactor: Changed Connections page name to Databases * Style: Changed security's page title to match the style of the other pages * Refactor: Remove Security and Databases pages from user settings sidebar * Feat: Migrated account deletion from firebase auth to better-auth * Feat: Migrated display name from firebase auth to better-auth * Fat: Migrated email change and verification from firebase auth to better-auth * Feat: Implemented email sending using nodemailer * Chore: Add twoFactor plugin to client and server auth configuration * Chore: Migrated DB to support two factor * Chore: Update .gitignore to include VSCode directories * Chore: Installed QR Code component * Refactor: Extracted Password Dialog into a component * Chore: Add input group component * Feat: Add 2FA Enabling in user settings * Feat: Add 2FA login dialog * Refactor: Changed delete account dialog to use password dialog component * Refactor: Remove unused authClient session data in TwoFactorSecurity component * Refactor: Make a two factor dialog wrapper to display different 2FA dialogs * Fix typo in loading toast message during account creation * Feat: Add a trustDevice checkbox in TOTP Auth flow * Feat: Make a two factor method switcher * Refactor: Clean up code by removing unused imports and fixing typos across multiple components * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix: Added missing closing tag for InputGroupButton * Feat/Refactor: Added backup code 2FA authentication, and moved dialogs out of the dialog folder * Refactor: Changed action text of backup code item from Regenerate to Manage and conditionally render the item if the user has 2FA enabled * Fix: Set lenght of backup code to 11 (10 letters + a dash) * Feat: Encrypt backup codes * Chore: Installed react-downloadfile-hook * Feat: Created ViewBackupCodeDialog to display backup codes to the user * Feat: Implement ViewBackupCodeDialog in user settings. Display backup codes after enabling 2FA and after regenerating them. * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Enhancement: Send verification email after successful signup * Feature: Added email verification handler page * Fix: Wrapped useSearchParams in a Suspense component * chore: Updated shadcn dependencies * Style: Changed destructive color * Feat: Created user settings page * Feat: Add Jetbrains IDE to .gitignore * chore: Added use-mobile hook for shadcn * Feat: Created preferences page in user settings * Feat: Enhance AuthLogic to handle multiple email verification modes * Feat: Created base page for security and connections settings * fix: Removed unused var and fixed type error * Enhancement: Improved email update feedback * Enhancement: Improved responsive layout * Fix: Update account preferences link to point to the correct route * Fix: Logout user when a sensitive action that invalidates the user's tokens is done * Docs: Improved API routes comments * Fix: Removed session cookie validation caching * Refactor: Make revokeSessionCookie parameter clearer * Feat: Added display name setting in user preferences * Enhancement: Title and content in settings cards are now separated by a separator * Enhancement: Display the display name in the homepage navbar dropdown * Feat: Implemented account deletion * Refactor: Changed Connections page name to Databases * Style: Changed security's page title to match the style of the other pages * Refactor: Remove Security and Databases pages from user settings sidebar * Feat: Migrated account deletion from firebase auth to better-auth * Feat: Migrated display name from firebase auth to better-auth * Fat: Migrated email change and verification from firebase auth to better-auth * Feat: Implemented email sending using nodemailer * Chore: Add twoFactor plugin to client and server auth configuration * Chore: Migrated DB to support two factor * Chore: Update .gitignore to include VSCode directories * Chore: Installed QR Code component * Refactor: Extracted Password Dialog into a component * Chore: Add input group component * Feat: Add 2FA Enabling in user settings * Feat: Add 2FA login dialog * Refactor: Changed delete account dialog to use password dialog component * Refactor: Remove unused authClient session data in TwoFactorSecurity component * Refactor: Make a two factor dialog wrapper to display different 2FA dialogs * Fix typo in loading toast message during account creation * Feat: Add a trustDevice checkbox in TOTP Auth flow * Feat: Make a two factor method switcher * Refactor: Clean up code by removing unused imports and fixing typos across multiple components * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix: Added missing closing tag for InputGroupButton * Feat/Refactor: Added backup code 2FA authentication, and moved dialogs out of the dialog folder * Refactor: Changed action text of backup code item from Regenerate to Manage and conditionally render the item if the user has 2FA enabled * Fix: Set lenght of backup code to 11 (10 letters + a dash) * Feat: Encrypt backup codes * Chore: Installed react-downloadfile-hook * Feat: Created ViewBackupCodeDialog to display backup codes to the user * Feat: Implement ViewBackupCodeDialog in user settings. Display backup codes after enabling 2FA and after regenerating them. * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Feat: Created Database tab under user settings * Enhancement: Made database table headers bold * Feat: Created database table schema * Feat: Created buisness logic for database handling * Feat: Created API routes for database logic * Feat: Created client API wrapper for DB api routes * Security: Patched React2Shell * Chore: Install react-query * Feat: Wrap layout in QueryClientProvider * Feat: Connected DatabaseTable ui to backend using react-query * Enhancement: Added tooltip to update email address button * Feat: Created database linking dialog * Feat: Created database deletion dialog * Feat: Created database rename dialog * Feat: Created change password dialog * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix: Fixed FormControl duplicate in database rename dialog * Fix: Typo in clientMessages in errors util file * Fix: In external database service, the CheckUserExit function wasn't waiting for the db to finish querying the user profile * Enhancement: Added zod error messages to rename database dialog --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
) * Enhancement: Feature branches now creates a deployment only on PRs. * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix: Fixed workflow_dispatch lacking pr number parameter --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR preview workflow
…n permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This pull request refactors the GitHub Actions workflow structure, replacing a branch-based preview deployment system with a pull request-based deployment system, and adds a TypeScript type annotation improvement.
- Replaces the old
preview_deploy.ymlworkflow with a newpr_preview.ymlworkflow that deploys based on PR events - Introduces separate workflows for development (
dev_deploy.yml) and production (production_deploy.yml) deployments with optimized trigger paths - Updates the database cleanup workflow to work with PR closures instead of branch deletions
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/app/dashboard/user/databases/DatabaseColumn.tsx | Adds explicit type annotation Database[] to the oldData parameter in queryClient.setQueryData callback |
| .github/workflows/production_deploy.yml | Adds paths-ignore configuration to skip workflow runs for documentation and GitHub configuration changes |
| .github/workflows/preview_deploy.yml | Removes the entire branch-based preview deployment workflow |
| .github/workflows/pr_preview.yml | Adds new PR-based preview deployment workflow with Turso database provisioning, Vercel deployment, and automated PR commenting |
| .github/workflows/dev_deploy.yml | Adds new development deployment workflow for the dev branch with schema syncing and Vercel deployment |
| .github/workflows/database_cleanup.yml | Refactors to trigger on PR closure events instead of branch deletion, simplifies DB name generation to use PR numbers directly |
| .github/scripts/generate_db_name.sh | Removes the bash script for generating safe database names from branch names |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| --build-env TURSO_AUTH_TOKEN=${{ env.DB_TOKEN }} \ | ||
| --env TURSO_DATABASE_URL=${{ env.DB_URL }} \ | ||
| --env TURSO_AUTH_TOKEN=${{ env.DB_TOKEN }} \ | ||
| --yes --logs) |
There was a problem hiding this comment.
The --logs flag passed to vercel deploy will output deployment logs along with the URL. When capturing the output in DEPLOYMENT_URL, this will include log content rather than just the deployment URL, which will break the deployment link in the PR comment. Remove the --logs flag to capture only the deployment URL.
| --yes --logs) | |
| --yes) |
No description provided.