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

Remove unused offscreen text from psammead-media-indicator #1240

Merged
merged 16 commits into from
Jul 22, 2019

Conversation

Bopchy
Copy link
Contributor

@Bopchy Bopchy commented Jul 16, 2019

Resolves #1204

Overall change: Remove unused media indicator offscreen text.

Code changes:

  • Remove unused offscreen text from the MediaIndicator component.
  • Update tests.
  • Update stories.
  • Update snapshots.

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

@Bopchy Bopchy self-assigned this Jul 16, 2019
@Bopchy Bopchy changed the title 1204 drop off screen text Remove unused offscreen text from psammead-media-indicator Jul 16, 2019
@Bopchy Bopchy marked this pull request as ready for review July 16, 2019 12:39
@Bopchy Bopchy added the ws-home Tasks for the WS Home Team label Jul 16, 2019
@Bopchy
Copy link
Contributor Author

Bopchy commented Jul 16, 2019

Created #1242 to update StoryPromo to use this version of MediaIndicator

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.

deleting dead code :yay:

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Update version on package-lock.json.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Now that we don't use the offscreen text in media-indicator, we should remove psammead-visually-hidden-text from media-indicator dependancies.

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.

looking again at this, the API is being changed so this is technically a breaking change and should be a major version bump

lerna-debug.log Outdated Show resolved Hide resolved
Copy link
Contributor

@dr3 dr3 left a comment

Choose a reason for hiding this comment

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

I think this should have been a minor change, as while the API has changed, its not breaking. Also theres a lerna debug file? TIL theyre a thing 🙈 Other than that, LGTM

Copy link
Contributor

@j-pendlebury j-pendlebury 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 to me 👍⭐️

@david-boydell
Copy link

Cool, this is ready for merge.

@Bopchy Bopchy merged commit 457b724 into latest Jul 22, 2019
@sareh sareh deleted the 1204-drop-off-screen-text branch August 7, 2019 10:43
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.

media indicator: drop offscreenText
5 participants