#607: #595 Stage 2a — render_content: paint sidebar panel content - #627
Merged
JDonaghy merged 1 commit intoAug 6, 2026
Merged
Conversation
Wires the trait-pure subset of panels.rs::render_sidebar's dispatch into TuiShellApp::render_content via a new panels::render_sidebar_content, using layout.sidebar_content_bounds: - explorer (default panel): extracted into render_explorer_sidebar_content, shared by both the live draw_frame path and the ShellApp path. The old raw set_cell background fill is replaced with a Backend::draw_status_bar blank-segment trick (same one AppShell::render uses for its divider), making the whole function trait-only. - search, debug: already trait-pure; widened backend: &mut TuiBackend to &mut dyn quadraui::Backend (#601's technique) so render_content can call them without a concrete backend. Settings, source control, extensions, the plugin extension panel, and the AI panel remain deferred -- each hits a raw Frame/Buffer chrome renderer with no Backend::draw_* equivalent yet, documented in shell_app.rs's module doc with the specific blocker per panel. Adds a driver_with_shell test proving explorer content (a revealed file name) paints through the ShellApp path. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #607
Automated PR opened by coordinator for review of issue #607.