Skip to main content

History

history.yml controls the conversation/history view opened from mailbox entries. It renders received and sent records differently, then provides paging, back, and close controls.

Source file:

modules/announce/Mailbox/gui/history.yml
menus:
title: "<dark_gray>Mailbox History</dark_gray> <black>(%page%/%max_page%)</black>"
rows: 6

The title supports %page% and %max_page%. The current layout uses six rows.

menus:
content-slots:
- "9-44"

These slots are used for history entries. The current layout reserves the top row and bottom row for decorations and buttons.

menus:
entry:
received:
material: PAPER
name: "<yellow>Received</yellow> <gray>-</gray> <white>%date%</white>"

This template renders received history entries.

Supported placeholders include:

%date%
%from%
%to%
%rewards%
%message_lines%

The configured actions are:

left:
- "[MAILBOX] OPEN_HISTORY_ENTRY"
right:
- "[MAILBOX] DELETE_HISTORY_ENTRY"

Left click opens the mailbox entry. Right click opens delete confirmation for inbox history entries. The service only deletes inbox mail from this path; sent history entries are not deleted through DELETE_HISTORY_ENTRY.

menus:
entry:
sent:
material: FILLED_MAP
name: "<gold>Sent</gold> <gray>-</gray> <white>%date%</white>"

This template renders sent history entries.

The configured [MAILBOX] OPEN_HISTORY_ENTRY action opens the sent view for the selected sent entry.

The previous button is currently in slot 45. [MAILBOX] PAGE_PREVIOUS opens the previous history page.

behavior.ifnoPrevious changes the button to a gray disabled item when the page cannot go backward.

The next button is currently in slot 53. [MAILBOX] PAGE_NEXT opens the next history page.

behavior.ifnoNext changes the button to a gray disabled item when the page cannot go forward.

The back button is currently in slot 46. [MAILBOX] BACK returns to the inbox using the current filter context when possible.

The close button is currently in slot 49. [CLOSE] closes the inventory.

Page note

This page is source-backed and includes a short callout so the content reads like a guide instead of plain reference text.