Skip to content
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

Merged
merged 105 commits into from
Oct 6, 2023
Merged

Conversation

jeffdaley
Copy link
Contributor

@jeffdaley jeffdaley commented Sep 15, 2023

  • 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

@jeffdaley jeffdaley changed the title PENDING: EditableFields enhancements EditableFields enhancements Oct 5, 2023
@jeffdaley jeffdaley changed the title EditableFields enhancements EditableFields enhancements and bugfixes Oct 5, 2023
@jeffdaley jeffdaley marked this pull request as ready for review October 5, 2023 19:14
@jeffdaley jeffdaley requested a review from a team as a code owner October 5, 2023 19:14
Copy link
Collaborator

@jfreda jfreda left a 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.

Comment on lines +5 to +7
@value={{if this.typeIsString this.stringValue this.hermesUsers}}
@onChange={{if this.typeIsPeople this.onPeopleSelectChange}}
@onSave={{if this.typeIsPeople this.onPeopleSave @onSave}}
Copy link
Collaborator

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.

@jeffdaley jeffdaley merged commit b4a3f5f into main Oct 6, 2023
1 check passed
@jeffdaley jeffdaley deleted the jeffdaley/editable-fields branch October 6, 2023 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants