3.XX RHS Context Panel — Architecture, Component Inventory & Design Contract
Think of the Right-Hand Side (RHS) panel like a sticky note clipped to a file folder. While you are working on a message in the centre of the screen, the panel quietly shows you the four most important things about the person and property involved — their name, the property address, the service contract, and any open actions. It does not show everything; it shows just enough so you can act without switching screens. If you need the full picture, every section has a link that takes you straight to it.
Think of the Right-Hand Side (RHS) panel like a sticky note clipped to a file folder. While you are working on a message in the centre of the screen, the panel quietly shows you the four most important things about the person and property involved — their name, the property address, the service contract, and any open actions. It does not show everything; it shows just enough so you can act without switching screens. If you need the full picture, every section has a link that takes you straight to it.
The compact right-hand panel that surfaces just enough context to support the user's focus in the centre workspace — never a full detail view. Every section provides a navigation affordance to the full card or tab.
Section A Design Contract
Every RHS component must honour this contract. These rules were set by Eugin on 2026-08-09 and are not advisory — they are the acceptance criteria for every section added to any RHS panel.
- Show ≤ 4 key data points per section. If a section needs more than four data points to make sense, the information belongs in the centre workspace or a dedicated tab — not the RHS.
- Always include a navigation affordance. Every section must link to the full card, tab, or view. No dead-end panels.
- Never duplicate the centre workspace. The RHS supports the user's focus; it does not mirror or replace what the centre already shows.
- Compact and scannable — no scrolling required per section. Each section must be readable in a single glance.
- Universal — reusable from any screen. Components are imported, not copy-pasted. A component that only works in one view is an anti-pattern.
If you cannot represent the information in ≤ 4 data points, or if understanding it requires seeing the full record, it belongs in the centre workspace or a dedicated centre tab. The RHS is a glance surface, not a mini version of the full screen.
Layout Concept
Section B Component Inventory
All components live at src/app/dashboard-v2/_components/inbox/. Every component is universal — import it from that path; never duplicate it into another folder.
| Component | File | Shows (≤ 4 fields) | Links To | Used By |
|---|---|---|---|---|
| MessageSummarySection | MessageSummarySection.tsx |
Subject · Sent To · Created At · Status | — (IS the context) | Universal Inbox RHS only |
| PersonHeaderSection | PersonHeaderSection.tsx |
Name · Role pill · Priority · Difficulty | Full person profile / Landlord centre | Universal Inbox RHS, Landlord RHS |
| ContactDetailsSection / ContactSection | ContactDetailsSection.tsx, ContactSection.tsx |
Primary email · Primary phone · Preferred channel | — | Universal Inbox RHS |
| PropertySection SSOT | PropertySection.tsx |
Thumbnail · Property tag · asset_status pill · Occupancy pill (VACANT / OCCUPIED) · Bedrooms count |
/dashboard-v2?tab=props-attributes&asset_id= |
Universal Inbox RHS, Landlord Clients RHS (via hideHeader={true}) |
| ServiceSection | ServiceSection.tsx |
Service bundle · Service status pill · Fee | /dashboard-v2?tab=ll-services |
Universal Inbox RHS, Landlord Clients RHS |
| TenancySection | TenancySection.tsx |
Property · Tenant name · Tenancy status · Start/End dates | Full tenancy view | Universal Inbox RHS |
| ConversationIntelligenceSection | ConversationIntelligenceSection.tsx |
Complaints count · Last contact · Language | — | Universal Inbox RHS |
| OutstandingActionsSection | OutstandingActionsSection.tsx |
Action count · Blocked reason | Actions tab | Universal Inbox RHS |
| SuggestedPersonSection | SuggestedPersonSection.tsx |
AI-suggested person match | Person profile | Universal Inbox RHS |
| AttachmentCard | AttachmentCard.tsx |
Attachment name · Type | Document viewer | Universal Inbox RHS |
Section B What the RHS Is NOT For
The following content must never appear in the RHS. If you find yourself building any of these, move the content to the appropriate centre workspace tab instead.
- All property / asset attributes (EPC, certificates, keys, floor plans) — that's the Properties centre tab
- Full person information (full KYC, all channels, compliance history) — that's the Person / Landlord centre panel
- Message thread history — that's the centre workspace
- All service agreement clauses — that's the Services tab
- A rebuilt version of the centre workspace inside the RHS
- ≤ 4 fields that answer "who, what, where, and what's blocking"
- Status pills — one glance tells you the state
- A single navigation arrow / link to the full view
- Counts (e.g. 3 actions, 2 complaints) — not lists
- Thumbnails and tags — visual identifiers only
Section C Architectural Decisions (2026-08-09)
-
1PropertySection is the SSOT property card
The
management_statusalias has been deleted at source.asset_statusis the canonical field throughout the entire codebase. Do not introduce any alias or alias mapping — useasset_statuseverywhere. -
2hideHeader prop suppresses double-headers on embed
When
PropertySectionis embedded inside another panel's<Section>wrapper (e.g.LandlordRightPanel), passhideHeader={true}. Without it, the panel's own header andPropertySection's built-in header both render, producing two "Property" headings stacked on top of each other. See the hideHeader prop pattern below. -
3Pill order in PropertyCard
The canonical pill order is:
[STATUS] [VACANT/OCCUPIED] [WIN BACK] [beds] [sqft]. The bath icon has been removed to save space. Do not add it back. Do not reorder the pills without a documented decision. -
4@/components/properties/PropertyCard.tsx deleted
@/components/properties/PropertyCard.tsxwas a duplicate renderer. It has been deleted. The single canonical renderer isPropertySection.tsxin the inbox components directory. If you see any import referencing the old path, it must be updated. -
5RHS components are universal — never copy-paste per view
Every RHS component must be importable and reusable from any screen. If you need the same component on a new screen, import it — do not duplicate the file. Duplication creates drift and contradictions between views.
Section C The hideHeader Prop Pattern
When PropertySection is used standalone in the Universal Inbox RHS, it renders its own section header internally. When it is embedded inside another panel that provides its own <Section> wrapper header, you must pass hideHeader={true} to prevent the double-header.
Example — Landlord Clients RHS embedding PropertySection
// LandlordRightPanel.tsx
import PropertySection from '@/app/dashboard-v2/_components/inbox/PropertySection';
// Inside the panel's <Section title="Property"> wrapper:
<Section title="Property">
<PropertySection
assetId={landlord.primaryAssetId}
hideHeader={true} // ← suppress PropertySection's own header
/>
</Section>
Omitting hideHeader={true} when embedding inside another panel's wrapper will produce two stacked "Property" headings. This is a visual bug, not a functional one — but it is the wrong pattern. Always audit embeds for this.
Section C PropertyItem Interface
The canonical shape passed to PropertySection. Use asset_status — never management_status.
interface PropertyItem {
asset_id: string;
property_tag: string; // e.g. "OXF-001"
asset_status: string; // canonical — e.g. "managed", "lost", "prospect"
occupancy: 'VACANT' | 'OCCUPIED';
bedrooms: number;
thumbnail_url: string | null;
is_win_back?: boolean; // triggers WIN BACK pill
}
The management_status alias was removed from the codebase on 2026-08-09. Any reference to it is a bug. Use asset_status everywhere — in the DB query, in the TypeScript interface, and in conditional rendering logic.
Section C How to Add a New RHS Component
-
1Apply the design contract first
Before writing a line of code, confirm: can this section be expressed in ≤ 4 data points? Does it have a clear navigation affordance to the full view? If not, it belongs in the centre workspace, not the RHS.
-
2Create the file in the inbox components directory
File location:
src/app/dashboard-v2/_components/inbox/YourNewSection.tsx. Do not create the file anywhere else — universal components live in this directory. -
3Use the Section wrapper and keep it compact
Wrap your content in the standard
<Section>container used by the other RHS components. Do not add custom outer wrappers. SupporthideHeaderif your component has an internal header that could double-up with a parent wrapper. -
4Add a navigation affordance
Include a right-arrow link or "View →" anchor that routes the user to the full view for this data. It must be present in the component itself — not delegated to the page that embeds it.
-
5Import from the universal path — never copy
Once created, use:
import YourNewSection from '@/app/dashboard-v2/_components/inbox/YourNewSection'from every screen that needs it. If a second screen needs the same component, import it — do not copy the file.
Section C File Locations
| What | Path |
|---|---|
| All RHS inbox components | src/app/dashboard-v2/_components/inbox/ |
| PropertySection (SSOT property card) | src/app/dashboard-v2/_components/inbox/PropertySection.tsx |
| LandlordRightPanel (example of hideHeader reuse) | src/app/dashboard-v2/_components/landlords/LandlordRightPanel.tsx |
| Deleted duplicate (do not restore) | src/components/properties/PropertyCard.tsx |
References References & External Sources
| Source | Type | Notes |
|---|---|---|
| 3.XX Property Status Architecture — Pill Mapping & Win-Back Flag | Internal doc | Canonical reference for asset_status pill colours and is_win_back logic used by PropertySection |
| Universal Inbox — Core of RAIA (Real estate Artificial Intelligence Agent) Operations (ADR-273/280/285/286) | Internal doc | Defines the centre workspace that the RHS panel supports; sets context for what belongs where |
src/app/dashboard-v2/_components/inbox/ |
Source code | Live component directory — authoritative list of all current RHS components |
src/app/dashboard-v2/_components/landlords/LandlordRightPanel.tsx |
Source code | Reference implementation of hideHeader={true} embed pattern |