Repository navigation
Max Updates: - #126
Max Updates:#126BaseMax wants to merge 21 commits into
Conversation
|
@BaseMax is attempting to deploy a commit to the retro Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Code Review
This pull request introduces a .gitattributes file to ensure consistent line-ending normalization across various text file formats and to define binary file types. The review feedback suggests treating SVG files as text to enable meaningful diffs and adding an explicit binary declaration for Bun's bun.lockb lockfile.
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request establishes a testing foundation using Bun, adding snapshot tests for various UI components including Badge, Button, Card, Input, Label, Separator, and Skeleton. It also enhances project configuration with updated .dockerignore and .gitattributes files, integrates a spell-checking hook in the pre-commit configuration, and adds a YouTube icon to the footer. Feedback focuses on resolving an inconsistency in the README regarding committed files, adopting the standard Bun flag for snapshot updates in package.json, and ensuring test cases for custom classes use unique values to avoid redundancy.
There was a problem hiding this comment.
Pull request overview
This PR adds Bun-based snapshot testing for UI components and strengthens repository automation/tooling (prek workflows, CodeQL, first-interaction messaging), alongside Docker and repo hygiene updates.
Changes:
- Add Bun snapshot tests for several UI components plus committed snapshot baselines, and wire up
bun testscripts/workflow. - Refactor prek GitHub Actions into reusable workflows and adjust workflow permissions.
- Add repo hygiene + UX updates:
.gitattributes,.dockerignore, Dockerfile dev lockfile enforcement, first-interaction message refresh, and a YouTube social link/icon.
Reviewed changes
Copilot reviewed 30 out of 30 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/components/ui/skeleton.test.tsx | Adds Bun snapshot tests for Skeleton. |
| tests/components/ui/separator.test.tsx | Adds Bun snapshot tests for Separator. |
| tests/components/ui/label.test.tsx | Adds Bun snapshot tests for Label. |
| tests/components/ui/input.test.tsx | Adds Bun snapshot tests for Input. |
| tests/components/ui/card.test.tsx | Adds Bun snapshot tests for Card and subcomponents. |
| tests/components/ui/button.test.tsx | Adds Bun snapshot tests for Button variants/sizes. |
| tests/components/ui/badge.test.tsx | Adds Bun snapshot tests for Badge variants. |
| tests/components/ui/snapshots/skeleton.test.tsx.snap | Commits snapshot baselines for Skeleton tests. |
| tests/components/ui/snapshots/separator.test.tsx.snap | Commits snapshot baselines for Separator tests. |
| tests/components/ui/snapshots/label.test.tsx.snap | Commits snapshot baselines for Label tests. |
| tests/components/ui/snapshots/input.test.tsx.snap | Commits snapshot baselines for Input tests. |
| tests/components/ui/snapshots/card.test.tsx.snap | Commits snapshot baselines for Card tests. |
| tests/components/ui/snapshots/button.test.tsx.snap | Commits snapshot baselines for Button tests. |
| tests/components/ui/snapshots/badge.test.tsx.snap | Commits snapshot baselines for Badge tests. |
| package.json | Adds test, test:watch, and test:update scripts using Bun. |
| bunfig.toml | Configures Bun test root under ./tests. |
| .github/workflows/snapshot-tests.yml | Adds CI workflow to run Bun snapshot tests. |
| .github/workflows/reusable-prek-standard.yml | Introduces reusable workflow for standard prek hooks. |
| .github/workflows/reusable-prek-manual.yml | Introduces reusable workflow for manual prek hooks. |
| .github/workflows/pre-commit.yml | Switches standard prek CI to reusable workflows across OS matrix. |
| .github/workflows/pre-commit-manual.yml | Switches manual prek CI to reusable workflows on macOS/Ubuntu. |
| .github/workflows/codeql.yml | Adds CodeQL analysis workflow for JS/TS. |
| .github/workflows/first-interaction.yml | Updates first-interaction workflow permissions and welcome messages. |
| .pre-commit-config.yaml | Adds typos pre-commit hook. |
| Dockerfile.dev | Uses bun install --frozen-lockfile for deterministic installs. |
| .dockerignore | Adds dockerignore rules to reduce build context and avoid copying secrets/artifacts. |
| .gitattributes | Adds line-ending normalization and binary file declarations. |
| components/icons/brand-social-icons.tsx | Adds BrandYouTubeIcon. |
| components/layout/footer.tsx | Adds YouTube social link to footer. |
| README.md | Documents generated files/paths and snapshot guidance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive testing suite using Bun snapshots for several UI components, including Badge, Button, Card, Input, Label, Separator, and Skeleton. It also updates project configuration files such as .dockerignore, .gitattributes, and .pre-commit-config.yaml (adding a typos checker), and adds a YouTube social icon to the footer. Feedback focuses on maintaining consistency between the README documentation and package.json scripts, as well as ensuring uniform URL formats for social media links.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 30 out of 30 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive testing suite using Bun's snapshot testing for various UI components, adds a spell-checking pre-commit hook, and improves Docker build determinism with the --frozen-lockfile flag. It also adds a YouTube social icon and documents auto-generated paths in the README. Feedback suggests enhancing consistency by removing redundant package-lock.json files and standardizing on Bun for sub-project builds currently using npm.
|
We did |
|
@copilot resolve the merge conflicts in this pull request |
|
Pull requested need to be focused on only one issue. This PR has way to many different things all mixed together. This PR has been sitting here with conflicts for a long time. You need to create small self contained PRs that are easy to review. I appreciate the efforts but you need to follow the proper rules and procedures |
Updates
.gitattributesfile #52