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: Moves the images folder to the assets folder #14429

Merged

Conversation

michael-s-molina
Copy link
Member

@michael-s-molina michael-s-molina commented Apr 30, 2021

SUMMARY

Moves the images folder to the assets folder.

This work is part of SIP-61

@rusackas @pkdotson please include anyone that needs to be aware of this. I tested the Storybook, development, and production versions and it seems ok. Please let me know if I forgot any dependency.

PS: Don't panic about the 317 files changed 😆, most are just file renames.

TEST PLAN

  • Create an ephemeral environment and test the application
  • Test the Storybook
  • Test the build process

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@codecov
Copy link

codecov bot commented Apr 30, 2021

Codecov Report

Merging #14429 (66cf0c9) into master (9b17e86) will increase coverage by 0.31%.
The diff coverage is n/a.

❗ Current head 66cf0c9 differs from pull request most recent head a34b8c5. Consider uploading reports for the commit a34b8c5 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #14429      +/-   ##
==========================================
+ Coverage   76.67%   76.98%   +0.31%     
==========================================
  Files        1005     1007       +2     
  Lines       54138    54174      +36     
  Branches     7442     7463      +21     
==========================================
+ Hits        41510    41708     +198     
+ Misses      12384    12226     -158     
+ Partials      244      240       -4     
Flag Coverage Δ
javascript 71.30% <ø> (+0.21%) ⬆️

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

Impacted Files Coverage Δ
...rontend/src/components/ListView/Filters/Search.tsx 82.35% <0.00%> (-12.89%) ⬇️
superset-frontend/src/views/CRUD/hooks.ts 46.98% <0.00%> (-0.68%) ⬇️
superset/reports/commands/execute.py 90.23% <0.00%> (-0.61%) ⬇️
...rontend/src/views/CRUD/dashboard/DashboardList.tsx 71.83% <0.00%> (-0.40%) ⬇️
...erset-frontend/src/datasource/DatasourceEditor.jsx 74.81% <0.00%> (-0.28%) ⬇️
...rset-frontend/src/components/ListView/ListView.tsx 96.19% <0.00%> (-0.11%) ⬇️
superset/views/core.py 76.29% <0.00%> (-0.06%) ⬇️
superset/sql_parse.py 99.38% <0.00%> (-0.02%) ⬇️
superset-frontend/src/components/Icons/Icon.tsx 100.00% <0.00%> (ø)
superset-frontend/src/reports/actions/reports.js 41.17% <0.00%> (ø)
... and 65 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 486e0d4...a34b8c5. Read the comment docs.

@junlincc junlincc added the sip:61:folder-org Related to the organization of the folders as of SIP 61 label May 5, 2021
@junlincc junlincc requested review from rusackas and ktmud May 5, 2021 00:31
@rusackas
Copy link
Member

rusackas commented May 6, 2021

/testenv up

@github-actions
Copy link
Contributor

github-actions bot commented May 6, 2021

@rusackas Ephemeral environment spinning up at http://52.12.116.219:8080. Credentials are admin/admin. Please allow several minutes for bootstrapping and startup.

Copy link
Member

@geido geido left a comment

Choose a reason for hiding this comment

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

Hey @michael-s-molina we need to make sure that the path is changed for the dynamic import of the Icons component as well. I don't see that path change included here

@michael-s-molina
Copy link
Member Author

Hey @michael-s-molina we need to make sure that the path is changed for the dynamic import of the Icons component as well. I don't see that path change included here

@geido This one?

Screen Shot 2021-05-06 at 2 03 38 PM

@geido
Copy link
Member

geido commented May 6, 2021

Hey @michael-s-molina we need to make sure that the path is changed for the dynamic import of the Icons component as well. I don't see that path change included here

@geido This one?

Screen Shot 2021-05-06 at 2 03 38 PM

@michael-s-molina Is this in this PR? I have looked 3 times. I can't find it.

@michael-s-molina
Copy link
Member Author

@geido
Copy link
Member

geido commented May 6, 2021

Is this in this PR? I have looked 3 times. I can't find it.

@geido https://github.com/apache/superset/pull/14429/files#diff-4ee0a8eefdf7b42a39b21a7183b6559a4909da71533312d9eba61c569234862f

That does not bring me to that change. I am from the Github app, maybe it is messed up due to the big amount of changes. But if you confirm it is there, then we are good @michael-s-molina

@@ -94,14 +94,14 @@
<section>
<h1>Page not found</h1>
<p>
Sorry, we cannot find t he page you are looking for. You may have
Sorry, we cannot find the page you are looking for. You may have
Copy link
Member

Choose a reason for hiding this comment

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

Nice catch :)

@rusackas
Copy link
Member

/testenv up

@github-actions
Copy link
Contributor

@rusackas Ephemeral environment spinning up at http://52.13.96.30:8080. Credentials are admin/admin. Please allow several minutes for bootstrapping and startup.

Copy link
Member

@etr2460 etr2460 left a comment

Choose a reason for hiding this comment

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

it looks like a lot of the images in the directory are only used for documentation or on the docs website. can you verify before merging that they don't get deployed to the docker image, since they aren't needed to actually run the server?

Copy link
Member

@geido geido left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@michael-s-molina michael-s-molina force-pushed the move-images-to-assets-folder branch from 16f363f to a34b8c5 Compare September 22, 2021 11:33
@villebro
Copy link
Member

it looks like a lot of the images in the directory are only used for documentation or on the docs website. can you verify before merging that they don't get deployed to the docker image, since they aren't needed to actually run the server?

I can confirm that I was not able to find the doc/website images in the docker image. So should be good to go 👍

Copy link
Member

@villebro villebro left a comment

Choose a reason for hiding this comment

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

LGTM!

@michael-s-molina michael-s-molina merged commit 99d15b2 into apache:master Sep 22, 2021
@github-actions
Copy link
Contributor

Ephemeral environment shutdown and build artifacts deleted.

opus-42 pushed a commit to opus-42/incubator-superset that referenced this pull request Nov 14, 2021
* chore: Moves the images folder to the assets folder

* Rebases
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 28, 2021
* chore: Moves the images folder to the assets folder

* Rebases
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.4.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels sip:61:folder-org Related to the organization of the folders as of SIP 61 size/M 🚢 1.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants