Skip to content

Conversation

@cabarnes
Copy link
Member

Next step of #20
Adds a component to display the program name and allow for changing of that name. If the user changes the name and clicks Save, a modal pops up to confirm before making the change.
The eslint disable is due to this issue: jsx-eslint/eslint-plugin-react#1759 that was resolved here: jsx-eslint/eslint-plugin-react#1829 but hasn't been released.
image
image

@cabarnes cabarnes requested a review from hbradio October 14, 2018 19:20
label="Name:"
defaultValue={editingName}
onChange={this.handleChange}
action={{ content: 'Save', onClick: this.openConfirm }}
Copy link
Contributor

@hbradio hbradio Oct 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the Save button built into Semantic's object when the content: 'Save' is used?

I was curious if the Save button could be hidden when previousPropName == editingName, but that could be more trouble than it's worth.

Copy link
Contributor

@hbradio hbradio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me.

@cabarnes cabarnes merged commit e88a858 into rovercode:development Oct 16, 2018
@cabarnes cabarnes deleted the program-name-component branch October 16, 2018 12:50
@hbradio hbradio added this to the Beta milestone Mar 5, 2019
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