-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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: Moves the stylesheets folder to the assets folder #16880
chore: Moves the stylesheets folder to the assets folder #16880
Conversation
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.
LGTM - not sure why the linter is unable to find the stylesheets based on the updated globs as they look totally fine to me?
superset-frontend/package.json
Outdated
"prettier-check": "prettier --check '{src,stylesheets}/**/*.{css,less,sass,scss}'", | ||
"prettier-check": "prettier --check '{src}/**/*.{css,less,sass,scss}'", | ||
"lint-fix": "eslint --fix --ignore-path=.eslintignore --ext .js,.jsx,.ts,tsx . && npm run clean-css && npm run type", | ||
"clean-css": "prettier --write '{src,stylesheets}/**/*.{css,less,sass,scss}'", | ||
"format": "prettier --write './{src,spec,stylesheets,cypress-base}/**/*{.js,.jsx,.ts,.tsx,.css,.less,.scss,.sass}'", | ||
"clean-css": "prettier --write '{src}/**/*.{css,less,sass,scss}'", | ||
"format": "prettier --write './{src,spec,cypress-base}/**/*{.js,.jsx,.ts,.tsx,.css,.less,.scss,.sass}'", |
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.
The cases with '{src}/**/...'
would probably look nicer as just 'src/**/...'
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.
That was the thing making the linter fail. I changed to your suggestion.
Codecov Report
@@ Coverage Diff @@
## master #16880 +/- ##
==========================================
- Coverage 77.05% 76.97% -0.08%
==========================================
Files 1021 1022 +1
Lines 54693 54756 +63
Branches 7457 7472 +15
==========================================
+ Hits 42141 42147 +6
- Misses 12307 12361 +54
- Partials 245 248 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@pkdotson Ephemeral environment spinning up at http://34.211.223.9:8080. Credentials are |
@jinghua-qa Thanks for testing! I was able to reproduce the same problem on master so it's not related to this PR. I checked and it's not related to the stylesheets. I took note here and I will fix the problem in another PR. |
@jinghua-qa The problem with the Explore button was fixed here #16908 |
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.
LGTM! thanks for the changes.
Ephemeral environment shutdown and build artifacts deleted. |
* chore: Moves the stylesheets folder to the assets folder * Changes {src} to src
* chore: Moves the stylesheets folder to the assets folder * Changes {src} to src
SUMMARY
Moves the
stylesheets
folder to theassets
folder.This work is part of SIP-61
@jinghua-qa @junlincc
TESTING INSTRUCTIONS
1 - Navigate through the application
2 - Check that all styles are loaded correctly
ADDITIONAL INFORMATION