Skip to main content

max / makenotwork

server: take Field::writes quasi 0.76.0 renamed Field::changes. Six call sites across upload_field, project_content and media_picker, no control's behaviour touched.
Author: Max Johnson <me@maxj.phd> · 2026-08-28 22:13 UTC
Signed with PGP, not checked
Commit: 0e0677f7981db590b0f793bc26da0cabe0512dd0
Parent: 63ca1e9
5 files changed, +27 insertions, -27 deletions
M server/Cargo.lock +16 -16
@@ -2875,7 +2875,7 @@
2875 2875 checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
2876 2876 dependencies = [
2877 2877 "libc",
2878 - "windows-sys 0.61.2",
2878 + "windows-sys 0.52.0",
2879 2879 ]
2880 2880
2881 2881 [[package]]
@@ -3660,7 +3660,7 @@
3660 3660 checksum = "1a791e6620676a875f362f3156ed213e73ca099a09bf992c18812abe65cc37b1"
3661 3661 dependencies = [
3662 3662 "bstr",
3663 - "hashbrown 0.17.1",
3663 + "hashbrown 0.15.5",
3664 3664 ]
3665 3665
3666 3666 [[package]]
@@ -4811,7 +4811,7 @@
4811 4811 source = "registry+https://github.com/rust-lang/crates.io-index"
4812 4812 checksum = "82cb6a9f675da968c63b6208c641b9dca58fc0133ae53375736b1767b0cab8bd"
4813 4813 dependencies = [
4814 - "windows-sys 0.61.2",
4814 + "windows-sys 0.59.0",
4815 4815 ]
4816 4816
4817 4817 [[package]]
@@ -5722,7 +5722,7 @@
5722 5722 source = "registry+https://github.com/rust-lang/crates.io-index"
5723 5723 checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
5724 5724 dependencies = [
5725 - "windows-sys 0.61.2",
5725 + "windows-sys 0.59.0",
5726 5726 ]
5727 5727
5728 5728 [[package]]
@@ -6636,7 +6636,7 @@
6636 6636
6637 6637 [[package]]
6638 6638 name = "quasi-axum"
6639 - version = "0.75.0"
6639 + version = "0.76.0"
6640 6640 dependencies = [
6641 6641 "axum",
6642 6642 "http 1.4.2",
@@ -6647,7 +6647,7 @@
6647 6647
6648 6648 [[package]]
6649 6649 name = "quasi-basics"
6650 - version = "0.75.0"
6650 + version = "0.76.0"
6651 6651 dependencies = [
6652 6652 "makeover-layout",
6653 6653 "quasi-router",
@@ -6655,7 +6655,7 @@
6655 6655
6656 6656 [[package]]
6657 6657 name = "quasi-http"
6658 - version = "0.75.0"
6658 + version = "0.76.0"
6659 6659 dependencies = [
6660 6660 "form_urlencoded",
6661 6661 "http 1.4.2",
@@ -6664,7 +6664,7 @@
6664 6664
6665 6665 [[package]]
6666 6666 name = "quasi-router"
6667 - version = "0.75.0"
6667 + version = "0.76.0"
6668 6668 dependencies = [
6669 6669 "makeover-layout",
6670 6670 ]
@@ -6687,7 +6687,7 @@
6687 6687
6688 6688 [[package]]
6689 6689 name = "quasi-webview"
6690 - version = "0.75.0"
6690 + version = "0.76.0"
6691 6691 dependencies = [
6692 6692 "docengine",
6693 6693 "makeover-layout",
@@ -7339,7 +7339,7 @@
7339 7339 "errno",
7340 7340 "libc",
7341 7341 "linux-raw-sys 0.12.1",
7342 - "windows-sys 0.61.2",
7342 + "windows-sys 0.52.0",
7343 7343 ]
7344 7344
7345 7345 [[package]]
@@ -7419,7 +7419,7 @@
7419 7419 "security-framework 3.7.0",
7420 7420 "security-framework-sys",
7421 7421 "webpki-root-certs",
7422 - "windows-sys 0.61.2",
7422 + "windows-sys 0.52.0",
7423 7423 ]
7424 7424
7425 7425 [[package]]
@@ -8545,7 +8545,7 @@
8545 8545 "getrandom 0.4.3",
8546 8546 "once_cell",
8547 8547 "rustix 1.1.4",
8548 - "windows-sys 0.61.2",
8548 + "windows-sys 0.52.0",
8549 8549 ]
8550 8550
8551 8551 [[package]]
@@ -9971,7 +9971,7 @@
9971 9971 source = "registry+https://github.com/rust-lang/crates.io-index"
9972 9972 checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
9973 9973 dependencies = [
9974 - "windows-sys 0.61.2",
9974 + "windows-sys 0.48.0",
9975 9975 ]
9976 9976
9977 9977 [[package]]
@@ -10761,11 +10761,11 @@
10761 10761
10762 10762 [[patch.unused]]
10763 10763 name = "quasi-immediate"
10764 - version = "0.75.0"
10764 + version = "0.76.0"
10765 10765
10766 10766 [[patch.unused]]
10767 10767 name = "quasi-notifs"
10768 - version = "0.75.0"
10768 + version = "0.76.0"
10769 10769
10770 10770 [[patch.unused]]
10771 10771 name = "quasi-store"
@@ -10773,7 +10773,7 @@
10773 10773
10774 10774 [[patch.unused]]
10775 10775 name = "quasi-tauri"
10776 - version = "0.75.0"
10776 + version = "0.76.0"
10777 10777
10778 10778 [[patch.unused]]
10779 10779 name = "synckit-client"
@@ -163,7 +163,7 @@
163 163 # through quasi beside its Askama equivalent, so the cost of describing a screen
164 164 # here is measured rather than argued. Not load-bearing for any shipped route.
165 165 # See wiki look-wave-2, tier G.
166 - quasi-router = { git = "https://makenot.work/git/max/quasi.git", version = "0.75" }
166 + quasi-router = { git = "https://makenot.work/git/max/quasi.git", version = "0.76" }
167 167 # The description vocabulary quasi's screen types are built from. Pinned here
168 168 # rather than reached through quasi-router's re-export because a described
169 169 # screen names FieldKind and Tone directly; it has to track what quasi-router
@@ -179,13 +179,13 @@
179 179 # For the request head the per-viewer state factory reads. axum re-exports it,
180 180 # but the factory's signature is quasi-axum's and names `http::request::Parts`.
181 181 http = "1.3.1"
182 - quasi-axum = { git = "https://makenot.work/git/max/quasi.git", version = "0.75" }
183 - quasi-webview = { git = "https://makenot.work/git/max/quasi.git", version = "0.75" }
182 + quasi-axum = { git = "https://makenot.work/git/max/quasi.git", version = "0.76" }
183 + quasi-webview = { git = "https://makenot.work/git/max/quasi.git", version = "0.76" }
184 184 # The first-party widget set. The carousel was proved here against three pages
185 185 # and then moved there; what is left in `quasi/widgets/carousel.rs` is the
186 186 # Askama glue. Not `makeover-basics`: a widget is an assembly of `Node`s, so it
187 187 # sits above quasi-router rather than inside the description suite.
188 - quasi-basics = { git = "https://makenot.work/git/max/quasi.git", version = "0.75" }
188 + quasi-basics = { git = "https://makenot.work/git/max/quasi.git", version = "0.76" }
189 189
190 190 # Git source browser
191 191 gix = { version = "0.86", default-features = false, features = ["blame", "mailmap", "revision", "sha1", "max-performance-safe"] }
@@ -277,7 +277,7 @@
277 277 # Written from the crate rather than copied into the repo for the reason the
278 278 # constants exist: a stale copy in a static directory is a silently dead bulk
279 279 # bar, and the version has to be the one the emitter agrees with.
280 - quasi-webview = { git = "https://makenot.work/git/max/quasi.git", version = "0.75" }
280 + quasi-webview = { git = "https://makenot.work/git/max/quasi.git", version = "0.76" }
281 281
282 282 [dev-dependencies]
283 283 tower = { version = "0.5.3", features = ["util"] }
@@ -398,7 +398,7 @@
398 398 .map(|folder| Choice::new(folder, if folder.is_empty() { "(root)" } else { folder })),
399 399 );
400 400
401 - let mut field = Field::select(FOLDER, "Folder", options).changes(
401 + let mut field = Field::select(FOLDER, "Folder", options).writes(
402 402 Action::get(GRID_PATH)
403 403 .carrying(INTO, into)
404 404 .carrying(NAME, name)
@@ -564,7 +564,7 @@
564 564 /// `N12`'s decision in one function: each is a control with a route, and the
565 565 /// answer is the panel under the new view. The search box asks as it is typed
566 566 /// ([`Consult`]) and the two pickers write when they settle
567 - /// ([`Field::changes`]) -- which is the difference between a value that is
567 + /// ([`Field::writes`]) -- which is the difference between a value that is
568 568 /// still being written and one that is chosen in a single gesture.
569 569 fn filters(slug: &str, items: &[ContentItem], view: &View) -> Slot {
570 570 let narrowed = view.narrowed();
@@ -604,12 +604,12 @@
604 604 .with(Node::field(
605 605 Field::select("status", "Status", statuses)
606 606 .value(view.status.clone().unwrap_or_default())
607 - .changes(narrowed.without_status().panel(slug)),
607 + .writes(narrowed.without_status().panel(slug)),
608 608 ))
609 609 .with(Node::field(
610 610 Field::select("type", "Type", types)
611 611 .value(view.kind.clone().unwrap_or_default())
612 - .changes(narrowed.without_kind().panel(slug)),
612 + .writes(narrowed.without_kind().panel(slug)),
613 613 ))
614 614 }
615 615
@@ -101,7 +101,7 @@
101 101 /// were doing.
102 102 #[must_use]
103 103 pub fn audio(item_id: &str) -> String {
104 - let field = Field::upload("audio", "Audio file", [Accepted::family(Family::Audio)]).changes(
104 + let field = Field::upload("audio", "Audio file", [Accepted::family(Family::Audio)]).writes(
105 105 Action::post("/api/upload/presign")
106 106 .with("item_id", item_id)
107 107 .with("file_type", "audio")
@@ -124,7 +124,7 @@
124 124 /// in the address rather than in the payload.
125 125 #[must_use]
126 126 pub fn existing_version(version_id: &str) -> String {
127 - let field = Field::upload("version-file", "Version file", version_suffixes()).changes(
127 + let field = Field::upload("version-file", "Version file", version_suffixes()).writes(
128 128 Action::post(format!("/api/versions/{version_id}/upload/presign"))
129 129 .awaiting()
130 130 .by_host(),