Side B is an actual code change that fixes a real bug (the disabled attribute was likely being rendered even when false, incorrectly disabling the button); this is a concrete, functional fix to UI code. Side A is merely a note added to a text file (notes.tdsl) with no code or behavioral change, contributing no lasting value beyond a to-do reminder.
constitution · epochs · watch · epoch 3
comparison
c_fd8e599b6022 (tommy-mor) vs c_326a64125966 (tommy-mor)
download prompt · raw event · cmp_2df3f8991d63e8
council reasoning
B makes a real UI code change in fetch_entity_panel: conditional button markup so disabled is only present while fetching, fixing attribute handling. A only appends one line of personal backlog text to notes.tdsl with no functional impact.
Side B makes a functional template change by rendering separate enabled and disabled submit buttons instead of conditionally setting a disabled attribute, affecting the fetch entity UI behavior. Side A only appends a development note to notes.tdsl ('new public thread form needs fewer words') and does not change project functionality.
sides
A — c_fd8e599b6022 (tommy-mor)
message
[66da3bc4] note
diff preview
diff --git a/notes.tdsl b/notes.tdsl index 86e1e9cc78258a9669d14fc3baa19a1c586d7b66..a05487df6c445d9b333421e1d7781f2587f01298 100644 --- a/notes.tdsl +++ b/notes.tdsl @@ -26,3 +26,5 @@ maybe root item body should be hardcoded to flower? you can't define a body for need consistent + in corener of section header that morphs/expands in add form. i think morph. you can only see the form if you're logged in. my json-encoded plan is not being used for the forms. i want that same plan for the morphable/expandable + signs that produce forms. form target encoded... there was a plan.md with this. plan2.md... + +new public thread form needs fewer words
B — c_326a64125966 (tommy-mor)
message
[673fa62c] button
diff preview
diff --git a/server/src/html/mod.rs b/server/src/html/mod.rs
index caf1309c8d93b47104499c57f9cc35ee7631fbb9..db5b4c7f06b0be64603981166835cde268234f67 100644
--- a/server/src/html/mod.rs
+++ b/server/src/html/mod.rs
@@ -185,7 +185,11 @@ pub fn fetch_entity_panel(item: &ItemId, has_data: bool, fetching: bool) -> Mark
html! {
form method="post" action="/ui" id="fetch-entity-form" class="fetch-entity-form" {
input type="hidden" name=(UI_RPC_FIELD) value=(rpc);
- button type="submit" class="btn-secondary" disabled=(fetching) { (label) }
+ @if fetching {
+ button type="submit" class="btn-secondary" disabled { (label) }
+ } @else {
+ button type="submit" class="btn-secondary" { (label) }
+ }
}
}
}
Hardlinks — judgments / attempts / prompt
judgments
attempts
Prompt text is loaded only by the download route.