hyperhive/frontend/packages/swarm-ui/src/pages
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris e71e4ef432 swarm-ui: escape the hyphen in create-agent's name pattern
Closes #3423.

Modern browsers validate an <input pattern> attribute's regex in
Unicode-set ('v') mode, which is stricter about hyphen placement than
classic mode: `[a-z0-9-]` throws "Invalid character class" under 'v'
mode even though a trailing hyphen is unambiguous (and valid) in classic
regex. Reproduced directly: `new RegExp('[a-z0-9-]', 'v')` throws,
`new RegExp('[a-z0-9\\-]', 'v')` doesn't. Escaping the hyphen fixes it
without changing what the pattern matches.
2026-08-17 23:56:53 +02:00
..
ComponentsPage.css swarm-ui: add a components-library page (hyperhive#3288) 2026-08-15 12:57:57 +02:00
ComponentsPage.tsx swarm-ui: add a components-library page (hyperhive#3288) 2026-08-15 12:57:57 +02:00
CreateAgentPage.css frontend: shared ApiErrorPanel component, promote readApiError from credentials.js 2026-08-17 23:11:11 +02:00
CreateAgentPage.tsx swarm-ui: escape the hyphen in create-agent's name pattern 2026-08-17 23:56:53 +02:00
JobsPage.css extract build-queue rollup as a shared Preact component 2026-08-16 22:08:38 +02:00
JobsPage.tsx extract build-queue rollup as a shared Preact component 2026-08-16 22:08:38 +02:00
OverviewPage.tsx frontend: shared ApiErrorPanel component, promote readApiError from credentials.js 2026-08-17 23:11:11 +02:00