From 13d386412812b6173107db1654536f7902c448cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AE=D1=80=D0=B8=D0=B9=20=D0=A7=D0=B5=D1=80=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE?= Date: Sun, 27 Sep 2026 00:01:08 +0300 Subject: [PATCH] update 4 --- HOTFIX_MANIFEST.json | 453 +++++++++++++---------------------- UPDATE_TABS_RU.md | 50 ++++ app.py | 2 +- ui_builder/static/app.js | 35 ++- ui_builder/static/styles.css | 116 +++++++++ 5 files changed, 364 insertions(+), 292 deletions(-) create mode 100644 UPDATE_TABS_RU.md diff --git a/HOTFIX_MANIFEST.json b/HOTFIX_MANIFEST.json index fd0edc5..0f7438b 100644 --- a/HOTFIX_MANIFEST.json +++ b/HOTFIX_MANIFEST.json @@ -1,13 +1,21 @@ { - "release": "2026.09.26.3", + "release": "2026.09.26.4", + "previous_release": "2026.09.26.3", + "source_archive": "hockey_hotfix_2026-09-26_v3(1).zip", + "source_sha256": "c799cc9b90a7f5fe2e49886e35c18790c44d2b86331fc79138be5776bf1b2034", + "package_type": "cumulative changed-files update; extract into existing project root", "base_release": "2026.09.24.4", "also_applies_to": [ "2026.09.26.1", - "2026.09.26.2" + "2026.09.26.2", + "2026.09.26.3" + ], + "changes_in_this_release": [ + "app.py", + "ui_builder/static/app.js", + "ui_builder/static/styles.css", + "UPDATE_TABS_RU.md" ], - "base_archive": "hockey(9).zip", - "base_archive_sha256": "32907eb9353ed961090f03cb1637cf63ce1b06bf755c3fc2413a33c2262bccb3", - "package_type": "cumulative changed-files update; extract into existing project root", "delete_files": [], "excluded": [ "all user settings JSON", @@ -18,563 +26,432 @@ "databases and logs" ], "validation": { - "passed": 421, - "failed": 40, - "new_failed_test_ids": [], - "real_vmix_tested": false + "javascript_syntax": "passed", + "runtime_navigation_jsdom": "passed", + "penalty_overlay_jsdom": "passed", + "browser_layout_measured": false, + "full_suite_rerun": false }, "files": [ { "path": ".gitignore", - "action": "replace", - "base_sha256": "0ae0f61680c4212bc1808ad4d63b462b2b96d653346c747e47599520e3fb9fb8", - "stage2_sha256": "b868270ed9be2aed976c03035b07ab1a05a50160cbc6131f3e98c399c87c5c13", + "bytes": 2284, "updated_sha256": "b868270ed9be2aed976c03035b07ab1a05a50160cbc6131f3e98c399c87c5c13", - "bytes": 2284 + "v3_sha256": "b868270ed9be2aed976c03035b07ab1a05a50160cbc6131f3e98c399c87c5c13" }, { "path": "PREVIOUS_40_FAILURES_RU.md", - "action": "add", - "base_sha256": null, - "stage2_sha256": null, + "bytes": 16887, "updated_sha256": "45f3b19368fc0f06970c9be42530bb94a86f0d69898493d3e7cf1ca06d9ee404", - "bytes": 16887 + "v3_sha256": "45f3b19368fc0f06970c9be42530bb94a86f0d69898493d3e7cf1ca06d9ee404" }, { "path": "UPDATE_HOTFIX_RU.md", - "action": "add", - "base_sha256": null, - "stage2_sha256": null, + "bytes": 9218, "updated_sha256": "cfd90470464b7f356e524c396f8637e4788474b851c6486f4a98a4cb612ed5c0", - "bytes": 9218 + "v3_sha256": "cfd90470464b7f356e524c396f8637e4788474b851c6486f4a98a4cb612ed5c0" }, { "path": "UPDATE_STAGE2_RU.md", - "action": "add", - "base_sha256": null, - "stage2_sha256": "5347cdd210e7b4cfe896d1a743073c646872108237ed9edc2eccf9b323840983", + "bytes": 18312, "updated_sha256": "5347cdd210e7b4cfe896d1a743073c646872108237ed9edc2eccf9b323840983", - "bytes": 18312 + "v3_sha256": "5347cdd210e7b4cfe896d1a743073c646872108237ed9edc2eccf9b323840983" + }, + { + "path": "UPDATE_TABS_RU.md", + "bytes": 4918, + "updated_sha256": "1ddc563fd8fce8cb2c6cbbab218478af30b5171aa374a03fa18209479fc2e2fe", + "v3_sha256": null }, { "path": "VALIDATION_HOTFIX_RU.md", - "action": "add", - "base_sha256": null, - "stage2_sha256": null, + "bytes": 6367, "updated_sha256": "01a5679ba5318f7381f12c91b3adf1128ddfd9e3790fffc1e890e22ce1277d85", - "bytes": 6367 + "v3_sha256": "01a5679ba5318f7381f12c91b3adf1128ddfd9e3790fffc1e890e22ce1277d85" }, { "path": "VALIDATION_STAGE2_RU.md", - "action": "add", - "base_sha256": null, - "stage2_sha256": "0020d6174c7470d6afe8987dfa64e685fe23431e1cd7eb691a4285a80bf0d260", + "bytes": 11454, "updated_sha256": "0020d6174c7470d6afe8987dfa64e685fe23431e1cd7eb691a4285a80bf0d260", - "bytes": 11454 + "v3_sha256": "0020d6174c7470d6afe8987dfa64e685fe23431e1cd7eb691a4285a80bf0d260" }, { "path": "app.py", - "action": "replace", - "base_sha256": "f3f06139e4a92eac1386616c834dd4a0965e815e9f2f284337b22ff51e81c195", - "stage2_sha256": "0a7f3cc6c878ed61b0a443c9a7b02351d9590ec9c4d877edfd2a8f82fd7e1e93", - "updated_sha256": "4c00ca6689880e998f3e5a12b9bc81bad0312c7f6a8156d7263419e1eab866de", - "bytes": 20097 + "bytes": 20097, + "updated_sha256": "77d570fd9e6a1cf7218ed5735be3b08679d940435c3b6662c4c3f55ff3bdf331", + "v3_sha256": "4c00ca6689880e998f3e5a12b9bc81bad0312c7f6a8156d7263419e1eab866de" }, { "path": "broadcast_settings/expressions.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "83e84e1943e763ba08db11fd885dea4147309fff87e61a205763c3bc26ed82de", + "bytes": 9364, "updated_sha256": "83e84e1943e763ba08db11fd885dea4147309fff87e61a205763c3bc26ed82de", - "bytes": 9364 + "v3_sha256": "83e84e1943e763ba08db11fd885dea4147309fff87e61a205763c3bc26ed82de" }, { "path": "broadcast_settings/transform.py", - "action": "replace", - "base_sha256": "20c04429d90165946127945938be1a8822addebe5a286dba47539d140e35bc5b", - "stage2_sha256": "276abb72aa02335f566f9e041f81f60f6d8aefeb1b06ee3a271a4a264bb9a3bb", + "bytes": 84253, "updated_sha256": "276abb72aa02335f566f9e041f81f60f6d8aefeb1b06ee3a271a4a264bb9a3bb", - "bytes": 84253 + "v3_sha256": "276abb72aa02335f566f9e041f81f60f6d8aefeb1b06ee3a271a4a264bb9a3bb" }, { "path": "hockey_data/account_activity.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": null, + "bytes": 1331, "updated_sha256": "1647d07ef17d10c6c9994574b541bfc2483b1cdd7eacfcb76dbf72e3d40045f1", - "bytes": 1331 + "v3_sha256": "1647d07ef17d10c6c9994574b541bfc2483b1cdd7eacfcb76dbf72e3d40045f1" }, { "path": "hockey_data/agent_bridge.py", - "action": "replace", - "base_sha256": "4daa00ed80a929bc8ab9cac50525fc983ff7bae4e5abbed5f4fa3598f5078f0f", - "stage2_sha256": "7c4da6ba77b17cf906d37645514c80ca8289cbeb7601dbb6907bfa51b0017083", + "bytes": 280458, "updated_sha256": "1a4e1d30fbc567daa0af53e8002354c30dba19ebe97f25b1f80ae90fdc92b4a1", - "bytes": 280458 + "v3_sha256": "1a4e1d30fbc567daa0af53e8002354c30dba19ebe97f25b1f80ae90fdc92b4a1" }, { "path": "hockey_data/async_work.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "d491a15e5e233c3d30d623f86a46402364d4296c675a238d3df72c4a840986e0", + "bytes": 1814, "updated_sha256": "d491a15e5e233c3d30d623f86a46402364d4296c675a238d3df72c4a840986e0", - "bytes": 1814 + "v3_sha256": "d491a15e5e233c3d30d623f86a46402364d4296c675a238d3df72c4a840986e0" }, { "path": "hockey_data/auth_bridge.py", - "action": "replace", - "base_sha256": "312b69cd084cdafeb1900f25c340fa21d81fe2e6adb91aef44f8034ddd7e2e05", - "stage2_sha256": "4f2ceba8e2f49372454dcf822f5387931739a4abd5c89bb5c9437d0db6f6e2e7", + "bytes": 15193, "updated_sha256": "dfba4b954748076f5b6c7733dd12b5b4350fc937e920215282249de6753673d6", - "bytes": 15193 + "v3_sha256": "dfba4b954748076f5b6c7733dd12b5b4350fc937e920215282249de6753673d6" }, { "path": "hockey_data/auth_router.py", - "action": "replace", - "base_sha256": "616efa9a107cde53bac5bf3304ac2d71dfdd5eb5d709ab243054b48daa772118", - "stage2_sha256": "645d8b610a37dda58ea5a70457976640264b8499e72b6e6b79aeef33b94586b9", + "bytes": 7870, "updated_sha256": "645d8b610a37dda58ea5a70457976640264b8499e72b6e6b79aeef33b94586b9", - "bytes": 7870 + "v3_sha256": "645d8b610a37dda58ea5a70457976640264b8499e72b6e6b79aeef33b94586b9" }, { "path": "hockey_data/database.py", - "action": "replace", - "base_sha256": "1c298f8bb85bc6a52b3fc6e7e58e215e48d36e94c8861edbe0392003a3bc5c25", - "stage2_sha256": "1ca3b7ea41a85d24401d393bf51a6a7a04eb70678f8481145f71da80dd07b2fc", + "bytes": 15921, "updated_sha256": "1ca3b7ea41a85d24401d393bf51a6a7a04eb70678f8481145f71da80dd07b2fc", - "bytes": 15921 + "v3_sha256": "1ca3b7ea41a85d24401d393bf51a6a7a04eb70678f8481145f71da80dd07b2fc" }, { "path": "hockey_data/idle_matches.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": null, + "bytes": 4857, "updated_sha256": "21fdc4a9f4ad1f8d64a39135706191038f3cc15844339f3502e0246101f44851", - "bytes": 4857 + "v3_sha256": "21fdc4a9f4ad1f8d64a39135706191038f3cc15844339f3502e0246101f44851" }, { "path": "hockey_data/mapping_context.py", - "action": "replace", - "base_sha256": "6db8e9aee7164a85f6494f88ad854d2602371de1b8639a22bc670fe23ddeb161", - "stage2_sha256": "f33d22d64a991d7a1f0ac88e1680151a769b336ee3e9fecef8755b846160b822", + "bytes": 87920, "updated_sha256": "f33d22d64a991d7a1f0ac88e1680151a769b336ee3e9fecef8755b846160b822", - "bytes": 87920 + "v3_sha256": "f33d22d64a991d7a1f0ac88e1680151a769b336ee3e9fecef8755b846160b822" }, { "path": "hockey_data/match_access.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "9f4811b83eec2ca55e6d58099b2aedd420cbc2bbdb04dccbb2946a8b33f93068", + "bytes": 26978, "updated_sha256": "eaa9e6320be5bc034af50c0e54a482573ab584fede8e0f1e8b0712b0062f0f21", - "bytes": 26978 + "v3_sha256": "eaa9e6320be5bc034af50c0e54a482573ab584fede8e0f1e8b0712b0062f0f21" }, { "path": "hockey_data/models.py", - "action": "replace", - "base_sha256": "4ff5b2378ab972c991e16ac600b554bf67169a87808777e57ca9b79a05eadf4f", - "stage2_sha256": "c77f257bd9f60fe5dfda2b3d62584b50173819468eca4662fcdcc2a9cfe391c6", + "bytes": 73138, "updated_sha256": "c77f257bd9f60fe5dfda2b3d62584b50173819468eca4662fcdcc2a9cfe391c6", - "bytes": 73138 + "v3_sha256": "c77f257bd9f60fe5dfda2b3d62584b50173819468eca4662fcdcc2a9cfe391c6" }, { "path": "hockey_data/router.py", - "action": "replace", - "base_sha256": "e5c2b94ab83c5a9bde48ca5c500e80e0ae737e22098d31fd392ee6277a000b29", - "stage2_sha256": "bec255b080cf66d8f4105d965bb8c5d6ac8b0444b2dbe89833ae195484f4821c", + "bytes": 67863, "updated_sha256": "bec255b080cf66d8f4105d965bb8c5d6ac8b0444b2dbe89833ae195484f4821c", - "bytes": 67863 + "v3_sha256": "bec255b080cf66d8f4105d965bb8c5d6ac8b0444b2dbe89833ae195484f4821c" }, { "path": "hockey_data/service.py", - "action": "replace", - "base_sha256": "df1c7e19777dd3a40b1204d3e335eed05cd9586510b9a7db871d47caf4e17284", - "stage2_sha256": "96429c4f5228b01cd115152617fde502a9febc1f685afbc5107e0b5b4a1c3c70", + "bytes": 389282, "updated_sha256": "96429c4f5228b01cd115152617fde502a9febc1f685afbc5107e0b5b4a1c3c70", - "bytes": 389282 + "v3_sha256": "96429c4f5228b01cd115152617fde502a9febc1f685afbc5107e0b5b4a1c3c70" }, { "path": "hockey_data/static/admin-directories.css", - "action": "replace", - "base_sha256": "e0897e5cf5099dadd7f48348ede5d9043eda7f3273e7ef9f21719a31cf021f4a", - "stage2_sha256": "f1d6727f9b697f51c49be3e7df843a07c75a98778707d8535030862686a7ca4b", + "bytes": 112514, "updated_sha256": "f1d6727f9b697f51c49be3e7df843a07c75a98778707d8535030862686a7ca4b", - "bytes": 112514 + "v3_sha256": "f1d6727f9b697f51c49be3e7df843a07c75a98778707d8535030862686a7ca4b" }, { "path": "hockey_data/static/admin-directories.js", - "action": "replace", - "base_sha256": "5b9c5a91448c2c524afdb8e64c22fec30438b68a41e4e34445e0c62645927dd8", - "stage2_sha256": "e99d673531d497bdf9d48e12c8d4df4ffa1e961aa4a21df110208385ea5072e7", + "bytes": 279460, "updated_sha256": "e99d673531d497bdf9d48e12c8d4df4ffa1e961aa4a21df110208385ea5072e7", - "bytes": 279460 + "v3_sha256": "e99d673531d497bdf9d48e12c8d4df4ffa1e961aa4a21df110208385ea5072e7" }, { "path": "hockey_data/static/agent-devices.js", - "action": "replace", - "base_sha256": "fd1b1a833e712ade1295d872958d8e9b616c62d69659dc3e082254bd2b09652a", - "stage2_sha256": "c13fb0efd12debb06e4ac53ffb511bd94515639bfb4320e5f1dbe0abc5e379cb", + "bytes": 22668, "updated_sha256": "c13fb0efd12debb06e4ac53ffb511bd94515639bfb4320e5f1dbe0abc5e379cb", - "bytes": 22668 + "v3_sha256": "c13fb0efd12debb06e4ac53ffb511bd94515639bfb4320e5f1dbe0abc5e379cb" }, { "path": "hockey_data/static/agent-diagnostics.js", - "action": "replace", - "base_sha256": "c9e4e8b975af1b0ae01208bb181f281213a28ae7b527d1d66ed1cf28183d3c98", - "stage2_sha256": "89b2ffe30bf961090b4299ee55060697a0753142fd52b101e26d17a4eda87ae8", + "bytes": 12633, "updated_sha256": "89b2ffe30bf961090b4299ee55060697a0753142fd52b101e26d17a4eda87ae8", - "bytes": 12633 + "v3_sha256": "89b2ffe30bf961090b4299ee55060697a0753142fd52b101e26d17a4eda87ae8" }, { "path": "hockey_data/static/match-access.css", - "action": "add", - "base_sha256": null, - "stage2_sha256": "013fd8a0312cbe1eabe0200cbfe55f8d85f6aaa0dbcf18e5e6cdeae2704c15b9", + "bytes": 3149, "updated_sha256": "013fd8a0312cbe1eabe0200cbfe55f8d85f6aaa0dbcf18e5e6cdeae2704c15b9", - "bytes": 3149 + "v3_sha256": "013fd8a0312cbe1eabe0200cbfe55f8d85f6aaa0dbcf18e5e6cdeae2704c15b9" }, { "path": "hockey_data/static/match-access.js", - "action": "add", - "base_sha256": null, - "stage2_sha256": "fb8dc03d384d58a0631b81715b62acdd41ed8875a3ef56d8f4e19fd3180a4041", + "bytes": 22601, "updated_sha256": "fb8dc03d384d58a0631b81715b62acdd41ed8875a3ef56d8f4e19fd3180a4041", - "bytes": 22601 + "v3_sha256": "fb8dc03d384d58a0631b81715b62acdd41ed8875a3ef56d8f4e19fd3180a4041" }, { "path": "hockey_data/static/match-status-header.js", - "action": "replace", - "base_sha256": "7745dbf87b4cc091de9ea9baeda8e56d09aa83a03059a61638c5023dfc2b4b73", - "stage2_sha256": "1c615b1b388c597cde8abc5de641807a468cf6a73681333b580e2544ca5a92a6", + "bytes": 18217, "updated_sha256": "1c615b1b388c597cde8abc5de641807a468cf6a73681333b580e2544ca5a92a6", - "bytes": 18217 + "v3_sha256": "1c615b1b388c597cde8abc5de641807a468cf6a73681333b580e2544ca5a92a6" }, { "path": "hockey_data/static/session-activity.js", - "action": "add", - "base_sha256": null, - "stage2_sha256": "3c835ae5265c13fcd4686355961c2f150b4bcc5cb134a1d03c2c1b9b9d85a52d", + "bytes": 4332, "updated_sha256": "3c835ae5265c13fcd4686355961c2f150b4bcc5cb134a1d03c2c1b9b9d85a52d", - "bytes": 4332 + "v3_sha256": "3c835ae5265c13fcd4686355961c2f150b4bcc5cb134a1d03c2c1b9b9d85a52d" }, { "path": "hockey_data/static/tournament-menu.js", - "action": "replace", - "base_sha256": "7bc4986a216a562354306ae73d417cedd0b08d88141b9a18bede2a0a73f7c0a5", - "stage2_sha256": "223fb629a785bcbea73533c994dbfde1e84bd358e63880b78f929c315fe1c246", + "bytes": 128669, "updated_sha256": "223fb629a785bcbea73533c994dbfde1e84bd358e63880b78f929c315fe1c246", - "bytes": 128669 + "v3_sha256": "223fb629a785bcbea73533c994dbfde1e84bd358e63880b78f929c315fe1c246" }, { "path": "hockey_data/vmix_portable.py", - "action": "replace", - "base_sha256": "f74d7eca8e0ff1c46b726857fbc530f9f29ae17b277d5ed15826ba58ffed3c74", - "stage2_sha256": "fa4e3ed13be7d621f4bd19e1b947553896727a3622d89563a874497de85d5cda", + "bytes": 24220, "updated_sha256": "fa4e3ed13be7d621f4bd19e1b947553896727a3622d89563a874497de85d5cda", - "bytes": 24220 + "v3_sha256": "fa4e3ed13be7d621f4bd19e1b947553896727a3622d89563a874497de85d5cda" }, { "path": "requirements.txt", - "action": "replace", - "base_sha256": "3fe363a0de01e463e27395cfdb08d93d02100887c9640c7f396a5e0e414c8988", - "stage2_sha256": "1407ef85d9e64bf831eb2956a66948f410125decabca0f22bf0e22d624fcb7fb", + "bytes": 227, "updated_sha256": "1407ef85d9e64bf831eb2956a66948f410125decabca0f22bf0e22d624fcb7fb", - "bytes": 227 + "v3_sha256": "1407ef85d9e64bf831eb2956a66948f410125decabca0f22bf0e22d624fcb7fb" }, { "path": "settings/README.md", - "action": "replace", - "base_sha256": "c7a4cbbd7ddd727717ff420bb317f36289a0b8b3af688fa5e557a88ccb86c721", - "stage2_sha256": "81df38a9e09702750cf09fa7ebf1d7f7021ce28d8b578852bb45a0d2b5ba464a", + "bytes": 2252, "updated_sha256": "81df38a9e09702750cf09fa7ebf1d7f7021ce28d8b578852bb45a0d2b5ba464a", - "bytes": 2252 + "v3_sha256": "81df38a9e09702750cf09fa7ebf1d7f7021ce28d8b578852bb45a0d2b5ba464a" }, { "path": "tests/hotfix_penalty_visibility.cjs", - "action": "add", - "base_sha256": null, - "stage2_sha256": null, + "bytes": 7149, "updated_sha256": "cb76b1180a275d60b133e091acf66ebda6df891b3c9bfbca6cd15b636bcdda28", - "bytes": 7149 + "v3_sha256": "cb76b1180a275d60b133e091acf66ebda6df891b3c9bfbca6cd15b636bcdda28" }, { "path": "tests/stage2_penalty_countdown.cjs", - "action": "add", - "base_sha256": null, - "stage2_sha256": "d039f424fd2d40044726872937e76f3ea2500dcb3b003db07dcc3642ae6ea524", + "bytes": 6218, "updated_sha256": "9e021722d6725d7a29da8ae3cff47be2896c1b482cded96d0ea582339badb95b", - "bytes": 6218 + "v3_sha256": "9e021722d6725d7a29da8ae3cff47be2896c1b482cded96d0ea582339badb95b" }, { "path": "tests/stage2_session_activity.cjs", - "action": "add", - "base_sha256": null, - "stage2_sha256": "14b31ba72d7296b7edd8714cd106e9881423f9c73a8b380d5c34d095a590252b", + "bytes": 4702, "updated_sha256": "14b31ba72d7296b7edd8714cd106e9881423f9c73a8b380d5c34d095a590252b", - "bytes": 4702 + "v3_sha256": "14b31ba72d7296b7edd8714cd106e9881423f9c73a8b380d5c34d095a590252b" }, { "path": "tests/support.py", - "action": "replace", - "base_sha256": "0731ba50f0f05b267e63f8202f133c53a207b16b8385013077941e9db36bba1f", - "stage2_sha256": "dea63976c42f9be71a8a348d657475f066bcf23f053e9358101a487523fcd29a", + "bytes": 1143, "updated_sha256": "dea63976c42f9be71a8a348d657475f066bcf23f053e9358101a487523fcd29a", - "bytes": 1143 + "v3_sha256": "dea63976c42f9be71a8a348d657475f066bcf23f053e9358101a487523fcd29a" }, { "path": "tests/test_agent_bridge.py", - "action": "replace", - "base_sha256": "41bcf1490be1111998f6e52c3eed0b7b5158d0a6ad9f16b827d605adef6f66d0", - "stage2_sha256": "327cc0cb0c99815271d6733533d5ec4a2eabcaa8dcc29267bbdaaf418c3cd6ab", + "bytes": 30897, "updated_sha256": "327cc0cb0c99815271d6733533d5ec4a2eabcaa8dcc29267bbdaaf418c3cd6ab", - "bytes": 30897 + "v3_sha256": "327cc0cb0c99815271d6733533d5ec4a2eabcaa8dcc29267bbdaaf418c3cd6ab" }, { "path": "tests/test_build110_match_roster_atomic_switch.py", - "action": "replace", - "base_sha256": "dd683d9a3b9d700b8b04d1aeeb2517c3fe3b650a7f4ef84e84ae8f5e9b8db7e8", - "stage2_sha256": "ea42b58398db3e87692ab1a9cb8991e8580f0eac86d093f6c32f16cd0591639c", + "bytes": 2117, "updated_sha256": "ea42b58398db3e87692ab1a9cb8991e8580f0eac86d093f6c32f16cd0591639c", - "bytes": 2117 + "v3_sha256": "ea42b58398db3e87692ab1a9cb8991e8580f0eac86d093f6c32f16cd0591639c" }, { "path": "tests/test_build111_agent_match_handoff.py", - "action": "replace", - "base_sha256": "2e7e7da77bf6a19930743b0c4dcabcea697adf7ddaf824ab1ad6f783cec41e76", - "stage2_sha256": "7c27dfde250d2fff0db5a387ee131083ea9114e52ad1418a456134796a2d83fc", + "bytes": 3873, "updated_sha256": "7c27dfde250d2fff0db5a387ee131083ea9114e52ad1418a456134796a2d83fc", - "bytes": 3873 + "v3_sha256": "7c27dfde250d2fff0db5a387ee131083ea9114e52ad1418a456134796a2d83fc" }, { "path": "tests/test_build47_team_state_scoreboard_overlays.py", - "action": "replace", - "base_sha256": "f359d352f9b3cb8190bef96b7fdd54dfc1fb0d048a7757b48852ccd93ba5911e", - "stage2_sha256": "48e2517d4a3648c34664b7819a2db189d7ceb55d667f5970b1911809935b0417", + "bytes": 2788, "updated_sha256": "48e2517d4a3648c34664b7819a2db189d7ceb55d667f5970b1911809935b0417", - "bytes": 2788 + "v3_sha256": "48e2517d4a3648c34664b7819a2db189d7ceb55d667f5970b1911809935b0417" }, { "path": "tests/test_build65_nonadmin_match_selection.py", - "action": "replace", - "base_sha256": "31afe69d86947181a5914fe9a997b4af841e6649ec5a000203148462b4131fc5", - "stage2_sha256": "6ac2cc2aa37dfdf229ed501a256bab4220ea6d0c27f56806382de9b753f26a61", + "bytes": 1108, "updated_sha256": "6ac2cc2aa37dfdf229ed501a256bab4220ea6d0c27f56806382de9b753f26a61", - "bytes": 1108 + "v3_sha256": "6ac2cc2aa37dfdf229ed501a256bab4220ea6d0c27f56806382de9b753f26a61" }, { "path": "tests/test_build77_penalty_overlay_auto_in.py", - "action": "replace", - "base_sha256": "50a23cf34bfa7c93835274d4eb7b1adad8e7647af37e9be91da0706a498788db", - "stage2_sha256": "50a23cf34bfa7c93835274d4eb7b1adad8e7647af37e9be91da0706a498788db", + "bytes": 1247, "updated_sha256": "5fe286219c48e4970f0ad903b3cc3bd307485095eea78ffe9564b4872a97db3f", - "bytes": 1247 + "v3_sha256": "5fe286219c48e4970f0ad903b3cc3bd307485095eea78ffe9564b4872a97db3f" }, { "path": "tests/test_build84_penalty_selection_persistence_prepared_titles.py", - "action": "replace", - "base_sha256": "5fa19a0af5bcb643d4370e747791163051fca189846735b97ab845fdb8a22a1c", - "stage2_sha256": "4c3cdac2e32e022201c2418ad41acd05a5453b3db1c561dd1ef3276d926fa7ed", + "bytes": 8624, "updated_sha256": "4c3cdac2e32e022201c2418ad41acd05a5453b3db1c561dd1ef3276d926fa7ed", - "bytes": 8624 + "v3_sha256": "4c3cdac2e32e022201c2418ad41acd05a5453b3db1c561dd1ef3276d926fa7ed" }, { "path": "tests/test_build86_penalty_context_prepared_titles.py", - "action": "replace", - "base_sha256": "591b0fe0b3327c4a6b8b42636cd08110ab7bedb376f8fcc22a9f60f1aff717ff", - "stage2_sha256": "7dcac6c12740cb08a123f155665784f4a9474294d88b12046b65396e01b1abd3", + "bytes": 4756, "updated_sha256": "7dcac6c12740cb08a123f155665784f4a9474294d88b12046b65396e01b1abd3", - "bytes": 4756 + "v3_sha256": "7dcac6c12740cb08a123f155665784f4a9474294d88b12046b65396e01b1abd3" }, { "path": "tests/test_build89_single_penalty_plate_transition.py", - "action": "replace", - "base_sha256": "bfecd73b555b301a1babf4e9cae9ee4ad2797a046422812a11df474b474f4739", - "stage2_sha256": "d9a8255c5ad2ace83b9d688dd0f5f4615f409eb94b3ddd1740f8b07b2753be66", + "bytes": 3727, "updated_sha256": "d9a8255c5ad2ace83b9d688dd0f5f4615f409eb94b3ddd1740f8b07b2753be66", - "bytes": 3727 + "v3_sha256": "d9a8255c5ad2ace83b9d688dd0f5f4615f409eb94b3ddd1740f8b07b2753be66" }, { "path": "tests/test_build93_countdown_reseed_on_start.py", - "action": "replace", - "base_sha256": "293a38e71b43d496cdf9137986928d9f3ae493042b9b53791762dff2554642c2", - "stage2_sha256": "b85692e09ddc0e885575ccca43c43d380d49f8dc9707e4379a25cb052e071007", + "bytes": 1900, "updated_sha256": "b85692e09ddc0e885575ccca43c43d380d49f8dc9707e4379a25cb052e071007", - "bytes": 1900 + "v3_sha256": "b85692e09ddc0e885575ccca43c43d380d49f8dc9707e4379a25cb052e071007" }, { "path": "tests/test_build95_countdown_explicit_start_stop_sync.py", - "action": "replace", - "base_sha256": "be4b797d95387275e2ca7cb1acbc7e32adf919fe51994a93470685e04200bc62", - "stage2_sha256": "82058d1bb2a7d5e676307fe721d14a4a39f14e8f8e36e9918d0967b34dee70eb", + "bytes": 2691, "updated_sha256": "09ffafbf44fcb3ccbfbdaadf7a07f626c4a14eaf2b9866cabc90a639d036c035", - "bytes": 2691 + "v3_sha256": "09ffafbf44fcb3ccbfbdaadf7a07f626c4a14eaf2b9866cabc90a639d036c035" }, { "path": "tests/test_build98_timer_countdown_sync_fixed_pin.py", - "action": "replace", - "base_sha256": "5a1753660ee712fb083efbccbacc42d1b4578bd8c020a2739fab9972e8930982", - "stage2_sha256": "eeff1d148467167952060628ab9aa0775f2eb3345939ea101efe59b83dcd8d2a", + "bytes": 3105, "updated_sha256": "eeff1d148467167952060628ab9aa0775f2eb3345939ea101efe59b83dcd8d2a", - "bytes": 3105 + "v3_sha256": "eeff1d148467167952060628ab9aa0775f2eb3345939ea101efe59b83dcd8d2a" }, { "path": "tests/test_hotfix_idle_matches.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": null, + "bytes": 8520, "updated_sha256": "2032d5d48bec464f29f477078d4fd3468a1601577f36db8f4217f88540d7c835", - "bytes": 8520 + "v3_sha256": "2032d5d48bec464f29f477078d4fd3468a1601577f36db8f4217f88540d7c835" }, { "path": "tests/test_hotfix_mapping_transport.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": null, + "bytes": 3290, "updated_sha256": "67c6260342bcea902b87461a4e5a8c7e9280783adbb92e9822590d8abc430971", - "bytes": 3290 + "v3_sha256": "67c6260342bcea902b87461a4e5a8c7e9280783adbb92e9822590d8abc430971" }, { "path": "tests/test_hotfix_penalty_visibility.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": null, + "bytes": 492, "updated_sha256": "ef3219f28f66cf96274fc4e65624ac7b6ea96e726f61081965f8860541e2f8d1", - "bytes": 492 + "v3_sha256": "ef3219f28f66cf96274fc4e65624ac7b6ea96e726f61081965f8860541e2f8d1" }, { "path": "tests/test_multi_agent_routing.py", - "action": "replace", - "base_sha256": "961a43822dfd8e957e8dfa8b6d348f72bde0a377244ef962cd08c503ae94ce59", - "stage2_sha256": "0c5857ef6e306bba679f9ba9648afd34b89b013f4d4a1c2f799b718391d0a3dd", + "bytes": 4614, "updated_sha256": "0c5857ef6e306bba679f9ba9648afd34b89b013f4d4a1c2f799b718391d0a3dd", - "bytes": 4614 + "v3_sha256": "0c5857ef6e306bba679f9ba9648afd34b89b013f4d4a1c2f799b718391d0a3dd" }, { "path": "tests/test_stage1_expressions.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "d11e26fdfd759f4aa1c62ffb08ff4762b652ccdb9ef7ab6efc796c1e32883113", + "bytes": 2116, "updated_sha256": "d11e26fdfd759f4aa1c62ffb08ff4762b652ccdb9ef7ab6efc796c1e32883113", - "bytes": 2116 + "v3_sha256": "d11e26fdfd759f4aa1c62ffb08ff4762b652ccdb9ef7ab6efc796c1e32883113" }, { "path": "tests/test_stage1_match_access.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "f998ae041bd6951f75ca403ca0af9da1c86bd02586e809aa0bdb05653c101907", + "bytes": 16208, "updated_sha256": "f998ae041bd6951f75ca403ca0af9da1c86bd02586e809aa0bdb05653c101907", - "bytes": 16208 + "v3_sha256": "f998ae041bd6951f75ca403ca0af9da1c86bd02586e809aa0bdb05653c101907" }, { "path": "tests/test_stage2_custom_pluses.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "ebd11f142427c35c963fad151313f2ce7175a4afe2d9e870db1a2e2ff9bce836", + "bytes": 3211, "updated_sha256": "ebd11f142427c35c963fad151313f2ce7175a4afe2d9e870db1a2e2ff9bce836", - "bytes": 3211 + "v3_sha256": "ebd11f142427c35c963fad151313f2ce7175a4afe2d9e870db1a2e2ff9bce836" }, { "path": "tests/test_stage2_idle_session.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "dc47703fccac5db7b9e2b8aa3fd8d2c5b9f6637f7bb07e3336f729f2e2ce83b4", + "bytes": 6138, "updated_sha256": "dc47703fccac5db7b9e2b8aa3fd8d2c5b9f6637f7bb07e3336f729f2e2ce83b4", - "bytes": 6138 + "v3_sha256": "dc47703fccac5db7b9e2b8aa3fd8d2c5b9f6637f7bb07e3336f729f2e2ce83b4" }, { "path": "tests/test_stage2_mapping_inventory.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "752f1b07ec360b28e4823747095c6287183b65060ef6579dcf1a1b70dacbd150", + "bytes": 3602, "updated_sha256": "752f1b07ec360b28e4823747095c6287183b65060ef6579dcf1a1b70dacbd150", - "bytes": 3602 + "v3_sha256": "752f1b07ec360b28e4823747095c6287183b65060ef6579dcf1a1b70dacbd150" }, { "path": "tests/test_stage2_penalty_countdown.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "088e1de13a214c8816287e39f80934ea25b02276617bb4571f4f54f92a4e4f44", + "bytes": 589, "updated_sha256": "088e1de13a214c8816287e39f80934ea25b02276617bb4571f4f54f92a4e4f44", - "bytes": 589 + "v3_sha256": "088e1de13a214c8816287e39f80934ea25b02276617bb4571f4f54f92a4e4f44" }, { "path": "tests/test_stage2_performance.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "d733a2bda2047ed77d6222e23ba468d5c62f02d5d566d4ecccf2fa4394d85c03", + "bytes": 11947, "updated_sha256": "d733a2bda2047ed77d6222e23ba468d5c62f02d5d566d4ecccf2fa4394d85c03", - "bytes": 11947 + "v3_sha256": "d733a2bda2047ed77d6222e23ba468d5c62f02d5d566d4ecccf2fa4394d85c03" }, { "path": "tests/test_stage2_ui_storage.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "5ebc4d3e60fe17449256aefa42839043a2a324ccebca934a3af84dc64f0cec1b", + "bytes": 5543, "updated_sha256": "5ebc4d3e60fe17449256aefa42839043a2a324ccebca934a3af84dc64f0cec1b", - "bytes": 5543 + "v3_sha256": "5ebc4d3e60fe17449256aefa42839043a2a324ccebca934a3af84dc64f0cec1b" }, { "path": "ui_builder/integration.py", - "action": "replace", - "base_sha256": "d5379c5a63003e805a5e37f6585c1271952edd87b310bc7ce716c138420a89a9", - "stage2_sha256": "a3845126817966b0c02e140f6c6a5f146b621a6ee716667f4456f612c579d465", + "bytes": 5738, "updated_sha256": "a3845126817966b0c02e140f6c6a5f146b621a6ee716667f4456f612c579d465", - "bytes": 5738 + "v3_sha256": "a3845126817966b0c02e140f6c6a5f146b621a6ee716667f4456f612c579d465" }, { "path": "ui_builder/manager.py", - "action": "replace", - "base_sha256": "a13a1601debdd0b76bea3ee336907656e1fff23b26c45deb308bd5627a6c158d", - "stage2_sha256": "ae930ed4de95d36eb442d2492db3e1c04726582c99fb6713429ab6a91335b469", + "bytes": 37223, "updated_sha256": "ae930ed4de95d36eb442d2492db3e1c04726582c99fb6713429ab6a91335b469", - "bytes": 37223 + "v3_sha256": "ae930ed4de95d36eb442d2492db3e1c04726582c99fb6713429ab6a91335b469" }, { "path": "ui_builder/router.py", - "action": "replace", - "base_sha256": "199922831e0329e87f9a23b99b35c7910014b5ffaed169fcbdec9f92f6c6d18e", - "stage2_sha256": "740398f215b7061ee8d58eb47e1f31f17d4fe9a0b6707ed3ebc0159e8f327f48", + "bytes": 4517, "updated_sha256": "740398f215b7061ee8d58eb47e1f31f17d4fe9a0b6707ed3ebc0159e8f327f48", - "bytes": 4517 + "v3_sha256": "740398f215b7061ee8d58eb47e1f31f17d4fe9a0b6707ed3ebc0159e8f327f48" }, { "path": "ui_builder/static/app.js", - "action": "replace", - "base_sha256": "3baaf37c406702355c7576c92971191c7ffb576a56a0865b040046a6c741a06a", - "stage2_sha256": "7e8ccb7aefc47eb547a21f6dd06b9bd941c857b9709499e266213c5d353a86d8", - "updated_sha256": "94fd38206c83d078f120ff04e0a08907b72e0a347f3f8078d237f557d102bbfb", - "bytes": 897622 + "bytes": 898847, + "updated_sha256": "c879751113c025c09aed3925ce0361338549ee0180db8a6e323029f743712291", + "v3_sha256": "94fd38206c83d078f120ff04e0a08907b72e0a347f3f8078d237f557d102bbfb" }, { "path": "ui_builder/static/index.html", - "action": "replace", - "base_sha256": "3bf6ec196fe469796edc97c04dd163bc13537cc771048106f0b765aaf2b047a4", - "stage2_sha256": "36cf899859d278d98283d4898f42d670c113c038b71f72b007b92c63c2abd5ae", + "bytes": 10717, "updated_sha256": "36cf899859d278d98283d4898f42d670c113c038b71f72b007b92c63c2abd5ae", - "bytes": 10717 + "v3_sha256": "36cf899859d278d98283d4898f42d670c113c038b71f72b007b92c63c2abd5ae" }, { "path": "ui_builder/static/runtime.html", - "action": "replace", - "base_sha256": "3047e75e7799d4e2bcf3e54916214c0c3159461b31c3ab000fb2dd80ee8bb4f9", - "stage2_sha256": "37b8272650ccf88e7f9504b7d04f13294f59abf431c107e0603cfbd86df2580b", + "bytes": 3316, "updated_sha256": "37b8272650ccf88e7f9504b7d04f13294f59abf431c107e0603cfbd86df2580b", - "bytes": 3316 + "v3_sha256": "37b8272650ccf88e7f9504b7d04f13294f59abf431c107e0603cfbd86df2580b" }, { "path": "ui_builder/static/styles.css", - "action": "replace", - "base_sha256": "0ec10c94650ae81e2bd9d623975d0fcd959ca66362f6df75cd2a7ceda3a62df4", - "stage2_sha256": "c4158a36896f5ff95ae070915ca4b7cfd63e9ca6097499721e7a9df5fffa3e24", - "updated_sha256": "c4158a36896f5ff95ae070915ca4b7cfd63e9ca6097499721e7a9df5fffa3e24", - "bytes": 287204 + "bytes": 291051, + "updated_sha256": "6f204b2c38d8d22e76e68ab916ad6b1988a8f037f3cf282d5f2ca62aa62714d8", + "v3_sha256": "c4158a36896f5ff95ae070915ca4b7cfd63e9ca6097499721e7a9df5fffa3e24" }, { "path": "ui_builder/storage.py", - "action": "add", - "base_sha256": null, - "stage2_sha256": "67a720a4bff48fcfd2c185c4a65ec85a4574090f474fd83c556789f3cb1c5f1d", + "bytes": 3566, "updated_sha256": "67a720a4bff48fcfd2c185c4a65ec85a4574090f474fd83c556789f3cb1c5f1d", - "bytes": 3566 + "v3_sha256": "67a720a4bff48fcfd2c185c4a65ec85a4574090f474fd83c556789f3cb1c5f1d" } ] } diff --git a/UPDATE_TABS_RU.md b/UPDATE_TABS_RU.md new file mode 100644 index 0000000..f43499f --- /dev/null +++ b/UPDATE_TABS_RU.md @@ -0,0 +1,50 @@ +# Компактные вкладки — 2026.09.26.4 + +Обновление подготовлено из переданного `hockey_hotfix_2026-09-26_v3(1).zip`. +Все изменения предыдущего пакета сохранены. Пользовательские настройки кнопок, +шорткатов, вкладок и Mapping в архив не добавлялись и не заменяются. + +## Изменения + +- Левая колонка с названием проекта ограничена шириной 104 px вместо широкой + растягивающейся колонки. Вкладки начинаются левее и получают освободившееся место. +- Неактивные вкладки ниже, с меньшими отступами и спокойным фоном. При нехватке + ширины они сжимаются; длинный текст сокращается многоточием. Полное название + остаётся в подсказке и в доступном имени кнопки. +- Активная вкладка выше, с крупнее набранным текстом и яркой бирюзовой подсветкой. + Её ширина сохраняется в приоритете перед неактивными вкладками. +- Горизонтальная прокрутка строки вкладок убрана. На окнах до 1150 px вкладки + получают отдельную строку на всю ширину под служебными кнопками; до 620 px + могут переноситься на следующие строки. Это сохраняет доступ к разделам + без уменьшения текста до нечитаемого размера. +- При фоновых обновлениях существующие кнопки переиспользуются. Сохраняются + фокус клавиатуры, порядок и прежнее переключение разделов. Названия и количество + вкладок берутся из действующей конфигурации. +- Адаптация выполняется CSS. Постоянные замеры размеров, новые интервальные + опросы и дополнительные запросы к серверу не добавлены. + +## Установка + +Распакуйте архив в корень существующего проекта с заменой файлов, перезапустите +веб-панель и обновите страницу через Ctrl+F5. Номер сборки — `2026.09.26.4`. +Это накопительное обновление изменённых файлов, а не самостоятельная установка. +Если после v3 были собственные изменения кода, их нужно сопоставить с заменяемыми +файлами перед установкой. Agent.exe обновлять не требуется. + +## Проверка + +Проверен синтаксис JavaScript. На временном FastAPI сервере с настоящим кодом +страницы в jsdom проверены: восемь доступных вкладок, названия и доступные имена, +единственная активная вкладка, переключение разделов, неизменный порядок, +сохранение фокуса при пяти обновлениях данных и переиспользование кнопок. +Ошибок выполнения страницы не обнаружено. + +Повторён сценарий предыдущего исправления: при выданном по tally титре выбор +нарушения отправляет SetCountdown → StopCountdown → Overlay In; отсчёт не +запускается автоматически, меню закрывается, другой Agent команд не получает. + +jsdom не вычисляет фактическую геометрию и не заменяет визуальную проверку +в браузере. Chromium в среде проверки отсутствует, поэтому скриншоты на разных +разрешениях здесь не получены. Полный серверный набор для этой правки не +перезапускался: изменения касаются навигации, её CSS и номера сборки. +Результаты v3 и разбор прежних 40 тестов сохранены как исторические документы. diff --git a/app.py b/app.py index 5ba73d7..a43fb50 100644 --- a/app.py +++ b/app.py @@ -32,7 +32,7 @@ from ui_builder import install_ui_builder from khl_site.khl_data_center import APP as khl_site_app BASE_DIR = Path(__file__).resolve().parent -BUILD_VERSION = "2026.09.26.3" +BUILD_VERSION = "2026.09.26.4" # compatibility: BUILD_VERSION = "2026.09.24.2" # compatibility: BUILD_VERSION = "2026.09.23.8" # compatibility: BUILD_VERSION = "2026.09.23.7" diff --git a/ui_builder/static/app.js b/ui_builder/static/app.js index bece018..b1ff8d5 100644 --- a/ui_builder/static/app.js +++ b/ui_builder/static/app.js @@ -14333,9 +14333,38 @@ function renderHockeyPenaltyDashboard(node, component, runtime) { function renderRuntimeTabs() { if (!el.runtimeTabs) return; - el.runtimeTabs.innerHTML = ""; - runtimeVisibleTabs().forEach((tab) => { - const button = document.createElement("button"); button.className = `runtime-tab ${tab.id === state.activeTab ? "active" : ""}`; button.type = "button"; button.textContent = tab.label; button.addEventListener("click", () => activateRuntimeTab(tab.id, { source: "runtime-tabs" })); el.runtimeTabs.appendChild(button); + el.runtimeTabs.setAttribute("role", "navigation"); + el.runtimeTabs.setAttribute("aria-label", "Разделы матча"); + const visible = runtimeVisibleTabs(); + const existing = new Map(Array.from(el.runtimeTabs.children).map((button) => [button.dataset.tabId, button])); + const retained = new Set(); + visible.forEach((tab, index) => { + const id = String(tab.id); + let button = existing.get(id); + if (!button) { + button = document.createElement("button"); + button.type = "button"; + button.dataset.tabId = id; + const label = document.createElement("span"); + label.className = "runtime-tab-label"; + button.appendChild(label); + button.addEventListener("click", () => activateRuntimeTab(id, { source: "runtime-tabs" })); + } + retained.add(button); + const active = tab.id === state.activeTab; + button.className = `runtime-tab${active ? " active" : ""}`; + button.firstElementChild.textContent = tab.label; + button.title = tab.label; + button.setAttribute("aria-label", tab.label); + if (active) button.setAttribute("aria-current", "page"); + else button.removeAttribute("aria-current"); + // Reuse unchanged buttons so live data refreshes keep keyboard focus and + // hover state. CSS handles fitting; no polling or layout measurements. + const position = el.runtimeTabs.children[index]; + if (position !== button) el.runtimeTabs.insertBefore(button, position || null); + }); + Array.from(el.runtimeTabs.children).forEach((button) => { + if (!retained.has(button)) button.remove(); }); } diff --git a/ui_builder/static/styles.css b/ui_builder/static/styles.css index 589a82d..158b74a 100644 --- a/ui_builder/static/styles.css +++ b/ui_builder/static/styles.css @@ -8122,3 +8122,119 @@ body.hockey-navigation-open .runtime-viewport.has-hockey-pbp { gap: 14px !import } .hcp-empty strong { font-size: 19px; } .hcp-empty span { color: #8799ad; font-size: 13px; } + +/* Compact navigation: give the tabs the former empty brand-column space. + These scoped rules also override older diagnostics header styles. */ +#runtimeView .runtime-topbar { + display: grid; + grid-template-columns: minmax(78px, 104px) minmax(0, 1fr) max-content; + align-items: center; + min-height: 54px; + column-gap: 8px; + row-gap: 6px; + padding: 6px 10px 0; +} +#runtimeView .runtime-topbar > div:first-child { min-width: 0; } +#runtimeView .runtime-topbar > div:first-child .eyebrow { display: none; } +#runtimeView .runtime-title-line { display: grid; justify-items: start; gap: 3px; } +#runtimeView .runtime-title-line > #runtimeTitle { max-width: 100%; font-size: 12px; } +#runtimeView .runtime-build-badge { max-width: 100%; padding: 2px 4px; font-size: 6px; } +#runtimeView .runtime-tabs { + min-width: 0; + max-width: 100%; + display: flex; + align-items: center; + justify-content: flex-start; + flex-wrap: nowrap; + gap: 4px; + min-height: 38px; + padding: 0; + overflow: visible; +} +#runtimeView .runtime-tab { + display: inline-flex; + align-items: center; + justify-content: center; + flex: 0 1 auto; + min-width: 0; + max-width: 100%; + min-height: 30px; + padding: 0 8px; + border: 1px solid #25364c; + border-radius: 8px; + background: #101a29; + color: #a8b8cc; + font-size: 11.5px; + line-height: 1.2; + font-weight: 600; + white-space: nowrap; + transition: color .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease; +} +#runtimeView .runtime-tab-label { + display: block; + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +#runtimeView .runtime-tab:not(.active):hover { + color: #e5eef9; + border-color: #54708c; + background: #1a2b40; +} +#runtimeView .runtime-tab.active { + flex: 0 0 auto; + max-width: min(48%, 240px); + min-height: 36px; + padding-inline: 14px; + border-color: #74eed2; + background: #48dfbd; + color: #062c24; + font-size: 12.5px; + font-weight: 800; + box-shadow: 0 0 0 1px #48dfbd26, 0 3px 12px #48dfbd14; +} +#runtimeView .runtime-tab:focus-visible { + outline: 2px solid #a8d5ff; + outline-offset: -3px; +} +#runtimeView .runtime-actions { + width: auto; + min-width: 0; + max-width: 100%; + gap: 4px; + justify-content: flex-end; + overflow: visible; +} +#runtimeView .runtime-actions > .icon-btn { width: 32px; min-height: 32px; } +#runtimeView .runtime-topbar > .hockey-match-status { + width: calc(100% + 20px); + margin-inline: -10px; +} +/* On narrower windows the tabs get a full-width row, rather than losing space + to the action buttons or shrinking labels to unreadable one-letter buttons. */ +@media (max-width: 1150px) { + #runtimeView .runtime-topbar { grid-template-columns: minmax(0, 1fr) auto; } + #runtimeView .runtime-topbar > div:first-child { grid-column: 1; grid-row: 1; } + #runtimeView .runtime-actions { grid-column: 2; grid-row: 1; } + #runtimeView .runtime-tabs { grid-column: 1 / -1; grid-row: 2; } + #runtimeView .runtime-title-line { display: flex; flex-wrap: wrap; gap: 5px; } + #runtimeView .runtime-title-line > #runtimeTitle { max-width: 160px; } +} +@media (max-width: 620px) { + #runtimeView .runtime-topbar { grid-template-columns: minmax(0, 1fr); padding-inline: 8px; } + #runtimeView .runtime-topbar > div:first-child { grid-column: 1; grid-row: 1; } + #runtimeView .runtime-actions { + grid-column: 1; + grid-row: 2; + justify-content: flex-start; + flex-wrap: wrap; + } + #runtimeView .runtime-tabs { grid-column: 1; grid-row: 3; flex-wrap: wrap; gap: 4px; } + #runtimeView .runtime-tab { flex: 1 1 76px; min-height: 34px; } + #runtimeView .runtime-tab.active { flex: 1.5 1 112px; max-width: 100%; } + #runtimeView .runtime-topbar > .hockey-match-status { width: calc(100% + 16px); margin-inline: -8px; } +} +@media (prefers-reduced-motion: reduce) { + #runtimeView .runtime-tab { transition: none; } +}