Skip to content

chore(#251): codebase cleanup — dead files, stale docs, wrong paths#252

Merged
ChristopherRotnes merged 3 commits into
masterfrom
chore/251-codebase-cleanup
May 15, 2026
Merged

chore(#251): codebase cleanup — dead files, stale docs, wrong paths#252
ChristopherRotnes merged 3 commits into
masterfrom
chore/251-codebase-cleanup

Conversation

@ChristopherRotnes
Copy link
Copy Markdown
Owner

Summary

Dead files deleted

  • Bibliotek.jsx — retired since v1.4.0, zero imports
  • OvelseDetail.jsx — never imported anywhere, superseded by inline ExerciseForm editing

README.md

  • Removed Bibliotek.jsx entry from project structure table
  • Fixed ExerciseRow.jsx description — no longer mentions sets/reps (removed in v1.5.0)
  • Fixed wrong paths: carbon-tokens.css and app.css are in app/src/styles/, not app/public/styles/
  • Fixed staticwebapp.config.json — lives at app/public/staticwebapp.config.json, not app/staticwebapp.config.json

CLAUDE.md

  • Replaced "What was done" Carbon migration narrative with current-state description
  • Removed Bibliotek.jsx RETIRED entry
  • Removed History.jsx / MonthGrid.jsx bullet (its only content was "removed react-day-picker" — historical noise)
  • Removed "Removed: Bebas Neue, DM Sans..." bullet
  • Trimmed i18n line — replaced "date-fns has been removed entirely" with prescriptive instruction
  • Trimmed sets/reps note — stated as current fact, not history
  • Trimmed gym-wide templates section — removed RLS old/new policy diff and db.js change list; kept the FK constraint warning which is still actionable
  • Fixed ExerciseRow.jsx component description — removed stale "sets/reps inputs"
  • Fixed ExerciseForm.jsx — removed "Extracted from inline definition in Bibliotek.jsx"
  • Fixed API security bullet — now correctly documents X-Supabase-Token (was incorrectly stating Authorization: Bearer)
  • Cleaned up template navigation — removed "(was onShowBibliotek)"

app/package.json

  • Bumped version from stale 1.1.0-rc.1 to 1.5.10

Test plan

  • Lint passes (no imports of deleted files)
  • No remaining references to OvelseDetail or Bibliotek in source

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-island-090dfd003-252.westeurope.7.azurestaticapps.net

ChristopherRotnes and others added 2 commits May 16, 2026 00:10
…ale dep

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-island-090dfd003-252.westeurope.7.azurestaticapps.net

@ChristopherRotnes ChristopherRotnes merged commit a1e3f65 into master May 15, 2026
2 checks passed
@ChristopherRotnes ChristopherRotnes deleted the chore/251-codebase-cleanup branch May 15, 2026 22:14
@ChristopherRotnes ChristopherRotnes restored the chore/251-codebase-cleanup branch May 15, 2026 22:21
@ChristopherRotnes ChristopherRotnes deleted the chore/251-codebase-cleanup branch May 15, 2026 22:21
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.

As a developer I want the codebase and docs cleaned up so I can work from a clear, accurate baseline

1 participant