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

Prettify AwsMarketplace/Features.tsx and everything #3319

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

fiskus
Copy link
Member

@fiskus fiskus commented Feb 3, 2023

  • Prettified AwsMarketplace/Features.tsx that slipped through in Landing for AWS Marketplace #3251
  • And why not prettify a few other files in this PR. So, I did cd catalog && npm run prettify .

@codecov
Copy link

codecov bot commented Feb 3, 2023

Codecov Report

Merging #3319 (20a6243) into master (d3c490b) will increase coverage by 46.09%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #3319       +/-   ##
===========================================
+ Coverage   35.18%   81.28%   +46.09%     
===========================================
  Files         674       31      -643     
  Lines       29331     2228    -27103     
  Branches     4336        0     -4336     
===========================================
- Hits        10321     1811     -8510     
+ Misses      17835      417    -17418     
+ Partials     1175        0     -1175     
Flag Coverage Δ
api-python ?
catalog ?
lambda 81.28% <ø> (-4.77%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lambdas/shared/t4_lambda_shared/utils.py 89.61% <0.00%> (-7.80%) ⬇️
lambdas/shared/t4_lambda_shared/preview.py 93.38% <0.00%> (-5.15%) ⬇️
lambdas/shared/t4_lambda_shared/decorator.py 91.30% <0.00%> (-0.25%) ⬇️
...alog/app/website/pages/AwsMarketplace/Features.tsx
catalog/app/components/Preview/loaders/Html.js
catalog/app/components/EChartsChart.tsx
catalog/app/website/components/SlideBlock.tsx
catalog/app/containers/Bucket/Code.js
catalog/app/components/Pagination/Controls.js
api/python/tests/test_data_transfer.py
... and 639 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@fiskus fiskus changed the title Prettify AwsMarketplace/Features.tsx and everything Prettify AwsMarketplace/Features.tsx and everything Feb 3, 2023
@fiskus fiskus requested a review from nl0 February 3, 2023 10:52
@fiskus fiskus merged commit 6f3b45f into master Feb 3, 2023
@fiskus fiskus deleted the prettify-everything branch February 3, 2023 12:28
nl0 added a commit that referenced this pull request Feb 6, 2023
* master:
  Cleaner syntax for pip install (add single quotes) (#3283)
  Prettify `AwsMarketplace/Features.tsx` and everything (#3319)
  Buttons refactoring (#3300)
  Landing for AWS Marketplace (#3251)
  Fix error message: `quilt login` => `quilt3 login` (#3316)
  Use code authorization flow instead of ID tokens. (#3296)
Comment on lines +5 to +8
window.opener.postMessage(
{ type: 'callback', fragment: window.location.hash },
window.location.origin,
)
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI, this file is served as is, without being compiled/processed, so this change could theoretically break things: the trailing comma was not supported before 2017: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas#browser_compatibility

(Maybe it should be compiled? I'm not sure how to set it up properly.)

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for this find!
I'll redefine prettier config for static directory, so it will use ES5 rules for commas

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

Successfully merging this pull request may close these issues.

3 participants