From 4bb7adbcedefeb20191e83cf849e7150cd83db63 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 14 Jun 2026 15:18:59 +0100 Subject: [PATCH] refac: remove jQuery + jQuery UI imports from datetime and timepicker entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit datetime.bundle.min.js and timepicker.bundle.min.js no longer bundle jQuery and jQuery UI. The datepicker and timepicker plugins attach to global jQuery when they are evaluated, which is already loaded by _Layout.cshtml. Bundle sizes: - datetime: 545 KB → 201 KB - timepicker: 354 KB → 12 KB NOTE: This commit does not touch any versioned file. The build/ directory and the .min.js outputs under wwwroot/js/ are gitignored. The bundles are regenerated by 'npm run build:js' (see INSTALL.md and the script 'build:js' in package.json). Build state is partially migrated: core, chat, datetime, and timepicker are clean. dropzone is still pending. Redundancy is harmless (the second jQuery load is a no-op override) but wasteful; full cleanup is the goal of this refac. Tested: dotnet test 11/11 green.