Skip to content

feat: added bgg api key support#167

Merged
mregni merged 20 commits into
masterfrom
feature/136-bgg-api
May 19, 2026
Merged

feat: added bgg api key support#167
mregni merged 20 commits into
masterfrom
feature/136-bgg-api

Conversation

@mregni
Copy link
Copy Markdown
Owner

@mregni mregni commented May 18, 2026

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

.NET Test Results

1 305 tests   1 305 ✅  15s ⏱️
    1 suites      0 💤
    1 files        0 ❌

Results for commit 560436b.

♻️ This comment has been updated with latest results.

@mregni mregni changed the title Feature/136 bgg api feat: added bgg api key support May 18, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

🔍 Vulnerabilities of bgt:scout-scan

📦 Image Reference bgt:scout-scan
digestsha256:84efce25c7837af92de9fc6e1fd70ba3cf0ef98edfc333acb22dfe315f1de12d
vulnerabilitiescritical: 0 high: 0 medium: 0 low: 0
platformlinux/amd64
size68 MB
packages113
📦 Base Image alpine:3
also known as
  • 3.23
  • 3.23.4
  • latest
digestsha256:4d889c14e7d5a73929ab00be2ef8ff22437e7cbc545931e52554a7b00e123d8b
vulnerabilitiescritical: 0 high: 0 medium: 1 low: 0

@github-actions github-actions Bot added size/XL and removed size/XL labels May 18, 2026
@github-actions github-actions Bot added size/XL and removed size/XL labels May 18, 2026
@github-actions github-actions Bot added size/XL and removed size/XL labels May 18, 2026
mregni and others added 2 commits May 19, 2026 08:24
Migrate both Node projects (boardgametracker.client and docs) from npm
to pnpm 10, and resolve the 7 Dependabot-flagged vulnerabilities.

Package manager:
- Add packageManager field (pnpm@10.11.0) to both package.json files
- Replace package-lock.json with pnpm-lock.yaml in both projects
- Dockerfile frontend-build stage: corepack enable + pnpm install
- All workflows: add pnpm/action-setup, switch cache to pnpm, replace
  npm ci/run/version/audit with pnpm equivalents
- csproj SpaProxyLaunchCommand: npm run dev -> pnpm dev
- Update npm references in docs snippets and authentication-guide.md

Vulnerability fixes:
- Bump axios -> ^1.15.2 (HIGH: prototype pollution)
- Bump i18next-http-backend -> ^3.0.5 (path traversal) in both projects
- Fresh lockfiles resolve transitive brace-expansion, ws, postcss
- pnpm audit reports 0 vulnerabilities in both projects

Also declares @radix-ui/react-popover as an explicit dependency in the
client — it was a phantom dependency relied on via npm's flat
node_modules and surfaced by pnpm's strict resolution.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The project had ~145 type errors that tsc reported but never blocked CI
(the build script runs vite build without typechecking). Fixed all of
them and added a typecheck gate so they cannot regress.

Test files:
- createMockField helpers now return AnyFieldApi via an explicit cast
  (shared helper in test-utils + 7 local form-test helpers)
- Test data factories now include all required fields (Badge.type/level,
  PlayerSession.won/isBot, Player.badges, Location.playCount,
  MenuItem.mobileVisible)
- BgtImageSelector test mocks typed as Dispatch/createObjectURL
- RecentActivityCard TestItem.id widened to string | number
- Updated stale BgtDatePicker tests (component was rewritten to a
  typeable input) and EditLocationModal assertion (payload now includes
  playCount)

Source files:
- tsconfig: target/lib ES2020 -> ES2022 (Object.hasOwn)
- zodValidator: z.AnyZodObject -> z.ZodObject (removed in zod v4)
- i18n: move custom formatter from interpolation.format to the
  formatter API (not in InterpolationOptions types)
- useBadgeEarnedStatus: sort string enums via localeCompare / order
  array instead of broken numeric subtraction
- ErrorFallback: narrow unknown error before accessing message/stack
- UpdateGameNightRsvp: add missing id field (both call sites pass it)
- Remove dead BgtCenteredCard imports (module no longer exists)
- Export MostPlayedGame from models index
- Various targeted fixes (OidcProvider.name, BgtPoster CSS vars,
  useMultiQuery result typing, settings form bggApiKey nullability,
  SessionFormApi store.subscribe return type, etc.)

CI:
- Add typecheck script (tsc --noEmit) and a "Typecheck frontend" step
  to ci.yml so type errors fail PRs going forward

tsc --noEmit: 0 errors. 839 tests pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added size/XL and removed size/XL labels May 19, 2026
@github-actions github-actions Bot added size/XL and removed size/XL labels May 19, 2026
@github-actions github-actions Bot added size/XL and removed size/XL labels May 19, 2026
@github-actions github-actions Bot added size/XL and removed size/XL labels May 19, 2026
@github-actions github-actions Bot added size/XL and removed size/XL labels May 19, 2026
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
80.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@mregni mregni merged commit 15ee737 into master May 19, 2026
14 of 16 checks passed
@mregni mregni deleted the feature/136-bgg-api branch May 19, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant