Skip to content

copy: rename user-facing 'UNIT' label to 'ENTRY'#147

Merged
sacha-l merged 1 commit into
developfrom
chore/rename-unit-to-entry
May 22, 2026
Merged

copy: rename user-facing 'UNIT' label to 'ENTRY'#147
sacha-l merged 1 commit into
developfrom
chore/rename-unit-to-entry

Conversation

@sacha-l
Copy link
Copy Markdown
Collaborator

@sacha-l sacha-l commented May 22, 2026

Summary

"Units" read oddly, so the user-facing label for a project/entry is now ENTRY / ENTRIES. User-facing strings only — internal identifiers are intentionally untouched (no import churn).

Changes (8 files, copy only)

  • Card label ENTRY {n} (unit-card.tsx) + detail modal header (unit-detail-modal.tsx).
  • Home: hero stat Total Entries, directory count N ENTRIES, featured header ·NOW SHOWING / ENTRY NNN, search entries… placeholder.
  • M2 program: ENTRY / TEAM column, row labels ENTRY NNN, empty state ·NO ENTRIES MATCH, search teams or entries… placeholder.
  • Project detail breadcrumb ·ENTRY / ; admin card ENTRY · SUBMITTED; winners count N ENTRIES; 404 No entry found at this address.

Note: the Total Entries stat label wasn't in the original scope list — caught by the grep guard during verification and included since it's user-facing.

Not changed (internal — by design)

Filenames unit-card.tsx / unit-detail-modal.tsx; components UnitCard / UnitDetailModal; types UnitForCard / Unit; fn toUnit; field unitNumber; props unit / featuredUnit / selectedUnit. None render the word to users.

Test plan

  • npm run build + npm run lint (client) — green.
  • Grep guard: grep -rni unit client/src → only internal identifiers + substring false-positives ("community", "Unity SDK") remain; no user-facing UNIT/UNITS text.
  • stadium-tester @ localhost (mock) — 7/7 PASS.

stadium-tester report

**Scenarios**: 7 total, 7 pass, 0 fail
| Scenario | Result |
| home: Total Entries, count, placeholder, ENTRY NNN cards, no UNIT leak | PASS |
| home: clicking a card opens modal headed ENTRY NNN                     | PASS |
| m2-program: ENTRY / TEAM header + placeholder, no UNIT leak            | PASS |
| project detail: breadcrumb reads ·ENTRY / <ID>                        | PASS |
| winners: count uses ENTRIES, no UNIT leak                             | PASS |
| 404: "No entry found at this address."                                | PASS |
| preview-mode sanity (window.__STADIUM_MOCK__ = true)                  | PASS |

console errors: 0

Pure copy change — no server, data, or new files. Per CLAUDE.md §6: draft, never merging.

'Units' read oddly; projects/entries are now labelled ENTRY / ENTRIES.
User-facing strings only — internal identifiers (UnitCard, unit-card.tsx,
toUnit, unitNumber, UnitForCard, UnitDetailModal) are unchanged.

Covers card labels, the detail modal header, 'NOW SHOWING / ENTRY NNN',
M2 'ENTRY / TEAM' + 'NO ENTRIES MATCH' + row labels, project-detail
breadcrumb, admin card label, the 'N ENTRIES' counts, the 'Total Entries'
stat, search placeholders, and the 404 message.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stadium Ready Ready Preview, Comment May 22, 2026 1:48am

@sacha-l sacha-l marked this pull request as ready for review May 22, 2026 01:49
@sacha-l sacha-l merged commit b32749d into develop May 22, 2026
2 checks passed
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.

1 participant