left4me/l4d2web/l4d2web/templates
mwiegand 70b80d4ceb
fix(server-detail): tall modal heights, true recent count, re-fetch on reopen, drop dead macro + arg
- Fix 1: add .modal .log-stream.tall / .console-transcript.tall → max-height 60vh so
  log and console modals render taller than the compact inline tab
- Fix 2: replace len(recent_rows) with a select(func.count(func.distinct(...))) so
  recent_players_total_count reflects all matching players, not the .limit(50) cap;
  add test_live_state_total_count_reflects_truth_above_limit (60 sessions → "60 Recent")
- Fix 3: dispatch custom modal:opened event after showModal() in both openInline and
  fetchAndShowRouted; switch recent-players-modal hx-trigger from "revealed" to
  "modal:opened from:closest dialog" so HTMX re-fetches on every open, not just first.
  Manual smoke-test not performed — relies on JS event dispatch + test suite; no JS
  test framework in repo.
- Fix 4: remove dead config_field macro (value-form, never called; config_field_block
  is the one actually used)
- Fix 5: drop unused editable parameter from config_field_block macro definition and
  the editable=True call on the Hostname field

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 21:40:20 +02:00
..
_console_line.html refactor(repo): uv workspace + hatchling + layout restructure 2026-05-15 22:04:29 +02:00
_editor_assets.html fix(editor-v2): eliminate first-paint flicker 2026-05-17 02:25:52 +02:00
_job_table.html refactor(templates): use timeago filter for job timestamps 2026-05-16 11:11:56 +02:00
_live_state.html refactor(live-state): hoist display_name into {% set %} to DRY card loops 2026-05-17 21:08:46 +02:00
_macros.html fix(server-detail): tall modal heights, true recent count, re-fetch on reopen, drop dead macro + arg 2026-05-17 21:40:20 +02:00
_modal_partial.html refactor(modals): consolidate modal.js + modal-router.js as inline/routed 2026-05-17 14:31:38 +02:00
_overlay_build_status.html refactor(page_routes): pass datetime to templates for timeago filter 2026-05-16 11:14:08 +02:00
_overlay_file_node.html refactor(files): drop the always-True download_supported flag 2026-05-17 17:05:17 +02:00
_overlay_file_tree.html refactor(repo): uv workspace + hatchling + layout restructure 2026-05-15 22:04:29 +02:00
_overlay_item_table.html refactor(repo): uv workspace + hatchling + layout restructure 2026-05-15 22:04:29 +02:00
_recent_players_modal_body.html feat(live-state): ?view=recent-modal branch + single-column modal list 2026-05-17 21:25:36 +02:00
_server_actions.html feat(server-actions): remove inline job-log; link → job-log-modal trigger 2026-05-17 21:10:02 +02:00
admin.html refactor(repo): uv workspace + hatchling + layout restructure 2026-05-15 22:04:29 +02:00
admin_jobs.html refactor(repo): uv workspace + hatchling + layout restructure 2026-05-15 22:04:29 +02:00
admin_users.html refactor(modals): consolidate modal.js + modal-router.js as inline/routed 2026-05-17 14:31:38 +02:00
base.html feat(base): include tabs.js 2026-05-17 21:15:34 +02:00
blueprint_detail.html refactor(modals): consolidate modal.js + modal-router.js as inline/routed 2026-05-17 14:31:38 +02:00
blueprints.html refactor(modals): consolidate modal.js + modal-router.js as inline/routed 2026-05-17 14:31:38 +02:00
dashboard.html refactor(repo): uv workspace + hatchling + layout restructure 2026-05-15 22:04:29 +02:00
job_detail.html refactor(templates): use timeago filter for job timestamps 2026-05-16 11:11:56 +02:00
login.html refactor(repo): uv workspace + hatchling + layout restructure 2026-05-15 22:04:29 +02:00
overlay_detail.html refactor(files): drop the always-True download_supported flag 2026-05-17 17:05:17 +02:00
overlay_file_editor.html feat(files): add binary-file support to edit route + template 2026-05-17 16:11:17 +02:00
overlay_jobs.html refactor(repo): uv workspace + hatchling + layout restructure 2026-05-15 22:04:29 +02:00
overlays.html refactor(modals): consolidate modal.js + modal-router.js as inline/routed 2026-05-17 14:31:38 +02:00
profile.html refactor(repo): uv workspace + hatchling + layout restructure 2026-05-15 22:04:29 +02:00
server_detail.html fix(server-detail): tall modal heights, true recent count, re-fetch on reopen, drop dead macro + arg 2026-05-17 21:40:20 +02:00
server_jobs.html refactor(repo): uv workspace + hatchling + layout restructure 2026-05-15 22:04:29 +02:00
servers.html refactor(modals): consolidate modal.js + modal-router.js as inline/routed 2026-05-17 14:31:38 +02:00