Renaming Groups needs to be refactored. Earlier this property was updated as part of an "update the entire group" operation that took place when hitting the "Apply Changes" button. That approach was scrapped and now a new UX needs to be implemented for updating an existing group's name.
[x] The current group name is displayed at the top of the GroupDetails view with a pencil icon to the right of the name.
[x] Clicking on the pencil icon opens a PopUpModal with a simple text input to receive the new group name.
[x] Logic needs to be in place to ensure the name is not submitted if it is either 1) an empty string or 2) the same as an existing name. (There is some previously existing logic for this in the repo's history of the GroupDetail component)
[x] Once the name has been submitted
[x] The modal closes and the user is returned to the GroupDetails view
[x] Group name is immediately updated in state and in the view
Renaming Groups needs to be refactored. Earlier this property was updated as part of an "update the entire group" operation that took place when hitting the "Apply Changes" button. That approach was scrapped and now a new UX needs to be implemented for updating an existing group's name.
GroupDetails
view with a pencil icon to the right of the name.PopUpModal
with a simple text input to receive the new group name.GroupDetail
component)GroupDetails
view