Login: "Remember me" checkbox
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:
FWIW, this looks like it is probably a duplicate of https://github.com/vaadin/web-components/issues/737.
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 :)
Right, I see. Thanks for clarifying and outlining the process.