RAIA™ Specification

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.

← Back to Developer Hub TEXTBOOK SPECIFICATION
In Plain English

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.

Frontend Architecture Design Contract Universal Components Eugin directive 2026-08-09
≤ 4
Key data points shown per RHS section — hard limit
10
Universal RHS components in the inbox component directory
100%
Components must be importable from ANY screen — no per-view copies
1
SSOT property card — PropertySection.tsx (PropertyCard.tsx deleted)

RHS Context Panel — Component Layout Universal Inbox (LHS) Conversation list Selected message thread Compose / reply area context RHS Context Panel MessageSummarySection ContactSection PropertySection ServiceSection OutstandingActions OwnershipLineage

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.

The Five Rules — Every RHS Component Must Satisfy All Five
  1. 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.
  2. Always include a navigation affordance. Every section must link to the full card, tab, or view. No dead-end panels.
  3. Never duplicate the centre workspace. The RHS supports the user's focus; it does not mirror or replace what the centre already shows.
  4. Compact and scannable — no scrolling required per section. Each section must be readable in a single glance.
  5. Universal — reusable from any screen. Components are imported, not copy-pasted. A component that only works in one view is an anti-pattern.
Decision Rule — When Content Does NOT Belong in the RHS

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

CENTRE WORKSPACE Message thread / active task / full record Full message body (WhatsApp style) All message thread history Full property attributes Full service agreement clauses Full person KYC / compliance RHS CONTEXT PANEL ≤ 4 data points per section + nav link PersonHeaderSection — Name · Role · Priority · Difficulty → PropertySection — Thumbnail · Tag · Status · Occupancy → ServiceSection — Bundle · Status · Fee → OutstandingActionsSection — Count · Blocked → context

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.

❌ Do Not Build in the RHS
  • 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
✅ Correct RHS Content
  • ≤ 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)

  1. 1
    PropertySection is the SSOT property card

    The management_status alias has been deleted at source. asset_status is the canonical field throughout the entire codebase. Do not introduce any alias or alias mapping — use asset_status everywhere.

  2. 2
    hideHeader prop suppresses double-headers on embed

    When PropertySection is embedded inside another panel's <Section> wrapper (e.g. LandlordRightPanel), pass hideHeader={true}. Without it, the panel's own header and PropertySection's built-in header both render, producing two "Property" headings stacked on top of each other. See the hideHeader prop pattern below.

  3. 3
    Pill 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. 4
    @/components/properties/PropertyCard.tsx deleted

    @/components/properties/PropertyCard.tsx was a duplicate renderer. It has been deleted. The single canonical renderer is PropertySection.tsx in the inbox components directory. If you see any import referencing the old path, it must be updated.

  5. 5
    RHS 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>
!
Missing hideHeader = double "Property" heading

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
}
!
management_status is deleted — do not use it

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

  1. 1
    Apply 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.

  2. 2
    Create 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.

  3. 3
    Use 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. Support hideHeader if your component has an internal header that could double-up with a parent wrapper.

  4. 4
    Add 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.

  5. 5
    Import 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

WhatPath
All RHS inbox componentssrc/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

SourceTypeNotes
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