trackslash
VAULT-8 P2

Encrypted item decryption: unlock-style animation and prominent wrong-password error

0
All issues

Description

The encrypted item decryption page should work more like the vault unlock page.

Decryption animation

  • Add a new variation of the vault unlock animation, used just for encrypted items and driven by the vault icon like the unlock one.
  • It should be clearly distinct from the unlock animation, so it reads as a decryption operation rather than an unlock.

Incorrect password error

  • When the password is wrong, make the incorrect-password cell much more prominent: red background, white text.
  • Animate it in so it's obvious that a serious error happened.

GitHub

0

No branches or pull requests linked.

Comments

1
Bradley

Fixed in https://github.com/badbundle/vault-app/pull/601 (merged as 5c1f6587).

The encrypted item page now shows the vault door, like a locked item's page.

  • Decrypting: two new VaultLockTransitions drive it. On decrypt, the wheel works a combination (one way, back, then round to seat), the bolts release with a heavy haptic, and the door swings wide open instead of the unlock's small crack. The item opens once the door has swung.
  • Wrong password: the header cell floods red outward from the door, the door rattles against its bolts, and the title, message and door turn white. There's an error haptic and a VoiceOver announcement. Editing the password drains the red away.
  • Reduce Motion: the door doesn't animate, and the red cell appears without the flood or the rattle.
  • Security: decryption itself is unchanged.
  • Tests: new snapshot, choreography and view model tests.