platform icon indicating copy to clipboard operation
platform copied to clipboard

Login: "Remember me" checkbox

Open rolfsmeds opened this issue 3 years ago • 3 comments

Description

A "Remember me"* checkbox in the Login component's form, with API to get/set its value.

(Note: Like other aspects of the authentication process itself, the actual handling of the value provided through the checkbox is up to the application – this is merely a UI feature in a UI component.)

Acceptance criteria

  • [ ] "Remember me"* checkbox added to Login form** (hidden by default)
  • [ ] WC and Java API to get/set its visibility
  • [ ] WC and Java API to get/set its value
  • [ ] WC and Java API to get/set its label (via the components i18n API)

(* the actual default label is not yet decided, but is more likely to be something along the lines of "Keep me logged in" rather than "Remember me")

(** UI design is pending, but it might be better to place this between the password field and the login button, rather than after the button, as that will make it more convenient to set by keyboard)

General criteria

  • [ ] APIs reviewed
  • [ ] Design
  • [ ] UX/DX tests in Alpha
  • [ ] Documentation: (add new top-level section to Login component docs)
  • [ ] How to test?
  • [ ] Limitations:

rolfsmeds avatar Mar 04 '22 11:03 rolfsmeds

FWIW, this looks like it is probably a duplicate of https://github.com/vaadin/web-components/issues/737.

jason-unsworth avatar Oct 16 '22 21:10 jason-unsworth

Thanks, but no actually – this is an Acceptance Criteria ticket that acts as a spec for a new platform feature, whereas the other is a feature request. We have these ACs in the platform repo for test and release management purposes even when someone's made a feature request ticket for it. It should link to the feature request though, and now it does :)

rolfsmeds avatar Oct 17 '22 05:10 rolfsmeds

Right, I see. Thanks for clarifying and outlining the process.

jason-unsworth avatar Oct 17 '22 15:10 jason-unsworth