Skip to main content

Messaging System

Version Docs Updated

React SPA (since v4.40.0)

The Messages admin page was fully migrated to a React SPA in v4.40.0 (CSS polish finalized in v4.41.0). All 6 React components are served from build/admin/messages.js. The page loads without a PHP full-page render β€” data is fetched via /wp-json/mhm-rentiva/v1/messages/* REST endpoints. Legacy PHP render methods were removed.

The Messaging System is a centralized support channel that lets you communicate directly and securely with your customers before or after a rental. Manage all incoming requests via MHM Rentiva > Messages.


πŸ“© Message List and Filtering​

The inbox is organized by urgency and type of request. The list includes the following main columns:

  • Subject & Labels: New (NEW) messages are highlighted with an orange label.
  • Priority: Urgency level set to "Low", "Normal", or "High".
  • Category: The topic of the message (General, Support, Booking Issue, etc.).
  • Status: Status tracking as "Pending", "Replied", or "Closed".

πŸ’¬ Communication and Reply Flow​

Clicking a message opens a detail page that presents the dialogue with the customer in a thread structure:

  1. Customer Identity: The username and email address of the sender appear at the top.
  2. Message Content: The actual text sent by the customer and the send time (e.g. "3 weeks ago").
  3. Reply Button: Allows you to instantly write a reply to the customer from the admin panel.
πŸ“Έ IMAGE: MESSAGE DETAILS AND REPLY FLOW
mhm-rentiva-message-details-reply

βš™οΈ Technical Management and Booking Association​

The message editing screen has a critical feature for maintaining operational context: Booking Association.

  • Category and Status Change: The admin can manually update the message type and its status (e.g. from Pending to Replied).
  • Booking Mapping: You can link an incoming message to an existing booking number (such as #3037). This way, when you view the booking details, you can see all historical correspondence related to that transaction.

πŸ“± Mobile Responsive (v4.48.0+)​

The message table switches to a stacked card layout on small screens (≀782px). Column headers are injected inline via CSS attr(data-label) β€” no horizontal scroll. Thread view also stacks vertically.


React Components (v4.40.0+)​

ComponentPurpose
MessagesPageRoot β€” list view + thread view + settings view
MessageTableSortable, filterable message inbox
ThreadViewChat-bubble thread with reply form
SettingsViewCategory and status management

REST Namespace: GET/POST /wp-json/mhm-rentiva/v1/messages/*


Section Summary​

  • Organize support requests with Message Filtering.
  • Improve customer satisfaction with Reply Flow.
  • Match communication history with operational data using Booking Association.

Changelog​

DateVersionNote
11.05.20264.48.0Mobile stacked layout for message table (≀782px).
11.05.20264.41.0CSS polish finalized. Payouts admin menu added.
11.05.20264.40.0Full React SPA migration. MessagesPage, MessageTable, ThreadView, SettingsView components.
23.04.20264.27.2Documentation synchronized with the current plugin release.
19.03.20264.21.2Message documentation updated with reply flow and booking association features against the real interface.
26.02.20264.21.0Initial version created.