One-Click Check-Out Reports from the Urgency Banner
One-Click Check-Out Reports from the Urgency Banner
Available from: v0.1.361
Overview
The Check-Out list page includes an urgency banner that surfaces the most time-sensitive tenancy — one whose end date has already passed or is ending within the next 7 days. From this banner, agents can click Start report to immediately begin a check-out report for that tenancy.
As of v0.1.361, opening the Create Report modal from the urgency banner skips the tenancy selection step entirely. Instead of presenting a dropdown populated with all tenancies, the modal shows a locked tenancy confirmation card for the pre-identified urgent tenancy.
How it works
Opening from the urgency banner
When you click Start report on the urgency banner, the modal receives the most urgent tenancy's ID as a preselectedTenancyId. The modal detects this and switches into confirmation mode:
- The tenancy
<select>dropdown is not rendered. - A confirmation card is shown, displaying the property address.
- The inspection date is defaulted to today.
- A single Create button is presented.
Creating the report
- Review the confirmation card to verify the address.
- Adjust the inspection date if needed (it defaults to today).
- Click Create.
The report is created immediately — no additional steps required.
Changing the tenancy
If the pre-selected tenancy is not the one you intended, a 'Change tenancy' link is available on the confirmation card. Clicking it exits confirmation mode and restores the full tenancy dropdown, allowing you to select a different tenancy.
When the standard dropdown is shown
The locked confirmation card only appears when the modal is opened via the urgency banner (i.e. when preselectedTenancyId is supplied). Opening the Create Report modal through any other route — such as the standard New report button — continues to show the full tenancy dropdown as before.
Summary of changes
| Scenario | Modal behaviour |
|---|---|
| Opened from urgency banner | Locked confirmation card, inspection date defaulted to today, 1-click create |
| Opened from standard New report button | Full tenancy dropdown, manual date selection |