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

fix: making the new chart/dashboard buttons on the homepage work #12347

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

rusackas
Copy link
Member

@rusackas rusackas commented Jan 8, 2021

SUMMARY

The code was previously using history.push, which wasn't working... window.location.assign works like a charm though!

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

n/a

TEST PLAN

Tested locally, but others can/should/will verify

ADDITIONAL INFORMATION

@nytai
Copy link
Member

nytai commented Jan 8, 2021

Jinx! #12348

@rusackas
Copy link
Member Author

rusackas commented Jan 8, 2021

Jinx! #12348

Hah! That is one beautiful PR you have there, if I may say so myself.

Copy link
Member

@nytai nytai left a comment

Choose a reason for hiding this comment

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

This because we're living in the confusing world where only half our app is in react router 😞

@rusackas
Copy link
Member Author

rusackas commented Jan 8, 2021

This because we're living in the confusing world where only half our app is in react router 😞

... just for now... it'll get better.

@codecov-io
Copy link

codecov-io commented Jan 8, 2021

Codecov Report

Merging #12347 (b7a19dc) into master (cbda599) will increase coverage by 1.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12347      +/-   ##
==========================================
+ Coverage   66.03%   67.04%   +1.00%     
==========================================
  Files        1001     1001              
  Lines       49380    49380              
  Branches     5033     5033              
==========================================
+ Hits        32609    33107     +498     
+ Misses      16612    16145     -467     
+ Partials      159      128      -31     
Flag Coverage Δ
cypress 51.22% <0.00%> (+7.46%) ⬆️
javascript 60.99% <0.00%> (ø)
python 64.18% <ø> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
...set-frontend/src/views/CRUD/welcome/ChartTable.tsx 76.59% <0.00%> (ø)
...frontend/src/views/CRUD/welcome/DashboardTable.tsx 63.07% <0.00%> (ø)
superset/db_engine_specs/presto.py 82.68% <0.00%> (-0.65%) ⬇️
...ntend/src/dashboard/components/PropertiesModal.jsx 83.03% <0.00%> (ø)
superset-frontend/src/SqlLab/actions/sqlLab.js 61.96% <0.00%> (+0.21%) ⬆️
.../explore/components/controls/DateFilterControl.jsx 56.32% <0.00%> (+0.57%) ⬆️
...c/dashboard/components/nativeFilters/FilterBar.tsx 53.14% <0.00%> (+0.69%) ⬆️
.../src/explore/components/AdhocMetricEditPopover.jsx 74.56% <0.00%> (+0.87%) ⬆️
.../src/explore/components/ControlPanelsContainer.jsx 91.13% <0.00%> (+1.26%) ⬆️
superset-frontend/src/reduxUtils.ts 79.74% <0.00%> (+1.26%) ⬆️
... and 74 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 cbda599...b7a19dc. Read the comment docs.

@junlincc
Copy link
Member

junlincc commented Jan 8, 2021

impressive you both~ im pulling......

Copy link
Member

@junlincc junlincc left a comment

Choose a reason for hiding this comment

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

ezgif-6-92f1b642d122

thank you both @rusackas @nytai !!

@junlincc junlincc merged commit d760e88 into apache:master Jan 8, 2021
@junlincc junlincc added the #bug:blocking! Blocking issues with high priority label Jan 8, 2021
@rusackas rusackas deleted the fixing-homepage-new-object-links branch January 8, 2021 06:33
@junlincc junlincc added the home:others Related to Homepage / Welcome page label Jan 8, 2021
@junlincc junlincc removed the #bug:blocking! Blocking issues with high priority label Jan 25, 2021
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.0.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 home:others Related to Homepage / Welcome page preset-io size/XS 🚢 1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Home] +DASHBOARD and +CHART button don't work
5 participants