Skip to content

Merge new workflows into main#27

Merged
OverDsh merged 26 commits intomainfrom
dev
Dec 23, 2025
Merged

Merge new workflows into main#27
OverDsh merged 26 commits intomainfrom
dev

Conversation

@OverDsh
Copy link
Copy Markdown
Contributor

@OverDsh OverDsh commented Dec 23, 2025

No description provided.

OverDsh and others added 24 commits October 18, 2025 14:15
* 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
… 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>
@OverDsh OverDsh self-assigned this Dec 23, 2025
Copilot AI review requested due to automatic review settings December 23, 2025 17:06
@vercel
Copy link
Copy Markdown

vercel bot commented Dec 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Review Updated (UTC)
rmanager Ignored Ignored Dec 23, 2025 5:14pm

@OverDsh OverDsh review requested due to automatic review settings December 23, 2025 17:06
Copilot AI review requested due to automatic review settings December 23, 2025 17:12
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@OverDsh OverDsh merged commit c8771e3 into main Dec 23, 2025
6 of 7 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml workflow with a new pr_preview.yml workflow 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)
Copy link

Copilot AI Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
--yes --logs)
--yes)

Copilot uses AI. Check for mistakes.
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.

3 participants