john-okeefe
dc288e6169
refactor: Extract devices.templ JavaScript to TypeScript
...
Removed 470 lines of inline JavaScript from devices.templ:
- Extracted all device management functions to device-management.ts
- Added x-data="devices" and x-init for event delegation
- Converted static onclick handlers to @click
- Dynamic content (edit/delete mapping buttons) uses data attributes
- Event delegation handles clicks on dynamically generated buttons
The device-management.ts already had the updated loadShelfMappings() function with data-action attributes for event delegation.
2026-03-08 21:36:11 -04:00
..
2026-03-01 00:29:39 -05:00
2026-02-24 13:03:01 -05:00
2026-03-01 00:29:39 -05:00
2026-02-24 13:41:19 -05:00
2026-02-26 10:12:02 -05:00
2026-03-01 00:29:39 -05:00
2026-02-24 13:03:01 -05:00
2026-03-08 21:36:02 -04:00
2026-02-24 13:41:19 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 00:29:39 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 00:29:39 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 21:00:14 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 00:29:39 -05:00
2026-03-08 21:36:02 -04:00
2026-03-08 01:14:48 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 00:29:39 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 00:29:39 -05:00
2026-02-20 13:25:49 -05:00
2026-03-01 12:22:36 -05:00
2026-03-01 12:22:36 -05:00
2026-03-01 00:29:39 -05:00
2026-03-08 21:36:11 -04:00
2026-03-01 00:29:39 -05:00
2026-02-21 00:59:42 -05:00
2026-03-01 00:29:39 -05:00
2026-02-20 13:25:35 -05:00
2026-03-01 00:29:39 -05:00
2026-03-08 21:36:02 -04:00
2026-02-24 10:26:31 -05:00
2026-03-08 21:36:02 -04:00
2026-02-24 10:26:31 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 00:29:39 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 00:29:39 -05:00
2026-03-08 21:36:02 -04:00
2026-02-22 01:58:02 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 00:29:39 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 00:29:39 -05:00
2026-03-08 21:36:02 -04:00
2026-02-24 10:26:31 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 21:00:14 -05:00
2026-03-08 21:36:02 -04:00
2026-02-20 13:25:35 -05:00
2026-03-08 21:36:02 -04:00
2026-02-22 01:58:02 -05:00
2026-03-01 00:29:39 -05:00
2026-03-08 21:36:02 -04:00
2026-03-01 00:29:39 -05:00