-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EditableFields enhancements and bugfixes #340
Conversation
jeffdaley
commented
Sep 15, 2023
•
edited
Loading
edited
- Adds new hover and focus affordances for editable fields
- Adds Save and Cancel buttons when in edit mode
- Simplifies sidebar markup
- Adds keyboard support to PeopleSelect
- Fixes bugs around cancelling/submitting PeopleSelect inputs, including CustomEditablePeopleFields
- Adds interactivity to RelatedResources EmptyState
- Adds tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looking forward to these improvements.
@value={{if this.typeIsString this.stringValue this.hermesUsers}} | ||
@onChange={{if this.typeIsPeople this.onPeopleSelectChange}} | ||
@onSave={{if this.typeIsPeople this.onPeopleSave @onSave}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessary for this PR, but it might be good to get ahead of other potential types besides "string" and "people" sooner than later, and handle this in a less binary way.