stripsior committed 4 months ago · 7 changed files
nests/[id]:
- URL fetch in handleImport now tracked by isFetchingUrl so the button
is disabled and errors are surfaced while the request is in flight
- Pagination clamped to totalPages via useEffect to prevent stale page
after deletions
- Dropzone div replaced with button for keyboard focus and Enter/Space
activation; focus-visible ring added
- Hardcoded JSON textarea placeholder moved to t("jsonPlaceholder")
across all 5 locale files
- Prev/next pagination buttons get aria-label; active page gets
aria-current="page"
nodes:
- NodeRow moved to module scope to prevent remount of NodeStatusDot
and its status-check query on every parent render; onDelete passed
as prop
- handleCreateNode, handleCreateLocation, handleUpdateLocation wrapped
in try/catch so mutateAsync rejections are handled (errors still
surfaced via mutation.isError)
- Hardcoded "Select…" location fallback replaced with t("locationPlaceholder")