From a4e1dad4ff45e2bb98f82844ae2997687bd8ed15 Mon Sep 17 00:00:00 2001 From: Pierre Paridans Date: Fri, 3 Jul 2026 15:23:36 +0200 Subject: [PATCH] [IMP] runbot: lazy load build options dropdown menu Rendering the build options dropdown menu for every build on page load significantly increases the initial DOM size and payload. This commit refactors the dropdown menu to render lazily on client interaction (hover, focus, touch, or click): - Introduces `build-options-dropdown`, a custom HTML element that captures build context via `data-*` attributes. - Adds a lightweight client-side QWeb rendering engine (`templating.js`) capable of handling `t-foreach`, `t-if`, `t-else`, and `{{...}}` interpolations using Python expression evaluation (`py_js`). - Moves the dropdown HTML structure into client-side ` @@ -356,83 +357,84 @@ + +