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

@@ -43,7 +43,7 @@ fn a_search_lists_pull_requests_and_issues_with_where_they_are() {
let deleted =
SEARCH_ISSUES.replacen("\"author\":{\"login\":", "\"author\":null,\"x\":{\"login\":", 1);
assert_eq!(parse_search(&deleted).unwrap().items[0].author, "", "a deleted account");
// A frame from a Luxe that sent no state reads as open, not as an error
// A frame from a luxe that sent no state reads as open, not as an error
let older = r#"{"pull_request":true,"number":1,"title":"T","url":"u","repository":"a/b","author":"","draft":false,"updated_at":""}"#;
let item: ListItem = serde_json::from_str(older).unwrap();
assert_eq!(item.state, PullRequestState::Open);
@@ -72,7 +72,7 @@ fn what_merged_below_a_stack_is_read_with_where_it_went() {
pub(super) const STATUS_UNSTACKED: &str =
include_str!("../../fixtures/branch_status_unstacked.json");
/// A real chain of Luxe's own, read from the middle: seven below down to `master`, two above,
/// A real chain of luxe's own, read from the middle: seven below down to `master`, two above,
/// and the evidence that checks wait for trunk — the bottom one has them, this one none.
#[test]
fn a_pull_request_in_the_middle_of_a_stack_knows_where_it_sits() {

View File

@@ -135,7 +135,7 @@ fn the_conversation_comes_with_the_threads() {
assert!(before.conversation.is_empty() && !before.threads.is_empty());
}
/// On a real pull request the reader answered the first comment from Luxe, so it and the answer
/// On a real pull request the reader answered the first comment from luxe, so it and the answer
/// stay quiet, and the review's summary is what is still asked.
#[test]
fn an_answered_comment_on_a_real_pull_request_asks_nothing() {

View File

@@ -321,7 +321,7 @@ pub struct IssueOverview {
pub conversation_count: usize,
}
/// A session of yours that took an issue up, which only Luxe knows about.
/// A session of yours that took an issue up, which only luxe knows about.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct LocalSession {
/// The session's id, which resuming it names

View File

@@ -1,7 +1,7 @@
//! Refresh — when to ask GitHub about the branch's pull request again.
//!
//! GitHub has no push channel a local program can subscribe to, so the status row is kept current
//! two ways: right away after anything Luxe saw happen, and on an interval otherwise. This module
//! two ways: right away after anything luxe saw happen, and on an interval otherwise. This module
//! is the interval, and only the arithmetic of it — the workspace runtime tells it what happened
//! and asks when to look next, so every rule here is testable without a clock or a network.
//!

View File

@@ -117,7 +117,7 @@ fn remotes_are_read_from_git_remote_v() {
fn the_matching_remote_is_found_by_where_it_points() {
let remotes = vec![
("origin".to_string(), "git@github.com:me/luxe.git".to_string()),
("upstream".to_string(), "https://github.com/Someone/Luxe".to_string()),
("upstream".to_string(), "https://github.com/Someone/luxe".to_string()),
];
assert_eq!(
matching_remote(&remotes, "github.com", "someone", "luxe"),