You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Identify all code in src/tui_main/ that duplicates logic available in src/render.rs, src/core/, or quadraui primitives — and file individual issues for each dedup opportunity found.
What to look for
Rendering logic that re-derives what render.rs or quadraui already computes (layout math, color mapping, text truncation)
Mouse/click handling that re-implements hit-testing available via cached quadraui layouts (StatusBarLayout, TreeViewLayout, PaletteLayout, etc.)
Goal
Identify all code in
src/tui_main/that duplicates logic available insrc/render.rs,src/core/, or quadraui primitives — and file individual issues for each dedup opportunity found.What to look for
render.rsor quadraui already computes (layout math, color mapping, text truncation)StatusBarLayout,TreeViewLayout,PaletteLayout, etc.)render::compute_editor_layout()or similar shared functionsdispatch_scroll— any manual scroll math that should route through quadraui's shared scroll dispatchWhat NOT to do
src/gtk/orsrc/core/engine/keys.rsOutput
A set of new GitHub issues, each describing:
src/tui_main/is duplicatedContext
The GTK side has a clear convergence chain (#447 → #448 → #449). The TUI side doesn't have one yet. This audit creates the TUI convergence backlog.