Skip to content

fix: quick wins from technical review (bugs, CI, Node, docs)#31

Merged
mmcky merged 4 commits intomainfrom
fix/review-quick-wins
Feb 25, 2026
Merged

fix: quick wins from technical review (bugs, CI, Node, docs)#31
mmcky merged 4 commits intomainfrom
fix/review-quick-wins

Conversation

@mmcky
Copy link
Contributor

@mmcky mmcky commented Feb 25, 2026

Quick Wins from Technical Review

Implements 4 low-risk items identified in the technical review (REVIEW.md Parts 3 & 4).

Bug Fixes

  • ProjectFrontmatter.tsx: Fix aira-label typo → aria-label (screen readers could not find the authors section)
  • ProjectFrontmatter.tsx: Add key prop to <span> elements in .reduce() (React warning in dev)
  • SidebarToggle.tsx: Swap ARIA labels — X icon now says "Hide table of contents", Menu icon says "Show table of contents"

CI Pipeline

  • Add .github/workflows/ci.yml — runs npm run compile (typecheck) + npm run prod:build on every push/PR to main

Node Engine

  • Bump engines.node from >=14 to >=18 (Remix 1.19 requires Node 18+)
  • Add .nvmrc pinned to 18
  • Update release.yml actions from v3 → v4

Documentation

  • Add CONTRIBUTING.md with development setup, scripts, project structure, commit conventions, and release process

- ProjectFrontmatter.tsx: fix 'aira-label' typo → 'aria-label'
- ProjectFrontmatter.tsx: add key prop to span elements in reduce
- SidebarToggle.tsx: swap ARIA labels (X → Hide, Menu → Show)
Runs on push/PR to main: npm run compile + npm run prod:build
- package.json engines.node: >=14 → >=18 (Remix 1.19 requirement)
- Add .nvmrc pinned to Node 18
- Update release.yml actions to v4
Development setup, available scripts, project structure, commit
conventions, and release process (Changesets).
Copy link

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 PR implements low-risk improvements identified in a technical review, focusing on bug fixes, CI automation, Node.js version alignment, and developer documentation. The changes enhance accessibility, remove React warnings, establish automated quality checks, and improve the developer experience.

Changes:

  • Fixed accessibility bugs in React components (typo in aria-label, swapped ARIA labels, missing key props)
  • Added CI pipeline to run type-checking and production builds on every push/PR to main
  • Bumped Node.js requirement from >=14 to >=18 to align with Remix 1.19, added .nvmrc, and updated GitHub Actions versions
  • Added comprehensive CONTRIBUTING.md with development setup, scripts, structure, and conventions

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
package.json Bumped engines.node from >=14 to >=18 to match Remix 1.19 requirements
app/components/toolbar/SidebarToggle.tsx Fixed swapped ARIA labels - X icon now correctly says "Hide", Menu icon says "Show"
app/components/ProjectFrontmatter.tsx Fixed typo aira-labelaria-label and added key prop to span elements in reduce with proper fallback chain
CONTRIBUTING.md Added comprehensive contributor guide covering setup, scripts, structure, commit conventions, and releases
.nvmrc Added Node version file pinned to 18 for consistent development environment
.github/workflows/release.yml Updated actions/checkout and actions/setup-node from v3 to v4
.github/workflows/ci.yml Added new CI workflow running typecheck and production build on push/PR to main

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mmcky mmcky merged commit b25f818 into main Feb 25, 2026
4 of 5 checks passed
@mmcky mmcky deleted the fix/review-quick-wins branch February 25, 2026 05:04
mmcky added a commit that referenced this pull request Feb 25, 2026
- Section 3.1: bugs marked fixed
- Section 3.3: CI, .nvmrc, CONTRIBUTING.md marked done
- Section 4: action items 1,3,7,8 struck through, PR #31 added
- Section 6: PR #31 added to PRs Created & Merged
mmcky added a commit that referenced this pull request Feb 25, 2026
- Section 3.1: bugs marked fixed
- Section 3.3: CI, .nvmrc, CONTRIBUTING.md marked done
- Section 4: action items 1,3,7,8 struck through, PR #31 added
- Section 6: PR #31 added to PRs Created & Merged
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