-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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(explore-datasource): add new datasource tab to explore view #12008
feat(explore-datasource): add new datasource tab to explore view #12008
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12008 +/- ##
==========================================
- Coverage 67.46% 63.55% -3.92%
==========================================
Files 959 968 +9
Lines 47245 47589 +344
Branches 4630 4655 +25
==========================================
- Hits 31874 30244 -1630
- Misses 15258 17157 +1899
- Partials 113 188 +75
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Thank you so much for making changes on this PR! I'm seeing some regression after latest changes since last night.
|
This looks awesome! Some comments (will review code separately):
|
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.
Left some comments
superset-frontend/spec/javascripts/explore/components/DatasourcePanel_spec.jsx
Outdated
Show resolved
Hide resolved
yes we do!! it's for datasource that has long title! i specifically requested it.
well idk if that's intentional, that was not in the scope. but i like hovering to show menu tbh... maybe we shouldn't though |
"5. uneven padding around datasource and "..." icon (@mihir174, your call) Agree with all of these, I've attached the spacing guidelines that I sent to Evan and Philip. I don't think any of these are critical issues for the time being, so they can be added in the next PR |
Ok that makes sense. It would be nice if it would only show if the title is truncated, but not sure if that's easy to implement. |
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.
could you also add screenshots of the tab in the collapsed view. Also what the tooltips look like?
And finally, it looks like the table in your screenshot got cut off even though it hadn't reached the bottom of the screen. Is that something that was changed here, or did it always happen? Seems like it would be better to allow the chart to go full height if the space allows
superset-frontend/src/explore/components/ExploreViewContainer.jsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/explore/components/ExploreViewContainer.jsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/explore/components/ExploreViewContainer.jsx
Outdated
Show resolved
Hide resolved
superset-frontend/src/explore/components/controls/DatasourceControl.jsx
Outdated
Show resolved
Hide resolved
@etr2460 |
im not sure why the data section is not showing in @pkdotson's screen shot... |
…t-io/incubator-superset into phillip/explore-datasource
…t-io/incubator-superset into phillip/explore-datasource
…t-io/incubator-superset into phillip/explore-datasource
…t-io/incubator-superset into phillip/explore-datasource
…t-io/incubator-superset into phillip/explore-datasource
…t-io/incubator-superset into phillip/explore-datasource
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.
collapsible panel ✅
search bar ✅
vertical scroll bar ✅
change datasource ✅
display #of column ✅
tooltip to show complete dataset title✅
cosmetic & alignment ✅
all functionalities work properly while resizing✅ (from the side, bottom and corner)
lgtm!! thanks so much @pkdotson @rusackas for this huge UX improvement in Explore! this feature is getting us one big step closer to drag and drop!
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.
This is looking great to me! I think the important things in the thread have been addressed. There are a couple of cool add-on ideas/features we can quickly do in fast-follow PRs, but I believe this is ready for prime time!
SUMMARY
This pr will update the explore view with a new tab for the datasource component and metrics and columns view. It also adds a search bar to allow search of both columns and metrics for possible long datasources.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
updating existing unit and e2e test for explore and new unit test for the datasource tab component
Visually and manaully tested changes for new layout.
ADDITIONAL INFORMATION