FeaturesDepositClearUpdated March 10, 2026
Wear & Tear Guidance: Slide-Over Drawer (v0.1.75)
Wear & Tear Slide-Over Drawer
Introduced in v0.1.75
The Wear & Tear (W&T) guidance panel in the Add Deduction dialog has been redesigned. Instead of expanding inline inside the modal, the guidance now opens in a slide-over drawer on the right side of the screen.
How it works
- Open the Add Deduction dialog from the Deduction Claim Builder (
/dashboard/deductions/[tenancyId]). - The dialog shows only the core deduction fields:
- Description
- Category
- Amount
- Wear & Tear acknowledgement
- Click "View W&T Guidance" to open the slide-over drawer.
- The drawer slides in from the right, overlaying the page — not the dialog — so you can read guidance and interact with the form at the same time.
- Close the drawer at any time without losing your form input.
What's inside the drawer
The slide-over contains the same three W&T sub-sections that were previously inline:
| Section | Description |
|---|---|
| Fair Wear & Tear | Guidance on what constitutes normal deterioration that cannot be charged to the tenant. |
| Tenant Liable | Criteria for damage or neglect that goes beyond fair wear and tear. |
| Depreciation Calculator | Tool for calculating an age-adjusted deduction amount based on item age and expected lifespan. |
Using the Depreciation Calculator
Previously, using the Depreciation Calculator required scrolling within the modal to copy the calculated amount back to the Amount field. The slide-over layout removes this friction:
- Open the W&T drawer and navigate to the Depreciation Calculator section.
- Enter the item's original cost, age, and expected lifespan.
- Use the "Apply to Amount" action to push the calculated value directly into the Amount field in the main dialog.
- Close the drawer — your form is still open with the value populated.
Keyboard & accessibility
- The drawer can be dismissed with the Escape key.
- Focus is trapped within the drawer while it is open.
- Closing the drawer returns focus to the "View W&T Guidance" button in the main dialog.
Affected component
src/app/dashboard/deductions/[tenancyId]/deduction-claim-builder.tsx
The AddDeductionDialog component was refactored to separate the W&T panel into a dedicated slide-over component. No changes were made to the underlying deduction data model or API.