Magic Compose calls fields "columns" on the draft banner, the drafting screen and its warnings
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 85/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- react, typescript
- Ambito
- frontend
Direzione di ricerca
Inizia in src/components/magic-compose/AiDraftBanner, Drafting.tsx, Steps.tsx e src/lib/magic-compose/to-template.ts; sostituisci le stringhe 'column' elencate con la dicitura esatta 'field'. Aggiorna to-template.test.ts per corrispondere alle nuove frasi di avviso. Fatto quando pnpm lint && pnpm typecheck && pnpm knip && pnpm test passano e nessun 'column' rivolto agli organizer rimane fuori da CSS.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
After an AI draft, the Build tab's banner says "Here's your draft, 2 columns and 3 slots". The Build tab itself calls the same things Fields (its button reads "Fields (2)"), and docs/writing-help.md says to call them fields and never columns. Organizers see the word "column" in four places, all in Magic Compose:
- The draft banner:
AiDraftBannerbuilds its title as "Here's your draft, N column(s) and N slot(s)". - The drafting screen:
Draftinglabels the live preview's field chips "Columns". - The step list:
DRAFT_STEPSinsrc/components/magic-compose/Steps.tsxhas "Choosing columns for each slot", shown on the reading, questions and drafting screens. - The "A few things to double-check" warnings:
buildWarningsinsrc/lib/magic-compose/to-template.tssays "cell(s) … didn't match the column's format", "Column(s) X arrived without a fixed list of options", "duplicate column(s)" and "didn't match any column".
Fix, in outline
Use these exact strings:
- Banner: "Here's your draft, 2 fields and 3 slots", and "1 field" for one.
- Drafting screen label: "Fields".
- Step: "Choosing fields for each slot". Keep its
id: 'fields'. - Warnings:
- "1 value was left blank because it didn't fit its field. Fill it in below." / "3 values were left blank because they didn't fit their fields. Fill them in below."
- "Field Shift arrived without a fixed list of options, so it was switched to free text." / "Fields Shift, Role arrived without …, so they were switched to free text."
- "Removed 2 duplicate fields the AI tried to add twice." (singular "field")
- "Ignored 2 stray values that didn't match any field."
Watch for
- Leave the AI-facing text alone. "Fields are columns the organizer fills in" in
src/lib/signup-rules.ts,src/lib/magic-compose/persist.tsand the MCP tool descriptions (src/mcp/tools/guides.ts,fields.ts,signups-read.ts) explains fields to a model, not to an organizer.signup-rules.tsis also pinned bymagic-compose/__golden__/system-prompt.txtandRULES_IN_BOTH, so changing it would need an eval run. It's out of scope here. - CSS names stay.
gridTemplateColumnsand the like inDrafting.tsxare layout, not words people read. - Tests that pin the old wording:
to-template.test.tsmatches/cell was left blank/. Update it to the new sentence rather than loosening it. - #718 also edits
Steps.tsx(the step label colours, a few lines belowDRAFT_STEPS). Whichever lands second has a small merge to make. - CHANGELOG: add an entry under "Changed". No help page uses these strings (checked
src/help).
Done when
- None of the strings above say "column", and grepping
src/componentsandsrc/lib/magic-compose/to-template.tsfinds no organizer-facing "column" outside CSS names. - A test pins the banner title for one field and for several ("1 field", "2 fields and 3 slots").
to-template.test.tschecks the new warning sentences.pnpm lint && pnpm typecheck && pnpm knip && pnpm testpass.
From the owner's notes (a screenshot of the draft banner, asking "They're fields not columns right?"), checked against 2d4fdfe on main. https://claude.ai/code/session_016YZ9SWYPU95kTg4qsmYbzE
- Lingua principale
- TypeScript
- Stelle
- 19
- Fork
- 4
- Merge medio
- 19h 27m
- PR unite (30g)
- 199
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di richshaw/OpenSignup
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
richshaw/OpenSignup#794 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement pipeline:proposed pipeline:ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
richshaw/OpenSignup#654 ·
I maintainer di solito rispondono entro 1 giorno
-
Slot times are shown with their own copy of the HH:MM rule that saving them checksForse già presa @novakzx l’ha presa oggi. Apertaenhancement good first issue pipeline:ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
richshaw/OpenSignup#805 ·
I maintainer di solito rispondono entro 1 giorno
-
The sign-up dialog decides "See alternatives" with its own copy of the rule behind "Pick another slot."Forse già presa @dafeiyupola l’ha presa oggi. Apertaenhancement good first issue pipeline:ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
richshaw/OpenSignup#803 ·
I maintainer di solito rispondono entro 1 giorno
-
A failed database query logs its parameters, so OAuth tokens and participant details can end up in the logsForse già presa @richshaw l’ha presa 1 giorno fa. Apertabug pipeline:building
richshaw/OpenSignup#800 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di richshaw/OpenSignup
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
area:ui bug effort:S priority:P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Typo in WSL project description on Projects pageForse già presa @akhil9tiet l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
microsoft/opensource.microsoft.com#1066 · 1 commento ·
-
ArcGIS Maps SDK for JavaScript c-carousel calcite-design-tokens enhancement impact - p3 - not time sensitive needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Esri/calcite-design-system#15565 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
linkwarden/linkwarden#1891 ·
I maintainer di solito rispondono entro 1 giorno