-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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(dashboard): update Edit Dashboard side panel tabs #20337
chore(dashboard): update Edit Dashboard side panel tabs #20337
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.
Nice @codyml! I left some comments and tagged some wiki pages with common rules that we use 😉
superset-frontend/src/dashboard/components/BuilderComponentPane/BuilderComponentPane.test.tsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/dashboard/components/BuilderComponentPane/BuilderComponentPane.test.tsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/dashboard/components/BuilderComponentPane/index.tsx
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #20337 +/- ##
==========================================
+ Coverage 66.64% 66.67% +0.02%
==========================================
Files 1738 1738
Lines 65056 65056
Branches 6885 6885
==========================================
+ Hits 43356 43375 +19
+ Misses 19953 19935 -18
+ Partials 1747 1746 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@michael-s-molina Ephemeral environment spinning up at http://54.185.222.195:8080. Credentials are |
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 adding a test and also for adjusting the folder structure!
f6fe0c0
to
b1cb411
Compare
Ephemeral environment shutdown and build artifacts deleted. |
SUMMARY
Reorders/renames tabs for clarity, so Charts is first/default Components is instead named Layout Elements. Adds tests for
BuilderComponentPane
and relocates component and test files to meet file hierarchy recommendations.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before
After
TESTING INSTRUCTIONS
Unit test:
Note: despite passing, running test shows lots of console warning/errors – any idea why?
Manual check: check that clicking "Edit Dashboard" opens panel with Chart tab first and selected by default and Layout Elements tab second.
ADDITIONAL INFORMATION