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

chore: Unify template spacing #13901

Merged
merged 4 commits into from Aug 16, 2022

Conversation

ihmpavel
Copy link
Contributor

@ihmpavel ihmpavel commented Jul 29, 2022

What does it do?

Unify spacing with literals in Strapi repo

Describe the technical changes you did.

Changed every {{variable}} to {{ variable }}

Why is it needed?

Unification of code. Some parts has variables without spaces, some has with spaces

How to test it?

Related issue(s)/PR(s)

Screenshots

Copy link
Contributor Author

@ihmpavel ihmpavel left a comment

Choose a reason for hiding this comment

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

Add forgotten spaces

@Convly Convly assigned remidej and markkaylor and unassigned remidej Aug 1, 2022
@alexandrebodin alexandrebodin added source: core:strapi Source is core/strapi package pr: chore This PR contains chore tasks (cleanups, configs, tooling...) labels Aug 8, 2022
Copy link
Contributor

@markkaylor markkaylor 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, I think just one small thing to fix if you don't mind

@@ -1,12 +1,12 @@
'use strict';

/**
* `{{id}}` policy.
* `{{ id }}` policy.
Copy link
Contributor

Choose a reason for hiding this comment

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

could you remove the . here as well to be consistent with the other files?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed

@codecov
Copy link

codecov bot commented Aug 9, 2022

Codecov Report

Merging #13901 (1cf23e1) into master (b511597) will increase coverage by 0.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #13901      +/-   ##
==========================================
+ Coverage   55.12%   55.35%   +0.22%     
==========================================
  Files        1251     1258       +7     
  Lines       31493    31699     +206     
  Branches     5688     5734      +46     
==========================================
+ Hits        17362    17546     +184     
- Misses      12316    12337      +21     
- Partials     1815     1816       +1     
Flag Coverage Δ
front 58.10% <ø> (+0.16%) ⬆️
unit 48.60% <ø> (+0.40%) ⬆️

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

Impacted Files Coverage Δ
...nager/server/services/utils/configuration/index.js 33.33% <ø> (ø)
...ages/utils/typescript/lib/utils/get-config-path.js 88.88% <0.00%> (-11.12%) ⬇️
...r/components/DynamicTable/CellContent/CellValue.js 68.00% <0.00%> (-2.38%) ⬇️
...min/src/components/AssetCard/UploadingAssetCard.js 37.77% <0.00%> (-1.76%) ⬇️
packages/core/upload/server/utils/file.js 22.72% <0.00%> (-0.81%) ⬇️
...dmin/src/components/ContentTypeBuilderNav/index.js 92.00% <0.00%> (-0.60%) ⬇️
...es/core/upload/admin/src/pages/App/MediaLibrary.js 83.08% <0.00%> (-0.48%) ⬇️
packages/core/upload/admin/src/constants.js 100.00% <0.00%> (ø)
packages/core/upload/admin/src/utils/index.js 100.00% <0.00%> (ø)
packages/core/utils/lib/convert-query-params.js 13.45% <0.00%> (ø)
... and 18 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@markkaylor markkaylor left a comment

Choose a reason for hiding this comment

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

LGTM

@ihmpavel
Copy link
Contributor Author

Hi, does PR wait on something I should do?

@markkaylor markkaylor added this to the 4.3.5 milestone Aug 16, 2022
@markkaylor markkaylor merged commit a8ff3ae into strapi:master Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: chore This PR contains chore tasks (cleanups, configs, tooling...) source: core:strapi Source is core/strapi package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants