Skip to content

#478: TUI: Migrate sidebar-item hover popup to a shared tooltip builder - #580

Merged
JDonaghy merged 1 commit into
developfrom
issue-478-tui-migrate-sidebar-item-hover-popup-to
Jul 13, 2026
Merged

#478: TUI: Migrate sidebar-item hover popup to a shared tooltip builder#580
JDonaghy merged 1 commit into
developfrom
issue-478-tui-migrate-sidebar-item-hover-popup-to

Conversation

@JDonaghy

Copy link
Copy Markdown
Owner

Closes #478

Automated merge from the coordinator for assignment 901ed89436fc on issue #478.

Worker branch: issue-478-tui-migrate-sidebar-item-hover-popup-todevelop.

…ilder (#478)

render_panel_hover_popup() hand-rolled a bordered popup (box-drawing,
per-line MdStyle dispatch, byte-to-char link math) — the only
remaining unconverged hover-popup path in the TUI backend.

Add render::panel_hover_to_quadraui_rich_text(), sharing the
markdown-to-StyledText and link-conversion logic already factored out
of editor_hover_to_quadraui_rich_text(). Wire panels.rs through
quadraui::RichTextPopup::layout() + draw_rich_text_popup(), same
pattern as render_editor_hover_popup(). Keeps the TUI-specific
sidebar-item vertical anchor math (item_row / source-control section
offset) since that's thin engine-state wiring, not rendering logic.

~200 hand-rolled lines in panels.rs collapse to ~35 lines of wiring.
No quadraui-side change needed — RichTextPopup's anchor+placement
model already supports this without a new anchor strategy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TUI: Migrate sidebar-item hover popup to a shared tooltip builder

1 participant