Skip to content

✨ feature: event sign-up question per event; drop language preference and phone from sign-ups (be#1409) - #1410

Merged
need4deed merged 2 commits into
developfrom
1409-event-sign-up-question
Nov 20, 2026
Merged

need4deed merged 2 commits into
developfrom
1409-event-sign-up-question

Conversation

@nadavosa

Copy link
Copy Markdown
Collaborator

Closes #1409 (contract: need4deed-org/sdk#370, need4deed-sdk 0.0.219)

Merge after #1408. sdk 0.0.219 also carries the organization about translation contract, so typecheck here fails until be#1408 is on develop; I'll merge develop in then. Tested on a local merge with be#1408: typecheck clean, yarn test:db 2675/2675.

Schema (needs your ok, @arturasmckwcz), generated against db-test:

  • event_n4d.sign_up_question varchar(200), nullable
  • event_n4d_registration.sign_up_answer varchar(500), nullable
  • event_n4d_registration.phone and language_preference dropped (today's few values are lost; approved by Nadav)

Behaviour

  • Event create/patch/get carry signUpQuestion; blank clears it.
  • Sign-up stores signUpAnswer (trimmed) only when the event has a question.
  • CSV export: no Phone/Language columns; the question is a column header when set.
  • An old client still sending phone is not rejected; the field is stripped.

🤖 Generated with Claude Code

… and phone from sign-ups (be#1409)

Migration: event_n4d.sign_up_question; event_n4d_registration.sign_up_answer
replaces language_preference; phone dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nadavosa

Copy link
Copy Markdown
Collaborator Author

@arturasmckwcz if you have time please review this one

…-question

# Conflicts:
#	package.json
#	yarn.lock
@nadavosa

Copy link
Copy Markdown
Collaborator Author

Self-review: looks good; develop (with be#1408) is merged in, lint green, event + organization tests 308/308. Note: if a coordinator removes the question later, the export and list hide the answers already given (they stay in the database).

@arturasmckwcz be#1408 is in, so this one is ready. If you have time please review this one, mainly the migration (drops phone and language_preference).

@need4deed
need4deed added this pull request to the merge queue Nov 20, 2026
Merged via the queue into develop with commit 5652ebd Nov 20, 2026
2 checks passed
@need4deed
need4deed deleted the 1409-event-sign-up-question branch November 20, 2026 18:11
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.

✨ feature: event sign-up question per event; drop language preference and phone from sign-ups

2 participants