Repository navigation
feat(concierge): add a report of the bookings of a single user (PPT-2844) - #568
Merged
Merged
Conversation
…844) Concierge had no way to list the bookings of one person. The new report at /reports/user takes a user and a date range, and lists the desk, parking, locker and room bookings of that user in the active building, or in the active region when `app.use_region` is set. - Desk, parking and locker bookings come from the bookings API, filtered by zone and user email. - Room bookings come from the room events of the zone. The report keeps the events that the user hosts, or that have the user as `host_override`. The events API reads the calendar of another user only on some tenants, so the report does not use it. - The report has totals for each type, a sortable table, CSV download and print. - The sidebar link needs `user-report` in `app.features`. The menu card needs `user` in `app.reports.features`. Both are off by default.
|
Deployment failed for project frontend-templates with the following error: Learn More: https://vercel.com/placeos?upgradeToPro=build-rate-limit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Concierge had no way to list the bookings of one person. Each report shows one booking type for all users.
Jira: PPT-2844
Fix
A new report at
/reports/user. Select a user and a date range. The report lists the desk, parking, locker and room bookings of that user in the active building, or in the active region whenapp.use_regionis set.host_override.user-reportinapp.features. The menu card needsuserinapp.reports.features. Both are off by default. The route works without them.Why room bookings do not come from the user calendar
The events API reads the calendar of another user only on tenants with a service account or delegated access. On other tenants it returns the calendar of the signed-in user and gives no error. The zone query works on all tenants.
Limits
Lockers 0.Checks
Model and harness: Claude Opus 5.5, Claude Code.
🤖 Generated with Claude Code