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

feat: added label overrides on AccordionFormList #440

Conversation

HarisSpahijaPon
Copy link
Contributor

@HarisSpahijaPon HarisSpahijaPon commented Oct 28, 2019

Part of: #409
Impact: minor
Type: feature

Component

AccordionFormList now has overrides when i18next will be implemented (see #409)

Breaking changes

No breaking chances, all added fields are optional

Testing

  1. Add a new prop cancelButtonText or saveButtonText to <AccordionFormList />
  2. Add the value "test" to either cancelButtonText or saveButtonText
  3. Button should display "test" when test is given as a value to the prop. When the prop cancelButtonText or saveButtonText is not added, it should default to the values given in default props

@HarisSpahijaPon HarisSpahijaPon force-pushed the feat-harisspahijapon-add-overrides-accordionformlist branch from a3a79c4 to 36bfdd6 Compare October 28, 2019 12:59
@rc-publisher
Copy link
Collaborator

🚀 Preview deployed

Built with commit a3a79c4

https://deploy-preview-440--stoic-hodgkin-c0179e.netlify.com

@rc-publisher
Copy link
Collaborator

rc-publisher commented Oct 28, 2019

🚀 Preview deployed

Built with commit 86137e9

https://deploy-preview-440--stoic-hodgkin-c0179e.netlify.com

Copy link
Contributor

@aldeed aldeed left a comment

Choose a reason for hiding this comment

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

One small adjustment needed

};

static defaultProps = {
addNewItemButtonText: "Add an item",
deleteItemButtonText: "Delete this item",
entryFormSubmitButtonText: "Add item",
cancelButtonText: "Cancel",
saveButtonText: "Save",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be "Save Changes" to match what was there

@aldeed
Copy link
Contributor

aldeed commented Nov 14, 2019

@HarisSpahijaPon Your latest commit is missing DCO. You will need to sign off and force push as in the DCO check instructions: https://github.com/reactioncommerce/reaction-component-library/pull/440/checks?check_run_id=301065959

@HarisSpahijaPon HarisSpahijaPon force-pushed the feat-harisspahijapon-add-overrides-accordionformlist branch from 0a39401 to 86137e9 Compare November 21, 2019 08:58
@HarisSpahijaPon
Copy link
Contributor Author

DCO should be fixed now @aldeed

@aldeed
Copy link
Contributor

aldeed commented Nov 26, 2019

@HarisSpahijaPon sorry for the extra work, but if you can merge latest master into each of your PR branches, it should get the CircleCI checks working correctly.

@spencern spencern merged commit 8fc3444 into reactioncommerce:master Nov 26, 2019
@rc-publisher
Copy link
Collaborator

🎉 This PR is included in version 0.68.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@rc-publisher rc-publisher added the released Applied automatically by semantic-release label Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Applied automatically by semantic-release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants