FE - Delete Passkey flow

Figma

https://www.figma.com/design/h8xsQafKqKr205RSsJU5Wk/Passkeys?node-id=3605-35535&t=zrEbr0J6zqgtojSC-1

Context

Need to account for two scenarios:

Implementation Plan:

  • Implement delete pass key delete button in passkey table
  • Implement deletion confirmation modals
  • Inform the browser to delete the passkey
  • Implement deletion errors
  • Add unit tests.

Backend Considerations

  • We need a way to distinguish if there is at least 1 passkey available at deletion time. We should have the passkey count on the page already in theory.
Edited by 🤖 GitLab Bot 🤖