hyperhive/frontend/packages
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
..
agent agent: drop dead .header-pill-loose CSS 2026-08-12 19:33:07 +02:00
dashboard frontend: shared ApiErrorPanel component, promote readApiError from credentials.js 2026-08-17 23:11:11 +02:00
shared frontend: fix api-error.ts's stale in-transition comment 2026-08-17 23:11:11 +02:00
swarm-ui swarm-ui: escape the hyphen in create-agent's name pattern 2026-08-17 23:56:53 +02:00