Skip to main content

max / audiofiles

Repin the makeover suite: layout 0.8.0, immediate 0.5.0 makeover-immediate 0.5.0 is the release that gives it a field renderer, which is what the forms leg of the adoption has been waiting on, and layout 0.8.0 is the Field it renders (placeholder and select options now come off the description rather than from each renderer). Palette gained content, content_muted and danger, because the field renderer is the first thing in that crate that draws text: a label, a hint and an error message. All three were already resolved in this app's theme and already read by its own widgets, so the adapter grows by three lines and nothing else moves. The call sites are not converted here. That is the rest of the adoption.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-05 18:59 UTC
Signed with PGP, not checked
Commit: d74e70942f93cf9b48c171021fb552a2eea6bad7
Parent: 8161c72
3 files changed, +20 insertions, -11 deletions
M Cargo.lock +8 -8
@@ -2990,9 +2990,9 @@
2990 2990
2991 2991 [[package]]
2992 2992 name = "makeover-immediate"
2993 - version = "0.4.1"
2993 + version = "0.5.0"
2994 2994 source = "registry+https://github.com/rust-lang/crates.io-index"
2995 - checksum = "99f4cfe5d607fcd94493b05302164672432791516ec662d775ad5d52ecb2756b"
2995 + checksum = "84f4962445845b0f436ef8f60035dbf0748bddda84f1e060183e82b3e2cafc7b"
2996 2996 dependencies = [
2997 2997 "egui",
2998 2998 "makeover-layout",
@@ -3000,9 +3000,9 @@
3000 3000
3001 3001 [[package]]
3002 3002 name = "makeover-layout"
3003 - version = "0.6.0"
3003 + version = "0.8.0"
3004 3004 source = "registry+https://github.com/rust-lang/crates.io-index"
3005 - checksum = "ad745601b5220b2244d73a5da3f3854aefe4cdc955dd45c6d3aa5781ad645f5a"
3005 + checksum = "ab87cfbb9bb3278d647159ee2089ed4bcabc66d77a6433e65563ae784943ce02"
3006 3006
3007 3007 [[package]]
3008 3008 name = "matchers"
@@ -7297,6 +7297,10 @@
7297 7297 "winnow 1.0.4",
7298 7298 ]
7299 7299
7300 + [[patch.unused]]
7301 + name = "supernote-push"
7302 + version = "0.1.0"
7303 +
7300 7304 [[patch.unused]]
7301 7305 name = "kberg"
7302 7306 version = "0.1.0"
@@ -7305,10 +7309,6 @@
7305 7309 name = "painhours"
7306 7310 version = "0.1.0"
7307 7311
7308 - [[patch.unused]]
7309 - name = "supernote-push"
7310 - version = "0.1.0"
7311 -
7312 7312 [[patch.unused]]
7313 7313 name = "docengine"
7314 7314 version = "0.4.0"
M Cargo.toml +2 -2
@@ -12,8 +12,8 @@
12 12 audiofiles-browser = { path = "crates/audiofiles-browser" }
13 13 audiofiles-sync = { path = "crates/audiofiles-sync" }
14 14 audiofiles-rhai = { path = "crates/audiofiles-rhai" }
15 - makeover-layout = "0.6.0"
16 - makeover-immediate = "0.4.1"
15 + makeover-layout = "0.8.0"
16 + makeover-immediate = "0.5.0"
17 17 egui = { version = "0.35", default-features = false, features = ["default_fonts"] }
18 18 egui_extras = { version = "0.35", default-features = false }
19 19 eframe = { version = "0.35", default-features = false, features = ["default_fonts", "glow"] }
@@ -362,9 +362,15 @@
362 362 /// This app's resolved theme, as the palette `makeover-immediate` renders against.
363 363 ///
364 364 /// The whole makeover-to-renderer adapter, and deliberately a snapshot rather
365 - /// than a handle: it is six `Copy` colors read under one lock, so a caller
365 + /// than a handle: it is nine `Copy` colors read under one lock, so a caller
366 366 /// painting several regions in a frame is not taking the lock per edge.
367 367 ///
368 + /// `content`, `content_muted` and `danger` joined it in makeover-immediate
369 + /// 0.5.0, which is the release that gave that crate a field renderer and so the
370 + /// first thing in it that draws text: a field's label, its hint and its error
371 + /// message. All three were already resolved here and already read by this app's
372 + /// own widgets, so they cost nothing but the line.
373 + ///
368 374 /// `well` is a plain colour. It was an `Option` that this app left `None`
369 375 /// until makeover 2.3.0 derived `surface-well`, and the renderer substituted
370 376 /// the page meanwhile; that substitution is gone from makeover-immediate 0.2.0
@@ -379,6 +385,9 @@
379 385 sunken: t.surface_sunken,
380 386 bevel_light: t.bevel_light,
381 387 bevel_dark: t.bevel_dark,
388 + content: t.content,
389 + content_muted: t.content_muted,
390 + danger: t.danger,
382 391 }
383 392 }
384 393