New signups don't start in their organizer's language
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- next.js, typescript
- Lĩnh vực
- backend-api-design, internationalization
Hướng nghiên cứu
Start with the listed signup routes, the New signup form action, MCP create_signup input, and src/lib/magic-compose/persist.ts; read the organizer locale work in #626 first. Trace each create path and its telemetry, then update the tool docs, registry snapshots, privacy page, telemetry docs, and CHANGELOG. Done means tests cover each create path and localeSource, MCP locale handling, and the listed lint, typecheck, knip, test, and database checks pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Needs your OK: this makes every new signup take its organizer's language, whether it's made in the browser, by Magic Compose, through the API or by an AI assistant. Nothing changes until Swedish ships. create_signup gains an optional locale. Swap pipeline:proposed for pipeline:ready to have it built.
What happens
Signups have a language (#625) and organizers have one (#626), but nothing connects them: a new signup gets no language.
Fix, in outline
- The rule. A new signup's language is the one an API or MCP caller sent; otherwise, the organizer's effective language (
getOrganizerLocale, #626). The route decides and passes it into the service, so services stay pure. - Only once there's a choice. While
SHIPPED.participantholds only English, creates store nothing, unless a caller sends a shipped value. That way no signup is pinned to an English nobody chose; these signups followresolveLocalewhen read. - Every create path:
- the browser route (
src/app/api/signups/route.ts) and the New signup form's action; - Magic Compose (
src/app/api/signups/magic-compose/route.ts); - MCP.
- the browser route (
- MCP
create_signup.- Add an optional
localeto its input with.extend(). Don't put it onFullDraftSchema, which is also Magic Compose's output schema. - Strip it before
persistDraft, which takes the language as an option and puts it increateSignup's settings (src/lib/magic-compose/persist.ts). - Without one, the signup takes
ctx.localefrom #626. - An unsupported value is
invalid_input, with a suggestion listing the allowed values. - Magic Compose passes the organizer's language through the same option.
- Add an optional
- Telemetry.
signup.createdgainslocaleandlocaleSource(setting | instance | browser | api | default); document both indocs/telemetry.md. The privacy page's activity-log sentence gains them, becausebrowserrecords a fact taken from the organizer's browser. Its "Last updated" date moves. - Docs: the tool description, the registry snapshots, and
docs/connect-ai-assistant.md.src/mcp/instructions.tsneedn't change, because without alocalethe organizer's own language applies.
Watch for
- Changing the organizer's language later doesn't move existing signups. The language is stored on each signup.
- Keep
groupByFieldRefsaspersistDraftbuilds it today. - Add a CHANGELOG entry.
Choices this makes
- No language picker on the New signup page. Default: none. Most signups are in their organizer's language, and the rest are changed in the signup's Settings tab.
Order
After #626, because the organizer's language and ToolContext.locale come from it.
Done when
- Tests cover each create path and each
localeSource, pluscreate_signupwith alocale, without one, and with an unsupported one. - The MCP registry snapshots are updated.
pnpm lint && pnpm typecheck && pnpm knip && pnpm testandpnpm test:dbpass.
Planned with the owner in https://claude.ai/code/session_01EFKmj716ZY3b3SwR8TV8Y2 and checked against the code on main at 35288fa. The full plan is private to the owner's account: https://claude.ai/artifact/VgQH6U2s2EVx3LX991fJi8 (a Claude session on that account can open it with the Artifact tool's read action). This is part of step 1.1 there.
- Ngôn ngữ chính
- TypeScript
- Star
- 19
- Fork
- 4
- Merge trung bình
- 21 giờ 3 phút
- Pull request đã merge (30 ngày)
- 176
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của richshaw/OpenSignup
-
enhancement pipeline:proposed pipeline:ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
richshaw/OpenSignup#654 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The help pages never say "pause", so organizers looking for it miss Close or reopen a signupCó thể đã có người làm @richshaw đã nhận 1 ngày trước. Đang mởenhancement pipeline:building pipeline:ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
richshaw/OpenSignup#653 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement pipeline:proposed pipeline:ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
richshaw/OpenSignup#652 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SMTP timeout notes in smtp.ts and the changelog describe nodemailer 10.0, not 10.1Có thể đã có người làm @agammann đã nhận 2 ngày trước. Đang mởenhancement good first issue pipeline:ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
richshaw/OpenSignup#645 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement pipeline:proposed pipeline:ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
richshaw/OpenSignup#589 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của richshaw/OpenSignup
Issue tương tự
-
Add: MahdawiounTV HDĐang mởcheck:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
iptv-org/iptv#56890 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
franciscoBSalgueiro/en-croissant#1061 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
S: triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
comp/desktop desktop/shell os/windows P3 tool/file type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NousResearch/hermes-agent#145928 ·
Maintainer thường phản hồi trong vòng 1 ngày