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

feat: add extension point to the top of welcome page #20575

Merged
merged 7 commits into from
Jul 1, 2022

Conversation

lilykuang
Copy link
Member

@lilykuang lilykuang commented Jun 30, 2022

SUMMARY

  • adds a registration point for adding components to the top of welcome page
  • add new dark color and new icon

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • 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 Jun 30, 2022

Codecov Report

Merging #20575 (f11cdf3) into master (b870a21) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master   #20575   +/-   ##
=======================================
  Coverage   66.79%   66.80%           
=======================================
  Files        1754     1754           
  Lines       65561    65577   +16     
  Branches     6933     6935    +2     
=======================================
+ Hits        43793    43809   +16     
  Misses      20014    20014           
  Partials     1754     1754           
Flag Coverage Δ
javascript 51.82% <100.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
...set-ui-core/src/ui-overrides/UiOverrideRegistry.ts 100.00% <ø> (ø)
...tend/src/views/CRUD/data/database/DatabaseList.tsx 68.36% <100.00%> (+0.65%) ⬆️
...perset-frontend/src/views/CRUD/welcome/Welcome.tsx 75.00% <100.00%> (+0.77%) ⬆️
superset/utils/pandas_postprocessing/__init__.py 100.00% <0.00%> (ø)
superset/utils/pandas_postprocessing/utils.py 96.55% <0.00%> (+0.39%) ⬆️
superset/utils/pandas_postprocessing/pivot.py 91.17% <0.00%> (+1.17%) ⬆️

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 b870a21...f11cdf3. Read the comment docs.

@@ -95,6 +95,10 @@ export const URL_PARAMS = {
name: 'viz_type',
type: 'string',
},
showDatabaseModal: {
Copy link
Member

Choose a reason for hiding this comment

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

why is this added?

Copy link
Member Author

Choose a reason for hiding this comment

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

one of the setup guide step is to redirect to database list view and pop open the database modal

@suddjian
Copy link
Member

suddjian commented Jul 1, 2022

I removed the image asset since I believe that's meant to be part of the Preset feature, not part of Superset

@lilykuang lilykuang requested a review from suddjian July 1, 2022 19:15
Copy link
Member

@suddjian suddjian left a comment

Choose a reason for hiding this comment

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

sweet

@suddjian suddjian merged commit 2389871 into apache:master Jul 1, 2022
akshatsri pushed a commit to charan1314/superset that referenced this pull request Jul 19, 2022
* welcome top extension

* show database modal

* add test

* Delete lines.svg

* rename to banner

* remove lines

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
@lilykuang lilykuang deleted the lily/welcome-top-extension branch August 30, 2022 16:26
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 2.1.0 labels Mar 13, 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 preset-io size/M 🚢 2.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants