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

@@ -84,8 +84,8 @@ fn tile(rows: &[&str], (plate_color, ink): (String, String)) -> String {
format!(
"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 {side} {side}\" \
width=\"{side}\" height=\"{side}\" role=\"img\" aria-label=\"Luxe\">\n \
<title>Luxe</title>\n \
width=\"{side}\" height=\"{side}\" role=\"img\" aria-label=\"luxe\">\n \
<title>luxe</title>\n \
<path fill=\"{plate_color}\" d=\"{plate}\"/>\n \
<g transform=\"translate({offset_x:.2} {TILE_PAD}) scale({scale:.4})\">\n \
<path fill=\"{ink}\" d=\"{letter}\"/>\n \
@@ -111,9 +111,9 @@ fn svg(rows: &[&str], letters: std::ops::Range<usize>) -> String {
out.push_str(&format!(
"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"{left} 0 {width} {height}\" \
width=\"{width}\" height=\"{height}\" data-cell=\"{CELL_W} {CELL_H}\" \
role=\"img\" aria-label=\"Luxe\">\n"
role=\"img\" aria-label=\"luxe\">\n"
));
out.push_str(" <title>Luxe</title>\n");
out.push_str(" <title>luxe</title>\n");
for (index, path) in paths.iter().enumerate() {
let step = index + letters.start + 1;
out.push_str(&format!(
@@ -293,7 +293,7 @@ mod tests {
assert!(svg.trim_end().ends_with("</svg>"));
assert_eq!(svg.matches("<path").count(), 4, "one path per letter");
assert!(svg.contains("--luxe-wordmark-1"), "letters are themable from CSS");
assert!(svg.contains("aria-label=\"Luxe\""));
assert!(svg.contains("aria-label=\"luxe\""));
assert!(svg.contains("data-cell=\"10 22\""), "the grid the highlight is drawn in");
}