Skip to content

quadraui: lift debug sidebar (4 sections + per-section scrollbars) #281

Description

@JDonaghy

Deferred from Phase C (#275). One of three remaining sidebar surfaces still hand-rolled per backend.

Goal

Migrate the Debug sidebar (Call Stack / Variables / Watch / Breakpoints) to paint through quadraui primitives. Currently bespoke in both backends with hand-rolled hit math (#210, #211).

Why deferred

Four sections + per-section vertical scrollbars + nested expandable variable trees. Hit-test is hand-rolled per #210 (motion handlers should call layout.hit_test() directly, but the wires from "mouse moved" → "selected_idx changed" are still per-backend). Multiple bugs across B.5 traced back to this same shape.

Lifting needs:

  1. quadraui::TreeView extension to support multiple sections with per-section scroll state, OR a new MultiSectionView primitive composing several TreeViews.
  2. Resolution of ContextMenu: motion handlers should use primitive's hit_test, not hand-rolled row math #210 (motion handlers route through layout hit_test).

Estimated effort

~16 hrs

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinfrastructureBuild, CI, distributionuiUI/rendering

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions