The dock's provider row opens a list of providers, and the model picker opens on the provider in use, with tab to widen it; signing in opens it on the provider just signed in to. Models go by their id unless config names them, and the model row wears its maker's mark. The guided review's guide prompt is shorter, the pull request brief shows the start of the description with the rest behind p, its commits drop the Luxe-review and Luxe-revision lines, and the weakened-gates signal is gone. luxe update reruns the installer it was installed with, in place of luxe-cli-update. The preview's FILE tab reads files the session changed outside the project, and only those. Smaller fixes: bash headers are highlighted, the preview loses a blank row, the launcher divider sits inside its frame, and the phone app's top bar is clear of iOS's blur. rustls-webpki 0.103.16 and webpki-roots 1.0.10 fix RUSTSEC-2026-0381 and RUSTSEC-2026-0382, and vite 8.3.4 fixes GHSA-587h-7wmj-h5pm, GHSA-698v-4r3x-3vcv and GHSA-r825-w8mm-5pxw.
38 lines
1.6 KiB
Rust
38 lines
1.6 KiB
Rust
//! Guided Review overlays — findings drawer, finish/confirm dialogs, finding details,
|
|
//! draft composer, outline, help, the source picker, and a pull request's whole description.
|
|
//!
|
|
//! Two overlay classes (design-tui-polish-and-mouse §A3, D5):
|
|
//! - **Modal** (source picker, outline, help, finding details, draft composer, finish review):
|
|
//! a centered popup rendered over a **dimmed backdrop** (the caller in `super::render` mutes
|
|
//! the surface first) so it reads as focused, not as clipping the text beneath it.
|
|
//! - **Drawer** (the findings panel): a non-modal right-edge companion with **no backdrop** —
|
|
//! the surface stays bright so the reviewer keeps the diff in view while triaging findings.
|
|
|
|
mod description;
|
|
mod evidence;
|
|
mod finding;
|
|
mod finish;
|
|
mod help;
|
|
|
|
use crate::app::App;
|
|
pub(super) use description::render_pull_request_description;
|
|
pub(super) use evidence::render_finding_fix;
|
|
pub(super) use finding::{
|
|
anchor_summary, chapter_kind_label, finding_state_glyph, finding_state_label,
|
|
render_finding_details, render_finding_draft,
|
|
};
|
|
#[cfg(test)]
|
|
use finish::finish_carries;
|
|
pub(super) use finish::{render_commit_preview, render_finish_review};
|
|
pub(super) use help::{render_help, render_source_picker};
|
|
use ratatui::widgets::{Block, Padding};
|
|
|
|
/// A review overlay panel: the shared [`crate::widgets::titled_panel`] chrome (rounded accent
|
|
/// frame, accent glyph, bold label) plus a 1-col left pad so text isn't flush against the frame.
|
|
pub(super) fn overlay_block<'a>(app: &App, glyph: &str, label: &str) -> Block<'a> {
|
|
crate::widgets::titled_panel(glyph, label, &app.theme_styles).padding(Padding::left(1))
|
|
}
|
|
|
|
#[cfg(test)]
|
|
mod tests;
|