{"messages":[{"content":"You are a constitutional council ranking individual git commits for ownership allocation.\n\nCompare these two commits. Decide which contributed more lasting value to the project.\n\nJudge substance, not spectacle:\n- Prefer correct, lasting design and real bugfixes over churn, formatting, renames, or generated noise.\n- Prefer clarity and necessity over sheer line count. A small precise change can beat a large diffuse one.\n- Do not favor a side merely because its patch is longer or noisier.\n- Weight what the change does for the project, not the contributor's name.\n\nReturn ONLY a JSON object: {\"winner\": \"A\" or \"B\", \"ratio\": \"N:M\", \"explanation\": \"...\"}\nThe explanation must cite concrete differences in the patches (1-3 sentences).\n\nSide A — contributor: tommy-mor\nSide A — commit message:\n[03cd8f2e] Skip pinned Reddit posts when importing subreddit listings.\n\nCo-authored-by: Cursor \n\nSide A — unified diff (full patch):\ndiff --git a/server/src/reddit.rs b/server/src/reddit.rs\nindex f409764c1e1f36216f1b08107043c2eab905694c..fa5577f8ee0a8c53ff4dbec988a90a5d2fc3cdee 100644\n--- a/server/src/reddit.rs\n+++ b/server/src/reddit.rs\n@@ -661,6 +661,7 @@ pub fn map_children_url(id: &ItemId, api_base: &str) -> String {\n /// Parse a subreddit listing payload into `(child_id, child_payload)` entries.\n /// Each child id is the post's permalink under `reddit.com/…`, and the payload\n /// is the raw `{kind, data}` listing element (persisted per child).\n+/// Pinned / stickied posts are skipped.\n fn parse_children(_parent: &ItemId, payload: &Value) -> Vec<(ItemId, Value)> {\n let mut out = Vec::new();\n let children = match payload.pointer(\"/data/children\").and_then(|c| c.as_array()) {\n@@ -668,6 +669,9 @@ fn parse_children(_parent: &ItemId, payload: &Value) -> Vec<(ItemId, Value)> {\n None => return out,\n };\n for child in children {\n+ if child_is_pinned(child) {\n+ continue;\n+ }\n let permalink = match child.pointer(\"/data/permalink\").and_then(|p| p.as_str()) {\n Some(p) if !p.is_empty() => p,\n _ => continue,\n@@ -680,6 +684,15 @@ fn parse_children(_parent: &ItemId, payload: &Value) -> Vec<(ItemId, Value)> {\n out\n }\n \n+fn child_is_pinned(child: &Value) -> bool {\n+ let data = match child.get(\"data\") {\n+ Some(d) => d,\n+ None => return false,\n+ };\n+ data.get(\"stickied\").and_then(|v| v.as_bool()) == Some(true)\n+ || data.get(\"pinned\").and_then(|v| v.as_bool()) == Some(true)\n+}\n+\n fn parse_reddit_view(id: &ItemId, v: &Value) -> Option {\n let segments: Vec<&str> = id.as_str().split('/').collect();\n \n@@ -853,4 +866,46 @@ mod tests {\n Some(\"http://v3.redgifs.com/watch/impossibleprestigioushedgehog\")\n );\n }\n+\n+ #[test]\n+ fn parse_children_skips_pinned_posts() {\n+ let payload = serde_json::json!({\n+ \"kind\": \"Listing\",\n+ \"data\": {\n+ \"children\": [\n+ {\n+ \"kind\": \"t3\",\n+ \"data\": {\n+ \"title\": \"Official rules (pinned)\",\n+ \"permalink\": \"/r/rust/comments/pin/official_rules/\",\n+ \"stickied\": true\n+ }\n+ },\n+ {\n+ \"kind\": \"t3\",\n+ \"data\": {\n+ \"title\": \"Also pinned via pinned field\",\n+ \"permalink\": \"/r/rust/comments/pin2/also_pinned/\",\n+ \"pinned\": true\n+ }\n+ },\n+ {\n+ \"kind\": \"t3\",\n+ \"data\": {\n+ \"title\": \"Normal post\",\n+ \"permalink\": \"/r/rust/comments/aaa/normal_post/\",\n+ \"stickied\": false\n+ }\n+ }\n+ ]\n+ }\n+ });\n+ let parent = ItemId::from_url(\"https://reddit.com/r/rust\").unwrap();\n+ let children = parse_children(&parent, &payload);\n+ assert_eq!(children.len(), 1);\n+ assert_eq!(\n+ children[0].0.as_str(),\n+ \"https://reddit.com/r/rust/comments/aaa\"\n+ );\n+ }\n }\n\n\nSide B — contributor: tommy-mor\nSide B — commit message:\n[893a2007] fullscreen?\n\nSide B — unified diff (full patch):\ndiff --git a/agents.md b/agents.md\nindex d9a924d2f77c444d9b112bbf37a480b963ace4f0..1f66ddbeddd1e40310947c7eb474c1ac4858bc42 100644\n--- a/agents.md\n+++ b/agents.md\n@@ -37,9 +37,9 @@ Strict **CSP** that blocks `eval` would break the current app. Other projects ma\n \n - **Non-morph `POST /ui` responses:** **`SetGardenPin`** returns **`303 See Other`** and **`Set-Cookie`** (same as **`POST /theme`**). Garden pin/unpin is a normal **`
`** — browser navigation applies cookies reliably (see **`test/browser_garden_pin.clj`**). Each **`__rpc__`** payload includes **`form_action: \"/ui\"`**; **`post_ui_html`** rejects mismatches to bind tokens to the UI endpoint.\n \n-- **`VoteComparePost`:** On success returns **`text/javascript`** that **morphs** **`#vote-compare-preview`** (new ingest card) and **`#vote-edge-history-region`** (recomputed edge list). Uses **`RpcResult::PostOk`**’s **`post_id`** / **`post_index`** for the card. **`__rpc__`** carries **`form_action: \"/ui\"`**; **`thread_tag`** and ratio fields come from the same form as **`$form`** holes.\n+- **`VoteComparePost`:** On success returns **`text/javascript`** that **morphs** **`#vote-compare-preview`** (new ingest card), **`#vote-edge-history-region`** (recomputed **`
    `** — ratios match **`left`/`right`** query order, bullets, sorted by strength toward **`left`** then newer). The compare **`GET`** page uses **`layout_full_bleed_chromeless`** (no breadcrumbs, no **`#controls`**, no **`slug-pin-hud`**; **`view-vote-compare-fullscreen`** full-width **`body`**). **`__rpc__`** carries **`form_action: \"/ui\"`**; **`thread_tag`** and ratio fields come from the same form as **`$form`** holes.\n \n-- **Garden pin / compare voting:** Cookie **`slug_garden_pin`** via **`set_garden_pin`**. Pairwise UI: **`GET /vote/compare?…`** / **`GET /r/:room_key/vote/compare?…`**. HUD: **`#slug-pin-hud`** when **`layout`** passes garden metadata on **`body`**; the label is **`POST /ui`** **`set_garden_pin`** **`clear:true`** (**`slug_ui.js`**), not a permalink to the item.\n+- **Garden pin / compare voting:** Cookie **`slug_garden_pin`** via **`set_garden_pin`**. Pairwise UI: **`GET /vote/compare?…`** / **`GET /r/:room_key/vote/compare?…`** (fullscreen **`GET`** page: no HUD; other garden pages). HUD (**`#slug-pin-hud`**): only when **`layout`** passes garden metadata on **`body`**; the label is **`POST /ui`** **`set_garden_pin`** **`clear:true`** (**`slug_ui.js`**), not a permalink to the item.\n \n **Rule of thumb:** New **CLI or API** verbs → `RpcCommand`. New **in-page morph or form-driven** behavior that only makes sense in the browser → `HtmlUiAction`. If both need the same operation, implement the real work once (e.g. call shared RPC helpers from `post_ui_html`) and keep the wire shapes separate.\n \ndiff --git a/server/src/api/ui_html.rs b/server/src/api/ui_html.rs\nindex 5aa6a86326ba3545d261322c010e02fe86ee1c57..696e7b3605e2e68aee0351116c494c2958506add 100644\n--- a/server/src/api/ui_html.rs\n+++ b/server/src/api/ui_html.rs\n@@ -254,7 +254,17 @@ async fn dispatch_ui_action(\n };\n n\n };\n- let js = vote_compare_post_success_js(state, &nav, &left_id, &right_id).await;\n+ let js = vote_compare_post_success_js(\n+ state,\n+ &nav,\n+ &room,\n+ &thread_tag,\n+ &left_id,\n+ &right_id,\n+ pid.as_str(),\n+ post_index,\n+ )\n+ .await;\n Response::builder()\n .status(StatusCode::OK)\n .header(header::CONTENT_TYPE, \"text/javascript; charset=utf-8\")\ndiff --git a/server/src/html/garden.rs b/server/src/html/garden.rs\nindex 121d9498e8cb93d4d001dc1bbce23d74fbb958f5..41f9e9c64a80a55a9d3ece2a6a1f592cf5e8d8dd 100644\n--- a/server/src/html/garden.rs\n+++ b/server/src/html/garden.rs\n@@ -22,17 +22,17 @@ use crate::{\n },\n events::ThreadCapability,\n path_types::ItemId,\n- reducer::{ContentState, ReducerState, ScopeId},\n+ reducer::{scope_from_room_wire, ContentState, ReducerState, ScopeId},\n scope_rank::{build_children_rankings, ChildrenRankings},\n state::AppState,\n timeago,\n };\n \n use super::{\n- bc_path, bc_path_external, bc_segment, cli_panel, layout, now_ms, ratio_pct,\n- render_linkified_with_embeds_in_scope, theme_from_jar, theme_next_from_uri,\n+ bc_path, bc_path_external, bc_segment, cli_panel, layout, layout_full_bleed_chromeless, now_ms,\n+ ratio_pct, render_linkified_with_embeds_in_scope, theme_from_jar, theme_next_from_uri,\n breadcrumb_path::{ExternalOntologyPath, OntologyPath},\n- forum::{ThreadNav},\n+ forum::{ingest_entry_markup, ThreadNav},\n };\n \n /// `GET /vote/compare` — pairs `left` / `right` query params with optional `thread`.\n@@ -89,25 +89,62 @@ fn canonical_edge_items(a: &ItemId, b: &ItemId) -> (ItemId, ItemId) {\n }\n }\n \n-/// Votes whose endpoints are exactly this unordered pair, oldest first.\n-fn votes_for_edge(content: &ContentState, a: &ItemId, b: &ItemId) -> Vec {\n+/// All votes whose endpoints are exactly this unordered pair (unsorted).\n+fn edge_vote_entries_for_pair(content: &ContentState, a: &ItemId, b: &ItemId) -> Vec {\n let (lo, hi) = canonical_edge_items(a, b);\n let lo_s = lo.as_str();\n let hi_s = hi.as_str();\n- let mut out: Vec = content\n+ content\n .item_votes\n .get(&lo)\n .into_iter()\n .flat_map(|q| q.iter())\n .filter(|v| {\n- let touches = (v.a.as_str() == lo_s && v.b.as_str() == hi_s)\n- || (v.a.as_str() == hi_s && v.b.as_str() == lo_s);\n- touches\n+ (v.a.as_str() == lo_s && v.b.as_str() == hi_s)\n+ || (v.a.as_str() == hi_s && v.b.as_str() == lo_s)\n })\n .cloned()\n- .collect();\n- out.sort_by_key(|v| v.ts);\n- out\n+ .collect()\n+}\n+\n+fn ratios_for_compare_page(v: &crate::reducer::VoteData, page_left: &ItemId, page_right: &ItemId) -> (i32, i32) {\n+ let pl = page_left.as_str();\n+ let pr = page_right.as_str();\n+ match (v.a.as_str(), v.b.as_str()) {\n+ (a, b) if a == pl && b == pr => (v.ratio_left, v.ratio_right),\n+ (a, b) if a == pr && b == pl => (v.ratio_right, v.ratio_left),\n+ _ => (v.ratio_left, v.ratio_right),\n+ }\n+}\n+\n+fn left_share_normalized(ratio_left: i32, ratio_right: i32) -> f64 {\n+ let l = ratio_left.max(0) as f64;\n+ let r = ratio_right.max(0) as f64;\n+ let sum = l + r;\n+ if sum <= 0.0 {\n+ 0.5\n+ } else {\n+ l / sum\n+ }\n+}\n+\n+/// Stronger preference for **`page_left` first**; ties **newer first**.\n+fn sort_votes_for_compare_display(\n+ mut votes: Vec,\n+ page_left: &ItemId,\n+ page_right: &ItemId,\n+) -> Vec {\n+ votes.sort_by(|va, vb| {\n+ let (ratio_left_a, ratio_right_a) = ratios_for_compare_page(va, page_left, page_right);\n+ let (ratio_left_b, ratio_right_b) = ratios_for_compare_page(vb, page_left, page_right);\n+ let sa = left_share_normalized(ratio_left_a, ratio_right_a);\n+ let sb = left_share_normalized(ratio_left_b, ratio_right_b);\n+ match sb.partial_cmp(&sa).unwrap_or(std::cmp::Ordering::Equal) {\n+ std::cmp::Ordering::Equal => vb.ts.cmp(&va.ts),\n+ o => o,\n+ }\n+ });\n+ votes\n }\n \n /// Number of vote ingests recorded for this unordered pair in `content` (same scope as ranking).\n@@ -144,39 +181,40 @@ fn vote_edge_history_markup(\n content: &ContentState,\n left: &ItemId,\n right: &ItemId,\n- nav: &ThreadNav,\n ) -> maud::Markup {\n- let votes = votes_for_edge(content, left, right);\n- let (lo, hi) = canonical_edge_items(left, right);\n+ let votes = edge_vote_entries_for_pair(content, left, right);\n+ let votes = sort_votes_for_compare_display(votes, left, right);\n+ let legend_left = item_display_path(left.as_str());\n+ let legend_right = item_display_path(right.as_str());\n html! {\n @if votes.is_empty() {\n p class=\"muted vote-edge-empty\" { \"no votes on this pair in this scope yet\" }\n } @else {\n- h3 class=\"vote-edge-history-title\" { \"votes on this edge\" }\n- ol class=\"vote-edge-history\" {\n+ h3 class=\"vote-edge-history-title\" {\n+ \"votes on this edge\"\n+ span class=\"vote-edge-history-axis muted\" { \" · \" (legend_left) \" : \" (legend_right) }\n+ }\n+ ul class=\"vote-edge-history\" {\n @for v in &votes {\n- @let (ratio_lo, ratio_hi) = if v.a == lo && v.b == hi {\n- (v.ratio_left, v.ratio_right)\n- } else {\n- (v.ratio_right, v.ratio_left)\n- };\n- @let pct = ratio_pct(ratio_lo, ratio_hi);\n- @let left_class = if lo.as_str() == left.as_str() { \"ratio-left current\" } else { \"ratio-left\" };\n- @let right_class = if hi.as_str() == left.as_str() { \"ratio-right current\" } else { \"ratio-right\" };\n- li class=\"vote-edge-history-row\" {\n+ @let (r_left, r_right) = ratios_for_compare_page(v, left, right);\n+ @let pct = ratio_pct(r_left, r_right);\n+ @let row_tip = format!(\n+ \"{}:{} counts toward {} (left of bar) vs {} (right of bar); #{} · @{}\",\n+ r_left,\n+ r_right,\n+ legend_left,\n+ legend_right,\n+ v.thread_tag,\n+ v.principal,\n+ );\n+ li class=\"vote-edge-history-row\" title=(row_tip) {\n div class=\"vote-edge-meta\" {\n- a href=(nav.garden_item_href(&lo)) {\n- code { (item_display_path(lo.as_str())) }\n- }\n- span class=\"vote-edge-ratio\" { (format!(\"{}:{}\", ratio_lo, ratio_hi)) }\n- a href=(nav.garden_item_href(&hi)) {\n- code { (item_display_path(hi.as_str())) }\n- }\n+ span class=\"vote-edge-ratio\" { (format!(\"{}:{}\", r_left, r_right)) }\n span class=\"muted\" { \" · #\" (v.thread_tag) \" · @\" (v.principal) }\n }\n- div class=\"ratio-bar vote-edge-bar\" {\n- div class=(left_class) style={(format!(\"width: {:.3}%;\", pct))} {}\n- div class=(right_class) style={(format!(\"width: {:.3}%;\", 100.0 - pct))} {}\n+ div class=\"ratio-bar vote-edge-bar\" aria-hidden=\"true\" {\n+ div class=\"ratio-left\" style={(format!(\"width: {:.3}%;\", pct))} {}\n+ div class=\"ratio-right\" style={(format!(\"width: {:.3}%;\", 100.0 - pct))} {}\n }\n @if !v.body.trim().is_empty() {\n div class=\"vote-edge-reason muted\" { (v.body.trim()) }\n@@ -192,14 +230,33 @@ fn vote_edge_history_markup(\n pub(crate) async fn vote_compare_post_success_js(\n state: &AppState,\n nav: &ThreadNav,\n+ room_wire: &str,\n+ thread_tag: &str,\n left: &ItemId,\n right: &ItemId,\n+ post_id: &str,\n+ post_idx: Option,\n ) -> String {\n let reduced = state.reduced.read().await;\n+ let scope = scope_from_room_wire(room_wire);\n+ let Some(ing) = reduced.ingests_by_id.get(post_id).cloned() else {\n+ drop(reduced);\n+ return \"console.warn('vote compare: new post not found');\".to_string();\n+ };\n+ let idx = match post_idx {\n+ Some(i) => i,\n+ None => reduced\n+ .try_thread_post_index_chronological(&scope, thread_tag, post_id)\n+ .unwrap_or(0),\n+ };\n+ let viewer = None::<&str>;\n+ let now = now_ms();\n let content = content_for_garden_view(&reduced, &nav.scope());\n- let edge_history = vote_edge_history_markup(content, left, right, nav);\n+ let edge_history = vote_edge_history_markup(content, left, right);\n+ let card = ingest_entry_markup(nav, thread_tag, idx, &ing, viewer, now, &reduced);\n drop(reduced);\n let mut b = JsBuilder::new();\n+ b = b.morph_inner_selector(\"#vote-compare-preview\", card);\n b = b.morph_inner_selector(\"#vote-edge-history-region\", edge_history);\n b.build()\n }\n@@ -1259,7 +1316,7 @@ async fn vote_compare_inner(\n .filter(|t| !t.is_empty())\n .unwrap_or_else(|| pick_autothread_for_vote_pair(content, &left, &right));\n let thread_tags = vote_thread_tags_for_pair(content, &left, &right);\n- let edge_history = vote_edge_history_markup(content, &left, &right, &nav);\n+ let edge_history = vote_edge_history_markup(content, &left, &right);\n drop(reduced);\n \n let title = format!(\"vote — {} vs {}\", item_display_path(left.as_str()), item_display_path(right.as_str()));\n@@ -1282,15 +1339,6 @@ async fn vote_compare_inner(\n .expect(\"vote compare rpc json\");\n \n let body = html! {\n- nav class=\"breadcrumb\" {\n- a href=\"/\" { \"slug.social\" }\n- @let vote_bc_href = if nav.room_path_prefix_for_vote_compare().is_empty() {\n- \"/vote/compare\".to_string()\n- } else {\n- format!(\"{}/vote/compare\", nav.room_path_prefix_for_vote_compare())\n- };\n- (bc_segment(\"vote\", &vote_bc_href, true))\n- }\n section class=\"vote-compare-shell\" {\n h2 { \"compare\" }\n div class=\"vote-compare-pair\" {\n@@ -1305,6 +1353,10 @@ async fn vote_compare_inner(\n div id=\"vote-edge-history-region\" {\n (edge_history)\n }\n+ div class=\"vote-compare-preview-wrap\" {\n+ h3 { \"your vote (after post)\" }\n+ div id=\"vote-compare-preview\" class=\"vote-compare-preview\" {}\n+ }\n @if can_post {\n form id=\"vote-compare-form\" method=\"POST\" action=\"/ui\" {\n input type=\"hidden\" name=(UI_RPC_FIELD) value=(rpc_json);\n@@ -1342,16 +1394,12 @@ async fn vote_compare_inner(\n }\n };\n \n- let (gr, gp) = garden_layout_meta(&nav);\n- let page = layout(\n+ let page = layout_full_bleed_chromeless(\n &title,\n- \"view-ontology view-ontology-light view-vote-compare\",\n+ \"view-ontology view-ontology-light view-vote-compare view-vote-compare-fullscreen\",\n body,\n- None,\n theme_from_jar(&jar),\n &theme_next_from_uri(&uri),\n- Some(&gr),\n- Some(&gp),\n );\n Html(page.into_string()).into_response()\n }\n@@ -1388,10 +1436,40 @@ mod tests {\n }));\n }\n \n+ #[test]\n+ fn vote_edge_compare_sorts_rows_by_strength_for_page_left() {\n+ use super::{\n+ content_for_garden_view, edge_vote_entries_for_pair, ratios_for_compare_page,\n+ sort_votes_for_compare_display,\n+ };\n+ use crate::path_types::ItemId;\n+ let mut reduced = ReducerState::default();\n+ apply_ingest(\n+ &mut reduced,\n+ 1,\n+ \"@00000000-0000-0000-0000-000000000000:test:local/test\\n\\\n+ ~/topic {root}\\n\\\n+ ~/topic/a {alpha}\\n\\\n+ ~/topic/b {beta}\\n\\\n+ ~/topic/a 1:9 ~/topic/b {weak for a}\\n\\\n+ ~/topic/a 8:2 ~/topic/b {strong for a}\\n\",\n+ );\n+ let content = content_for_garden_view(&reduced, &ScopeId::Public);\n+ let page_left = ItemId::parse(\"~/topic/a\").unwrap().normalized_storage();\n+ let page_right = ItemId::parse(\"~/topic/b\").unwrap().normalized_storage();\n+ let raw = edge_vote_entries_for_pair(content, &page_left, &page_right);\n+ assert_eq!(raw.len(), 2);\n+ let sorted = sort_votes_for_compare_display(raw, &page_left, &page_right);\n+ let (r0, _) = ratios_for_compare_page(&sorted[0], &page_left, &page_right);\n+ assert_eq!(r0, 8, \"stronger left weight should sort first\");\n+ let (r1, _) = ratios_for_compare_page(&sorted[1], &page_left, &page_right);\n+ assert_eq!(r1, 1);\n+ }\n+\n #[test]\n fn edge_vote_count_for_pair_matches_votes_for_edge_len() {\n use super::{\n- content_for_garden_view, edge_vote_count_for_pair, votes_for_edge,\n+ content_for_garden_view, edge_vote_count_for_pair, edge_vote_entries_for_pair,\n };\n use crate::path_types::ItemId;\n let mut reduced = ReducerState::default();\n@@ -1410,9 +1488,9 @@ mod tests {\n let b = ItemId::parse(\"~/topic/b\").unwrap().normalized_storage();\n assert_eq!(\n edge_vote_count_for_pair(content, &a, &b),\n- votes_for_edge(content, &a, &b).len()\n+ edge_vote_entries_for_pair(content, &a, &b).len()\n );\n- assert_eq!(votes_for_edge(content, &a, &b).len(), 2);\n+ assert_eq!(edge_vote_entries_for_pair(content, &a, &b).len(), 2);\n }\n \n #[test]\ndiff --git a/server/src/html/mod.rs b/server/src/html/mod.rs\nindex 40c15debe91a708da24dc1dec2ece2a852dd6381..f57b66f510dfaade1b656990fb2cbb30d16e5bf1 100644\n--- a/server/src/html/mod.rs\n+++ b/server/src/html/mod.rs\n@@ -304,6 +304,28 @@ pub(super) fn layout(\n layout_embed_controls(title, view, body, views, theme, theme_next, garden_room_wire, garden_path_prefix, true)\n }\n \n+/// Minimal document shell: no bottom controls, no garden HUD data attributes (`data-garden-room` /\n+/// `data-garden-prefix` empty). For routes that own the full viewport (e.g. vote compare).\n+pub(super) fn layout_full_bleed_chromeless(\n+ title: &str,\n+ view: &str,\n+ body: Markup,\n+ theme: &str,\n+ theme_next: &str,\n+) -> Markup {\n+ layout_embed_controls(\n+ title,\n+ view,\n+ body,\n+ None,\n+ theme,\n+ theme_next,\n+ None,\n+ None,\n+ false,\n+ )\n+}\n+\n fn layout_embed_controls(\n title: &str,\n view: &str,\ndiff --git a/server/static/theme_default.css b/server/static/theme_default.css\nindex 9178f0629cfb868348740e6dea1626dc6afb8345..a441c4f79d8cf88f5a8240f9992f47dbbd1ab46b 100644\n--- a/server/static/theme_default.css\n+++ b/server/static/theme_default.css\n@@ -1054,6 +1054,26 @@ body.view-vote-compare #vote-explain:focus {\n body.view-vote-compare #vote-compare-form button[type=\"submit\"] {\n margin-top: 6px;\n }\n+\n+body.view-vote-compare-fullscreen {\n+ max-width: none;\n+ width: 100%;\n+ margin-left: 0;\n+ margin-right: 0;\n+ padding: clamp(8px, 2.5vw, 28px);\n+ padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));\n+ padding-top: max(8px, env(safe-area-inset-top, 0px));\n+ min-height: 100vh;\n+ min-height: 100dvh;\n+ box-sizing: border-box;\n+}\n+body.view-vote-compare-fullscreen .vote-compare-shell {\n+ max-width: none;\n+ width: 100%;\n+ box-sizing: border-box;\n+ margin: 0;\n+}\n+\n .vote-edge-history-title {\n font-size: 12px;\n letter-spacing: 0.06em;\n@@ -1061,9 +1081,15 @@ body.view-vote-compare #vote-compare-form button[type=\"submit\"] {\n color: var(--meta);\n margin: 16px 0 8px;\n }\n-ol.vote-edge-history {\n+.vote-edge-history-axis {\n+ text-transform: none;\n+ letter-spacing: normal;\n+ font-size: 13px;\n+}\n+ul.vote-edge-history {\n margin: 0;\n- padding-left: 1.2em;\n+ padding-left: 1.35em;\n+ list-style-type: disc;\n }\n li.vote-edge-history-row {\n margin: 10px 0;\ndiff --git a/server/static/theme_retro.css b/server/static/theme_retro.css\nindex f2d0ddee113995817a7f9bfa8500b2f5e7d81cf4..373f15bbd75b62604cdd14b9f0fadda2d6176991 100644\n--- a/server/static/theme_retro.css\n+++ b/server/static/theme_retro.css\n@@ -176,3 +176,21 @@ nav.breadcrumb.ont-sibling-nav span.ont-sibling-nav-group-sep {\n border-right: none;\n border-top: none;\n }\n+\n+body.view-vote-compare-fullscreen {\n+ max-width: none;\n+ width: 100%;\n+ margin: 0;\n+ padding: clamp(8px, 2.5vw, 20px);\n+ padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));\n+ padding-top: max(8px, env(safe-area-inset-top, 0px));\n+ min-height: 100vh;\n+ min-height: 100dvh;\n+ box-sizing: border-box;\n+}\n+body.view-vote-compare-fullscreen .vote-compare-shell {\n+ max-width: none;\n+ width: 100%;\n+ box-sizing: border-box;\n+ margin: 0;\n+}\ndiff --git a/server/static/theme_retro_craft.css b/server/static/theme_retro_craft.css\nindex efaeed06d01fd835df0621f4c621c8f034c8b536..0871e3126c656ba534306cdc3f405f802d10b589 100644\n--- a/server/static/theme_retro_craft.css\n+++ b/server/static/theme_retro_craft.css\n@@ -785,6 +785,24 @@ body.view-ontology.view-vote-compare .vote-compare-shell {\n border-radius: 3px;\n box-shadow: 0 1px 0 rgba(26, 24, 20, 0.06);\n }\n+body.view-ontology.view-vote-compare.view-vote-compare-fullscreen .vote-compare-shell {\n+ max-width: none;\n+ width: 100%;\n+ min-height: calc(100dvh - clamp(20px, 5vw, 56px));\n+ margin: 0;\n+ box-sizing: border-box;\n+}\n+body.view-vote-compare-fullscreen {\n+ max-width: none !important;\n+ width: 100%;\n+ margin: 0 !important;\n+ padding: clamp(6px, 2vw, 1.75rem);\n+ padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));\n+ padding-top: max(6px, env(safe-area-inset-top, 0px));\n+ min-height: 100vh;\n+ min-height: 100dvh;\n+ box-sizing: border-box;\n+}\n body.view-ontology.view-vote-compare .vote-compare-shell > h2 {\n margin-top: 0;\n font-size: 0.7rem;\n@@ -910,9 +928,16 @@ body.view-ontology .vote-edge-history-title {\n color: #5c574e;\n margin: 0 0 0.5rem;\n }\n-body.view-ontology ol.vote-edge-history {\n+body.view-ontology .vote-edge-history-axis {\n+ text-transform: none;\n+ letter-spacing: normal;\n+ font-size: 0.82rem;\n+ font-weight: 400;\n+}\n+body.view-ontology ul.vote-edge-history {\n margin: 0;\n- padding-left: 1.1rem;\n+ padding-left: 1.25rem;\n+ list-style-type: disc;\n }\n body.view-ontology li.vote-edge-history-row {\n margin: 0.65rem 0;\ndiff --git a/test/browser_vote_compare.clj b/test/browser_vote_compare.clj\nindex 26fcff8bceb0c10bcd5ddfdae1aa145b56b7a0d1..78fc40c160c84478ab8ee0d953b9ed878b4c712f 100644\n--- a/test/browser_vote_compare.clj\n+++ b/test/browser_vote_compare.clj\n@@ -72,13 +72,13 @@\n (is (wait-for-text pg \"body\" \"@alice\" 15000) \"alice session after login\")\n (page/navigate pg cmp-url)\n (is (wait-for-text pg \".vote-compare-shell\" \"compare\" 15000) \"vote compare shell\")\n- (is (wait-for-text pg \"ol.vote-edge-history\" \"seed edge vote\" 15000)\n+ (is (wait-for-text pg \"ul.vote-edge-history\" \"seed edge vote\" 15000)\n \"edge history lists canonical-order vote\")\n (locator/fill (page/locator pg \"#vote-explain\") \"because playwright says so\")\n (locator/click (page/locator pg \"#vote-compare-form button[type=submit]\"))\n (is (wait-for-text pg \"#vote-compare-preview\" \"because playwright\" 20000)\n \"preview region morphs new post card\")\n- (is (wait-for-text pg \"ol.vote-edge-history\" \"because playwright\" 20000)\n+ (is (wait-for-text pg \"ul.vote-edge-history\" \"because playwright\" 20000)\n \"new vote appears in edge history after morph\"))))))\n \n (finally\n","role":"user"}],"model":"openai/gpt-chat-latest"}