From: Alexander Moisseev Date: Thu, 2 Jul 2026 11:27:22 +0000 (+0300) Subject: [Minor] WebUI: add tab-utils.js to ARCHITECTURE.md X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55d8cdb5611ee74b7bc012fafdab716c38c64099;p=thirdparty%2Frspamd.git [Minor] WebUI: add tab-utils.js to ARCHITECTURE.md --- diff --git a/interface/ARCHITECTURE.md b/interface/ARCHITECTURE.md index 96a4920687..0c637a003f 100644 --- a/interface/ARCHITECTURE.md +++ b/interface/ARCHITECTURE.md @@ -64,7 +64,8 @@ interface/ │ │ ├── config.js # Configuration tab (actions, maps) │ │ ├── upload.js # Scan tab (message upload/scanning) │ │ ├── selectors.js # Selectors tab (testing selectors) -│ │ └── libft.js # Tabulator table utilities (history/scan rendering) +│ │ ├── libft.js # Tabulator table utilities (history/scan rendering) +│ │ └── tab-utils.js # Shared Tabulator UI helpers (footer, scroll, row-toggle) │ └── lib/ # Third-party libraries (minified) ├── img/ # Images and logos └── README.md # Setup instructions @@ -156,6 +157,14 @@ Tests Rspamd selectors against messages (Selectors tab) Shared Tabulator table utilities: data preprocessing, table initialization, pagination, sorting +### Shared Tabulator UI Helpers +`js/app/tab-utils.js` + +Cross-table UI helpers used by every Tabulator table: scroll-into-view patching, +tableholder tabindex stripping, single-page footer hiding, click-to-toggle +responsive rows, and scroll-position preservation across renders. Depends only +on `common` (no jQuery). + ## Data Flow **Typical interaction pattern:**