Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

feat(select): (almost) green diff with ECL - TWIG-240 #297

Merged
merged 6 commits into from
Jan 28, 2020
Merged

Conversation

planctus
Copy link
Contributor

PR description

The reason why the diff is not perfectly "green" is that the ECL react component is missing the required attribute when the field is required.
A ticket has been created to handle this on the ECL side:
https://webgate.ec.europa.eu/CITnet/jira/browse/FRONT-11

QA Checklist

In order to ensure a safe and quick review, please check that your PR follow those guidelines:

  • I have put the vanilla component as devDependencies
  • I have put the specs package as devDependencies
  • I have added the components directly used in the twig file (with include or embed) as dependencies
  • My component is listed in @ecl-twig/ec-components's dependencies
  • My variables naming follow the guidelines (snake case for twig)
  • I have provided tests
  • I have provided documentation (for the "notes" tab)
  • If my local yarn.lock contains changes, I have committed it
  • I have given my PR the proper label (pr: review needed to indicate that I'm done and now waiting for a review ,pr: wip to indicate that I'm actively working on it ...)

@planctus planctus added the pr: review needed Use this label to show that your PR needs to be review label Jan 23, 2020
@papegaill papegaill added pr: under review and removed pr: review needed Use this label to show that your PR needs to be review labels Jan 27, 2020
@@ -36,11 +36,10 @@ storiesOf('Components/Forms/Select', module)
optional_text: text('Optional text', '(optional)'),
width: inputWidthSelect,
id: 'example-id',
Copy link
Contributor

Choose a reason for hiding this comment

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

necessary to set and example id here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, but more than that i saw that we were not using the data from the local folder but still the specs, i improved the story file, now it should be fine ;)

@planctus planctus added pr: review needed Use this label to show that your PR needs to be review and removed pr: modification needed labels Jan 28, 2020
@papegaill papegaill added pr: under review and removed pr: review needed Use this label to show that your PR needs to be review labels Jan 28, 2020
@papegaill papegaill merged commit f620fdb into develop Jan 28, 2020
@papegaill papegaill deleted the TWIG-240 branch January 28, 2020 13:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants