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:
@@ -232,7 +232,7 @@
|
||||
|
||||
/* The terminal's own background, not the site's raised surface.
|
||||
|
||||
Luxe paints a background into most of its cells rather than leaving them default, so a plate
|
||||
luxe paints a background into most of its cells rather than leaving them default, so a plate
|
||||
in any other color splits the picture in two: painted cells become dark rectangles and
|
||||
unpainted ones show the plate through. It reads as a corrupted capture, and it is the reason
|
||||
these looked broken in a browser while the recording itself was clean. `--luxe-capture-bg` is
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
/**
|
||||
* A terminal capture, in a plate.
|
||||
*
|
||||
* Luxe's own theme, generated from the production view path. SVG: crisp at any zoom, and the text
|
||||
* luxe's own theme, generated from the production view path. SVG: crisp at any zoom, and the text
|
||||
* inside is real text.
|
||||
*
|
||||
* **The markup is inlined, and it has to be.** An SVG loaded through `<img src>` is a document of
|
||||
* its own in secure static mode: it cannot see the embedding page's `@font-face`, so the subset
|
||||
* webfont this site ships never reached a single screenshot. That is invisible to anyone who has
|
||||
* the face installed, which is anyone who works on Luxe. For everyone else the stack fell through
|
||||
* the face installed, which is anyone who works on luxe. For everyone else the stack fell through
|
||||
* to a system mono advancing some other width than the one the exporter pins `textLength` to, so
|
||||
* every row was squeezed or stretched by the difference, and every Nerd Font icon in the picture
|
||||
* drew as tofu. `<img>` also makes the text unselectable, which is half the reason these are
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* code it argues about, and a reader meeting that for the first time needs to stop on it — played
|
||||
* at demo speed it registers as motion rather than as information. So these come from the same
|
||||
* captures the demos do, cut with `scripts/cast-still.py`, and there is still one source of truth
|
||||
* for what Luxe looks like.
|
||||
* for what luxe looks like.
|
||||
*
|
||||
* A recording bakes its colors in, and the site is drawn in the same theme it was recorded in.
|
||||
*
|
||||
@@ -21,7 +21,7 @@ interface Props {
|
||||
* Where the picture comes from: a frame cut out of a recording (the default), or a fixture
|
||||
* `scripts/site-assets.sh` generates from the production view path.
|
||||
*
|
||||
* Either way it is Luxe's own theme, so a fixture and a recording beside it are one product.
|
||||
* Either way it is luxe's own theme, so a fixture and a recording beside it are one product.
|
||||
*/
|
||||
from?: "captures" | "generated";
|
||||
/**
|
||||
@@ -134,7 +134,7 @@ const capture = (basename: string, variant: string) => {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* The terminal's own background, for the reason `Demo` documents at length: Luxe paints a
|
||||
/* The terminal's own background, for the reason `Demo` documents at length: luxe paints a
|
||||
background into most cells, so a plate in any other color turns the painted ones into
|
||||
rectangles. Generated from the dark theme, and it does not follow the page's mode because the
|
||||
capture does not either. */
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
* The picture arrives as the slot, drawn once at build time by `fixture_svg --palette`: every
|
||||
* color in it is `var(--pN, …)`, and `palette` says what each `N` is in each theme. So this sets
|
||||
* a dozen custom properties on the frame and the browser repaints the rest. It used to be an HTML
|
||||
* mock of the app, which showed the colors and nothing of how Luxe actually uses them.
|
||||
* mock of the app, which showed the colors and nothing of how luxe actually uses them.
|
||||
*
|
||||
* With `cycle`, the gallery takes turns on its own every few seconds, so a reader who never
|
||||
* touches it still sees what the themes are. Pointing at a chip holds that theme, pointing at the
|
||||
@@ -141,7 +141,7 @@
|
||||
onmouseenter={() => (reading = true)}
|
||||
onmouseleave={() => (reading = false)}
|
||||
>
|
||||
<div class="preview__frame" {style} role="img" aria-label="The Luxe dashboard in {showing}">
|
||||
<div class="preview__frame" {style} role="img" aria-label="The luxe dashboard in {showing}">
|
||||
{@render children?.()}
|
||||
</div>
|
||||
</figure>
|
||||
|
||||
@@ -91,10 +91,10 @@ const phase = (i: number) => (-1 + (i / Math.max(paths.length - 1, 1)) * 0.5).to
|
||||
class:list={["wordmark", className, { "wordmark--drift": drift }]}
|
||||
viewBox={viewBox}
|
||||
role="img"
|
||||
aria-label="Luxe"
|
||||
aria-label="luxe."
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title>Luxe</title>
|
||||
<title>luxe.</title>
|
||||
{
|
||||
shine && (
|
||||
<defs>
|
||||
|
||||
Reference in New Issue
Block a user