Several selectors preload up to 1000 options synchronously, which is inefficient. They should be converted to async selectors.
Files with TODO comments:
src/app/profile/components/DeviceSelector.tsx line 44 — preloads 1000 device options
src/app/profile/components/SocSelector.tsx line 31 — preloads 1000 SoC options
src/app/admin/devices/components/DeviceModal.tsx line 23 — preloads 1000 SoC options
Action required:
Replace preloaded queries with async multi-select components similar to the AsyncDeviceFilterSelect / AsyncSocFilterSelect pattern introduced in PR #375.
Requested by @Producdevity — related to PR #375
Several selectors preload up to 1000 options synchronously, which is inefficient. They should be converted to async selectors.
Files with TODO comments:
src/app/profile/components/DeviceSelector.tsxline 44 — preloads 1000 device optionssrc/app/profile/components/SocSelector.tsxline 31 — preloads 1000 SoC optionssrc/app/admin/devices/components/DeviceModal.tsxline 23 — preloads 1000 SoC optionsAction required:
Replace preloaded queries with async multi-select components similar to the
AsyncDeviceFilterSelect/AsyncSocFilterSelectpattern introduced in PR #375.Requested by @Producdevity — related to PR #375