Page MenuHomeSealhub

Properly escape tabs id
Closed, ResolvedPublic0.5 Points

Description

In https://hub.sealcode.org/source/sealious-playground/browse/master/src/back/routes/tabs-demo.page.tsx the IDs for the tabs are used as labels. But that can cause problems when the user wants labels to contain spaces. This task is about fixing that — remove all characters from the id/label of the tag that cannot be a part of id in HTML and replace them with ascii replacements (https://www.npmjs.com/package/normalize-diacritics) for word characters and for non-word characters — with hyphens

Details

Tested by
kuba-orlik
Coded by
ziomek
Reviewed by
kuba-orlik
Action required from
ziomek

Revisions and Commits

Restricted Differential Revision
rPLAY Sealious playground
Restricted Differential Revision
rAPROXY Assetproxy
Restricted Differential Revision
rREWRITE Configurable rewriter
Restricted Differential Revision

Event Timeline

ziomek updated Coded by, added: ziomek.
ziomek moved this task from To do to Doing on the Kanban board.
ziomek added a revision: Restricted Differential Revision.Nov 3 2025, 16:41
jenkins-user moved this task from Doing to Review on the Kanban board.
jenkins-user updated Action required from, added: FilipI; removed: ziomek.
jenkins-user added a subscriber: ziomek.
jenkins-user moved this task from Review to Doing on the Kanban board.
jenkins-user updated Reviewed by, added: kuba-orlik.
jenkins-user updated Action required from, added: ziomek; removed: FilipI.
jenkins-user moved this task from Doing to Review on the Kanban board.
jenkins-user updated Action required from, added: kuba-orlik; removed: ziomek.
jenkins-user moved this task from Review to Ready for testing on the Kanban board.
jenkins-user updated Action required from, added: AmeliaB, • Koossa, karolwojtowicz87, brtkuu, prostyfranek, zbartosz, radoptak; removed: kuba-orlik.
jenkins-user moved this task from Ready for testing to Doing on the Kanban board.
jenkins-user updated Tested by, added: kuba-orlik.
jenkins-user updated Action required from, added: ziomek; removed: AmeliaB, • Koossa, karolwojtowicz87, brtkuu, prostyfranek, zbartosz, radoptak.
jenkins-user moved this task from Doing to Review on the Kanban board.
jenkins-user updated Action required from, added: kuba-orlik; removed: ziomek.
jenkins-user moved this task from Review to Ready for testing on the Kanban board.
jenkins-user moved this task from Ready for testing to Ready to land on the Kanban board.
jenkins-user updated Action required from, added: ziomek; removed: kuba-orlik.
Restricted Repository Identity added a commit: Restricted Diffusion Commit.Jan 21 2026, 16:34