Skip to content

Fix calendar booking dialog missing custodian default#2097

Merged
DonKoko merged 1 commit intomainfrom
codex/fix-custodian-field-issue-in-booking-form
Oct 8, 2025
Merged

Fix calendar booking dialog missing custodian default#2097
DonKoko merged 1 commit intomainfrom
codex/fix-custodian-field-issue-in-booking-form

Conversation

@DonKoko
Copy link
Copy Markdown
Contributor

@DonKoko DonKoko commented Oct 8, 2025

Summary

  • include the self-service flag and current user id in the calendar loader payload
  • ensure the create booking dialog on the calendar has access to the custodian defaults like other routes

Testing

  • npm run typecheck

https://chatgpt.com/codex/tasks/task_b_68e531c8ecac8320b42bc599d707099f

@vercel
Copy link
Copy Markdown

vercel bot commented Oct 8, 2025

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

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
shelf-docs Ignored Ignored Preview Oct 8, 2025 7:32am

@DonKoko DonKoko requested a review from Copilot October 8, 2025 07:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds missing context to the calendar route loader so the create booking dialog can access custodian defaults consistently. Key additions are the self-service flag and current user id in the loader payload reused by the calendar UI.

  • Include isSelfServiceOrBase in loader return payload
  • Include userId in loader return payload

@DonKoko DonKoko merged commit a5202ff into main Oct 8, 2025
6 checks passed
@carlosvirreira
Copy link
Copy Markdown
Contributor

Thanks for the fix!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants