Conversation
Bumps the development-dependencies group with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). Updates `@types/node` from 25.2.0 to 25.2.3 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@types/react` from 19.2.13 to 19.2.14 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 25.2.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: "@types/react" dependency-version: 19.2.14 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps the production-dependencies group with 2 updates: [dotenv](https://github.com/motdotla/dotenv) and [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react). Updates `dotenv` from 17.2.4 to 17.3.1 - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](motdotla/dotenv@v17.2.4...v17.3.1) Updates `lucide-react` from 0.563.0 to 0.564.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/0.564.0/packages/lucide-react) --- updated-dependencies: - dependency-name: dotenv dependency-version: 17.3.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: lucide-react dependency-version: 0.564.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
#5 Create Copilot Instructions
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
…n-dependencies-6b8dbf03b7 Bump the production-dependencies group with 2 updates
…nt-dependencies-bef923c98e Bump the development-dependencies group with 2 updates
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
…ettings #14 Fix Endorsements Open Default Value
#8 Fix Startup Issue with Settings
#9 Create A Plan For Local Database
…pilot/fix-saving-settings-issue
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
Co-authored-by: b-at-neu <144247685+b-at-neu@users.noreply.github.com>
#11 Fix Saving Settings Issue and Prevent Duplicate Rows
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a robust local development workflow for the database using Docker, standardizes the singleton settings pattern in the application, and improves developer onboarding and documentation. The changes streamline how developers set up and manage the local PostgreSQL database, enforce best practices for the settings record, and clarify project conventions.
Local Development Database Workflow:
docker-compose.ymlfile to enable developers to spin up a local PostgreSQL database using Docker with persistent storage and health checks.package.jsonscripts to include commands for starting, stopping, and resetting the local database container, as well as running Prisma migrations and Studio..env.exampleto provide ready-to-use local database connection strings for Docker-based development, and clarified production configuration.README.mdwith detailed instructions for local database setup, workflow, troubleshooting, and command references, emphasizing Docker usage over manual PostgreSQL installation. [1] [2] [3] [4]Settings Singleton Pattern:
lib/actions/settings.tsandlib/data/settings.tsto use a fixed ID ('default') and atomic upsert operations, ensuring only one settings record exists and simplifying retrieval and updates. [1] [2] [3] [4] [5]app/admin/settings/settings-form.tsxto refresh the page after a successful update, ensuring UI reflects the latest settings. [1] [2] [3]endorsementsOpentotruein the database schema.Developer Experience & Documentation:
.github/copilot-instructions.mdto document commit, branch, and PR conventions, architectural patterns, file organization, and best practices for the project.lib/db.tsto provide clear instructions ifDATABASE_URLis missing, guiding developers to set up their environment correctly.Dependency Updates:
Local Development & Database Management
docker-compose.ymland supportingpackage.jsonscripts for starting, stopping, and resetting the database. [1] [2].env.exampleandREADME.mdto document and facilitate Docker-based database development, including troubleshooting and workflow tips. [1] [2] [3] [4] [5]Settings Singleton Refactor
endorsementsOpen.Developer Experience & Documentation
.github/copilot-instructions.mdto standardize contribution and architectural practices.Dependency Updates