luxe 0.1.4: remembered models, wheel-driven lists, and a steadier phone app

- luxe starts on the model you last chose in this project, then the last one anywhere. Signing in
  opens the model picker instead of choosing for you.
- Every list in a modal takes the mouse wheel and a draggable scrollbar.
- The phone app shows reasoning in full, stays put while you read back through a long session, and
  shows a question's answer on its card.
- On Windows, luxe update replaces the running luxe, and a signed-in install no longer sees setup
  again.
- The file tree no longer shows "engine busy" in a large project, loop output is easier to follow,
  and the name is written lowercase.

The CHANGELOG has the full list.
This commit is contained in:
Evan Whittaker
2026-10-20 13:51:34 -05:00
parent 6184aa21fb
commit a0666d6c81
591 changed files with 4926 additions and 2942 deletions

View File

@@ -185,11 +185,8 @@ fn reduce_inner(app: &mut App, msg: Msg) {
app.toggle_block_details_at(index);
}
Msg::ScrollDock { up } => app.dock.scroll_by(up, app.dock_scroll_max.get()),
Msg::ScrollContextFiles { up } => {
if let Some(files) = app.overlays.context_files.as_mut() {
files.scroll_by(up);
}
}
Msg::ScrollContextFiles { up } => scroll_context_files(app, up),
Msg::ScrollOverlayList { list, up } => app.walk_overlay_list(list, up),
Msg::ScrollDockList { list, up } => {
app.dock.scroll_list_by(list, up, app.dock_list_metrics(list));
}
@@ -444,6 +441,13 @@ fn reduce_inner(app: &mut App, msg: Msg) {
}
}
/// Scrolls the context files overlay, when it's open.
fn scroll_context_files(app: &mut App, up: bool) {
if let Some(files) = app.overlays.context_files.as_mut() {
files.scroll_by(up);
}
}
/// Moves the surface behind a scrollbar to where its track was pressed or dragged.
fn drag_scrollbar(app: &mut App, region: crate::mouse::ScrollRegionId, row: u16, height: u16) {
use crate::mouse::ScrollRegionId;
@@ -476,6 +480,7 @@ fn drag_scrollbar(app: &mut App, region: crate::mouse::ScrollRegionId, row: u16,
ScrollRegionId::DockList(list) => {
app.dock.drag_list(list, row, height, app.dock_list_metrics(list));
}
ScrollRegionId::OverlayList(list) => app.drag_overlay_list(list, row, height),
ScrollRegionId::Dock | ScrollRegionId::ContextFiles => {}
}
}