Skip to content

Comments

feat(routing-forms): ask for identifier first, don't prefill from label#28131

Open
aiko-service wants to merge 2 commits intocalcom:mainfrom
aiko-service:feat/routing-forms-booking-questions
Open

feat(routing-forms): ask for identifier first, don't prefill from label#28131
aiko-service wants to merge 2 commits intocalcom:mainfrom
aiko-service:feat/routing-forms-booking-questions

Conversation

@aiko-service
Copy link

@aiko-service aiko-service commented Feb 22, 2026

Fixes #18987


Summary by cubic

Reorders routing form fields to ask for the identifier first and stops prefilling or auto-updating it from the label. Also adds “optional host” support for team events and updates availability to ignore optional hosts.

  • New Features

    • Routing forms: Identifier now appears above Label; no prefill from Label and no auto-sync; value lowercased on change.
    • Team events: Added Optional/Required toggle for non-fixed hosts in the team selector; new i18n strings for labels.
    • Availability: Optional hosts are excluded from both fixed and round-robin availability calculations.
    • API/Types: Added isOptional to Host model, validation schema, repository selects, update handler, and user mapping.
  • Migration

    • Adds Host.isOptional (default false). Run database migrations.
    • Existing hosts remain required by default.

Written for commit 76db967. Summary will update on new commits.

- Move identifier field above label field
- Remove auto-update of identifier from label changes
- Empty default value for identifier (no prefill)
- Matches event-types form builder behavior

Fixes calcom#18987
@aiko-service aiko-service requested a review from a team as a code owner February 22, 2026 21:55
@github-actions github-actions bot added the ❗️ migrations contains migration files label Feb 22, 2026
@graphite-app graphite-app bot added the community Created by Linear-GitHub Sync label Feb 22, 2026
@github-actions github-actions bot added $50 event-types area: event types, event-types routing-forms area: routing forms, routing, forms ✨ feature New feature or request 💎 Bounty A bounty on Algora.io 🧹 Improvements Improvements to existing features. Mostly UX/UI labels Feb 22, 2026
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 12 files

@graphite-app
Copy link

graphite-app bot commented Feb 22, 2026

Graphite Automations

"Send notification to Community team when bounty PR opened" took an action on this PR • (02/22/26)

2 teammates were notified to this PR based on Keith Williams's automation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💎 Bounty A bounty on Algora.io community Created by Linear-GitHub Sync event-types area: event types, event-types ✨ feature New feature or request 🧹 Improvements Improvements to existing features. Mostly UX/UI ❗️ migrations contains migration files routing-forms area: routing forms, routing, forms size/M $50

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CAL-5097] add the same "booking questions" to routing forms

1 participant