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

Update inputProvider to toggle on serviceName not language #674

Merged
20 commits merged into from
Jun 26, 2019
Merged

Conversation

ghost
Copy link

@ghost ghost commented Jun 21, 2019

Resolves #671

Overall change: Update inputProvider to toggle on serviceName not language.

Code changes:

  • Update inputProvider to pass object { script, dir, service, inputs }
  • Add service to dirDecorator
  • Update inputProvider tests

  • I have assigned myself to this PR and the corresponding issues
  • Tests added for new features
  • Test engineer approval

@ghost ghost self-assigned this Jun 21, 2019
@ghost ghost added ws-fp-v1 ws-home Tasks for the WS Home Team labels Jun 21, 2019
@ghost ghost marked this pull request as ready for review June 21, 2019 14:00
@ghost ghost requested review from dr3, j-pendlebury, pjlee11 and sareh as code owners June 21, 2019 14:00
Copy link
Contributor

@DenisHdz DenisHdz left a comment

Choose a reason for hiding this comment

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

Just a tiny typo

packages/utilities/psammead-storybook-helpers/CHANGELOG.md Outdated Show resolved Hide resolved
Co-Authored-By: Denis Hernandez <46446236+DenisBBC@users.noreply.github.com>
Copy link
Contributor

@andrew-nowak andrew-nowak left a comment

Choose a reason for hiding this comment

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

looks good

Copy link
Contributor

@DenisHdz DenisHdz left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

@david-boydell
Copy link

Hi @sadickisaac, could you take a look at this please. When I checkout input-provider and view the StoryPromo > StoryPromo > Default I get the error TypeError: arr[Symbol.iterator] is not a function.

@david-boydell
Copy link

input-provider

@ghost
Copy link
Author

ghost commented Jun 24, 2019

Screenshot 2019-06-24 at 20 15 10

Can't reproduce the error. This is a breaking change and has not been pulled to any other packages. It should not affect other packages that use inputProvider. After checking out try npm run ci:packages

@david-boydell david-boydell self-assigned this Jun 26, 2019
@david-boydell
Copy link

All good, unit tests all pass, this is ready for merge.

@ghost ghost merged commit 285a62d into latest Jun 26, 2019
@ghost ghost deleted the input-provider branch June 26, 2019 13:44
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ws-home Tasks for the WS Home Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update inputProvider to toggle on serviceName not language
5 participants