gitoria

ident

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings

← Pull requests

#9ident#34 restore .choose hook

mergedf9-choose → mainby Caramboleyo · head 8caec771

  • successKunibert: kunibertKunibert review

Verdicts

  • Kunibertcommented

People’s approvals

Reviews

  1. Kunibertappcommented8caec771 · current head · 2026-11-10 00:56:35 UTC

    The patch restores .choose on both sign-in views and adds regression assertions. Two minor issues remain in the documented hook scope and event parameter typing.

    Correctness (1 new, 0 still open)

    The hook additions look correct, but the documentation overstates which selector flows provide it.

    Not on changed lines:

    • 🔹 Minor · Correctness: no rule: Limit the documented hook to the sign-in views (docs/IDENT.md:50) When already signed in to ident, the selector renders ul#list with button[part="identity"] in its shadow root (selector.js:164–165); the promised selector matches nothing. Clarify that this hook applies to the sign-in iframe and ident page, and document the signed-in selector's separate hook.

    Spec (0 new, 0 still open)

    No ticket or issue is linked, so there are no spec findings.

    Standards (1 new, 0 still open)

    The changed button line violates L10's DOM-event parameter typing requirement.

    Not on changed lines:

    • 🔹 Minor · Standards: L10: Type the click event parameter (components/chooseidentity.hl:36) The changed handler leaves e untyped. .kunibert/HL-STANDARD.md L10 says “Type every function parameter” and explicitly requires Hybrid for DOM events. Use on click(Hybrid e).

    Gates: not run

Threads

No inline comments yet.

Conversation

Nobody has written here yet.

Only the owner and the members of this repository can comment here.