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

Remove input provider and with dir #2404

Merged
merged 29 commits into from
Oct 17, 2019

Conversation

jroebu14
Copy link
Contributor

@jroebu14 jroebu14 commented Oct 15, 2019

Resolves #2371

Overall change: Removes deprecated psammead test helpers dirDecorator and inputProvider in favour of withServicesKnob decorator.

Code changes:

  • Replaces any use of dirDecorator and inputProvider with withServicesKnob
  • Removes mentions of dirDecorator and inputProvider from README.md
  • Fixes tests

  • I have assigned myself to this PR and the corresponding issues
  • Automated jest tests added (for new features) or updated (for existing features)
  • This PR requires manual testing

@jroebu14 jroebu14 marked this pull request as ready for review October 16, 2019 14:09
Copy link
Contributor

@thekp thekp left a comment

Choose a reason for hiding this comment

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

@jroebu14

looks like you have to update each package.json/package-lock/changelog for the psammead packages you've updated: https://ci.news.tools.bbc.co.uk/blue/organizations/jenkins/psammead/detail/remove-input-provider-and-with-dir/16/pipeline

😿

Bump package versions for psammead-brand, psammead-caption, psammead-consent-banner, psammead-figure, psammead-grid, psammead-headings, psammead-inline-link, psammead-media-indicator, psammead-navigation, psammead-paragraph, psammead-play-button, psammead-script-link, psammead-section-label, psammead-sitewide-links, psammead-story-promo, psammead-timestamp, psammead-useful-links, psammead-visually-hidden-text, psammead-timestamp-container, psammead-storybook-helpers, psammead-storybook-helpers, psammead-storybook-helpers, psammead-storybook-helpers, psammead-storybook-helpers, psammead-styles
Updates changelogs for psammead-brand, psammead-caption, psammead-consent-banner, psammead-figure, psammead-grid, psammead-headings, psammead-inline-link, psammead-media-indicator, psammead-navigation, psammead-paragraph, psammead-play-button, psammead-script-link, psammead-section-label, psammead-sitewide-links, psammead-story-promo, psammead-timestamp, psammead-useful-links, psammead-visually-hidden-text, psammead-timestamp-container, psammead-storybook-helpers, psammead-storybook-helpers, psammead-storybook-helpers, psammead-storybook-helpers, psammead-storybook-helpers, psammead-styles
@jroebu14
Copy link
Contributor Author

@thekp oh yeh. so easy with the package bumping script!

Copy link
Contributor

@thekp thekp left a comment

Choose a reason for hiding this comment

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

nice work 💯

Do we also have issues to use withServiceKnob in Simorgh and fully remove instances of input-provider since it is deprecated?

@thekp thekp self-requested a review October 17, 2019 15:00
@jroebu14
Copy link
Contributor Author

@thekp good call. no we don't. I can create these just now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Input Provider slots don't do anything other than get a text snippet in a chosen language
4 participants