Skip to content
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

fix: sample image data not showing #6805

Merged
merged 11 commits into from
Mar 28, 2023

Conversation

vanpho93
Copy link
Member

@vanpho93 vanpho93 commented Feb 17, 2023

Resolves #6797
Impact: minor
Type: bugfix

Issue

Sample data for image not showing

Solution

  • Change import path
  • Fix error on get image

Testing

  • Run pnpm install again to rebuild file-collection
  • Update env file and plugin.json

image

@changeset-bot
Copy link

changeset-bot bot commented Feb 17, 2023

🦋 Changeset detected

Latest commit: 3c01340

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@reactioncommerce/api-plugin-sample-data Minor
@reactioncommerce/file-collections Minor
@reactioncommerce/file-collections-sa-gridfs Minor
@reactioncommerce/api-plugin-files Patch
@reactioncommerce/api-plugin-tags Patch
reaction Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Signed-off-by: vanpho93 <vanpho02@gmail.com>
@vanpho93 vanpho93 force-pushed the fix/sample-image-data-not-showing branch from 27cda46 to a6172e9 Compare February 17, 2023 09:08
sujithvn
sujithvn previously approved these changes Feb 17, 2023
Copy link
Contributor

@sujithvn sujithvn left a comment

Choose a reason for hiding this comment

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

Went through all pages, all the images are loading correctly

brent-hoover
brent-hoover previously approved these changes Feb 20, 2023
@vanpho93 vanpho93 dismissed stale reviews from brent-hoover and sujithvn via f22859a February 27, 2023 09:50
@vanpho93 vanpho93 force-pushed the fix/sample-image-data-not-showing branch from f22859a to a6172e9 Compare February 27, 2023 10:26
@aldeed aldeed removed their request for review February 27, 2023 16:31
brent-hoover
brent-hoover previously approved these changes Mar 2, 2023
Signed-off-by: vanpho93 <vanpho02@gmail.com>
Signed-off-by: vanpho93 <vanpho02@gmail.com>
Signed-off-by: vanpho93 <vanpho02@gmail.com>
Signed-off-by: vanpho93 <vanpho02@gmail.com>
Signed-off-by: vanpho93 <vanpho02@gmail.com>
Signed-off-by: vanpho93 <vanpho02@gmail.com>
Signed-off-by: vanpho93 <vanpho02@gmail.com>
@vanpho93
Copy link
Member Author

vanpho93 commented Mar 6, 2023

@aldeed @zenweasel

All cases work as expected after this change.

Cases Old New
Missing range Failed Pass
bytes=0-invalid Pass Pass
bytes=0-length Fail but take time Fail immediately
bytes=0-(length-1) Pass Pass
bytes=0-(length / 2) Fail Pass
@brent-hoover brent-hoover merged commit ecb8ef6 into trunk Mar 28, 2023
@brent-hoover brent-hoover deleted the fix/sample-image-data-not-showing branch March 28, 2023 00:25
@github-actions github-actions bot mentioned this pull request Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants