Journal transaction tool tips exposes useful metadata. The native
tooltip formatting is hard to read: tags run together, filenames
wrap into dense text, and posting accounts and amounts lose their alignment.
Reproduce
test journal
hledger-web --serve --allow=view --host=127.0.0.1 --port=8797 -f tooltip-repro.journal
http://127.0.0.1:8797/journal and hover over transactions
Eight cases
CASE01 — Basic alignment
Different account lengths should not disturb the amount column.
Before — original tooltip text
After — compiled proposal

CASE02 — Long inline metadata
Long filenames and an unbroken reference should wrap within their values, with each tag on its own row.
Before — original tooltip text
After — compiled proposal

CASE03 — Multiline, repeated and empty tags
Both note values, the empty tag, and the final metadata marker should remain visible.
Before — original tooltip text
After — compiled proposal

CASE04 — Long accounts and mixed amount widths
The long account wraps while large, small, positive and negative amounts remain aligned.
Before — original tooltip text
After — compiled proposal

CASE05 — Unicode, literal markup and a URL
Unicode and the secondary date remain visible. Markup is displayed as text, and the URL is preserved.
Before — original tooltip text
After — compiled proposal

CASE06 — Commodity quantity and cost
The quantity, commodity, unit cost and cash amount must all remain visible, including 12.345678 FUND @ 10.00 USD.
Before — original tooltip text
After — compiled proposal

CASE07 — Posting tags and a virtual posting
Posting tags stay associated with their posting. Parentheses identify the virtual account.
Before — original tooltip text
After — compiled proposal

CASE08 — Thirty postings
The panel scrolls so the final cash posting and END-OF-TRANSACTION can be reached.
Before — original tooltip text
After — compiled proposal

After — scrolled to the bottom

Related: #1101 (displaying tags), #1979 (URLs and selecting tooltip text), and
#1935 (chart popup positioning). This issue focuses on the General Journal's
existing transaction tooltip.
The implementation is parked on
codex/journal-tooltip-details
for feedback. No PR has been opened.
AI disclosure: reproduction work, the local implementation/tests, and this report
were prepared with OpenAI Codex (gpt-6-astra), approximately 50k output tokens
across the work.
Journal transaction tool tips exposes useful metadata. The native
tooltip formatting is hard to read: tags run together, filenames
wrap into dense text, and posting accounts and amounts lose their alignment.
Reproduce
test journal
http://127.0.0.1:8797/journaland hover over transactionsEight cases
CASE01 — Basic alignment
Different account lengths should not disturb the amount column.
Before — original tooltip text
After — compiled proposal
CASE02 — Long inline metadata
Long filenames and an unbroken reference should wrap within their values, with each tag on its own row.
Before — original tooltip text
After — compiled proposal
CASE03 — Multiline, repeated and empty tags
Both
notevalues, the empty tag, and the final metadata marker should remain visible.Before — original tooltip text
After — compiled proposal
CASE04 — Long accounts and mixed amount widths
The long account wraps while large, small, positive and negative amounts remain aligned.
Before — original tooltip text
After — compiled proposal
CASE05 — Unicode, literal markup and a URL
Unicode and the secondary date remain visible. Markup is displayed as text, and the URL is preserved.
Before — original tooltip text
After — compiled proposal
CASE06 — Commodity quantity and cost
The quantity, commodity, unit cost and cash amount must all remain visible, including
12.345678 FUND @ 10.00 USD.Before — original tooltip text
After — compiled proposal
CASE07 — Posting tags and a virtual posting
Posting tags stay associated with their posting. Parentheses identify the virtual account.
Before — original tooltip text
After — compiled proposal
CASE08 — Thirty postings
The panel scrolls so the final cash posting and
END-OF-TRANSACTIONcan be reached.Before — original tooltip text
After — compiled proposal
After — scrolled to the bottom
Related: #1101 (displaying tags), #1979 (URLs and selecting tooltip text), and
#1935 (chart popup positioning). This issue focuses on the General Journal's
existing transaction tooltip.
The implementation is parked on
codex/journal-tooltip-details
for feedback. No PR has been opened.
AI disclosure: reproduction work, the local implementation/tests, and this report
were prepared with OpenAI Codex (
gpt-6-astra), approximately 50k output tokensacross the work.