-
Notifications
You must be signed in to change notification settings - Fork 234
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
Add new ImagePlaceholderAmp psammead component #8914
Merged
Merged
Changes from 31 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
7f78599
imported amp image placeholder from psammead
HarveyPeachey 43b6027
updated fixture data with img with no src
HarveyPeachey 8f8afb6
added storybook for new amp img placeholder functionality
HarveyPeachey fd39084
added unit test for failed amp image load
HarveyPeachey 2b6d5c7
updated snapshots
HarveyPeachey 2bc12a0
adjusts storypromo unit test
HarveyPeachey 00ba860
bumped psammead-image-placeholder
HarveyPeachey 00125f8
re-added srcset prop
HarveyPeachey 90e7a89
Merge branch 'latest' into amp-img-placeholder
HarveyPeachey 18aef55
Merge branch 'latest' into amp-img-placeholder
HarveyPeachey a68ad79
updated package.json
HarveyPeachey 0b94d0a
updated yarn.lock
HarveyPeachey ed7e2b9
Merge branch 'latest' into amp-img-placeholder
HarveyPeachey c91d6c2
updated package.json and yarn.lock
HarveyPeachey 86d5fa0
Merge branch 'amp-img-placeholder' of https://github.com/bbc/simorgh …
HarveyPeachey a4d04b4
updated unit test snapshots
HarveyPeachey 8b1dd1b
updated integration test snapshots
HarveyPeachey bcba317
amended canonical style logic
HarveyPeachey 76f9a35
adjusted e2e tests to reflect placeholder logic changes
HarveyPeachey a256379
Merge branch 'latest' into amp-img-placeholder
HarveyPeachey 15f2eed
Merge branch 'latest' of https://github.com/bbc/simorgh into amp-img-…
simonsinclair ed2dd77
Merge branch 'latest' of https://github.com/bbc/simorgh into amp-img-…
simonsinclair ef5d267
Merge branch 'latest' of https://github.com/bbc/simorgh into amp-img-…
simonsinclair 638aa6e
Renew package files
simonsinclair 185af88
Merge branch 'latest' into amp-img-placeholder
HarveyPeachey 6094ddd
adds small fix for copyright message
HarveyPeachey d387eeb
updated snapshots
HarveyPeachey c4fc013
Merge branch 'latest' into amp-img-placeholder
HarveyPeachey 448206b
Merge branch 'latest' into amp-img-placeholder
HarveyPeachey 7e667e2
Merge branch 'latest' into amp-img-placeholder
HarveyPeachey d68fb49
Merge branch 'latest' into amp-img-placeholder
HarveyPeachey 8be721f
Merge branch 'latest' into amp-img-placeholder
HarveyPeachey 871453d
Merge branch 'latest' into amp-img-placeholder
HarveyPeachey 154f959
Merge branch 'latest' into amp-img-placeholder
paruchurisilpa c140e43
Merge branch 'latest' into amp-img-placeholder
paruchurisilpa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
405 changes: 270 additions & 135 deletions
405
src/app/containers/ArticleFigure/__snapshots__/index.test.jsx.snap
Large diffs are not rendered by default.
Oops, something went wrong.
152 changes: 127 additions & 25 deletions
152
src/app/containers/ImageWithPlaceholder/__snapshots__/index.test.jsx.snap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this css needed for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Raise psammead PR as discussed to move this into psammead after merge