Improve WebUI responsiveness
commit9bfb447dd3b42fb70944a8ddc1414c907aefd03d
authorChocobo1 <Chocobo1@users.noreply.github.com>
Sat, 27 Jan 2024 14:04:39 +0000 (27 22:04 +0800)
committerGitHub <noreply@github.com>
Sat, 27 Jan 2024 14:04:39 +0000 (27 22:04 +0800)
tree0207499c58110dd9fc855b4d32e2788f61756846
parentd652a10495fdd5175242f029a7e2b9a6373ea985
Improve WebUI responsiveness

This migrates Category and Tag to `Map` type from `Object` type. And done some algorithm and data structure optimization.

PR #20297.
src/webui/www/private/scripts/client.js
src/webui/www/private/scripts/contextmenu.js
src/webui/www/private/scripts/dynamicTable.js
src/webui/www/private/scripts/mocha-init.js
src/webui/www/private/views/filters.html
src/webui/www/private/views/preferences.html