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

[table editor] allow selecting physical table #6046

Merged
merged 2 commits into from
Jan 15, 2019

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Oct 5, 2018

At a high level:

  • refactor TableSelect as its own component out of SqlLab's left panel as its own component
  • Hook that up in TableSelector

screen shot 2018-10-05 at 5 16 39 pm

@betodealmeida this is ready for review

@codecov-io
Copy link

codecov-io commented Nov 28, 2018

Codecov Report

Merging #6046 into master will decrease coverage by 0.03%.
The diff coverage is 78.34%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6046      +/-   ##
==========================================
- Coverage   56.22%   56.18%   -0.04%     
==========================================
  Files         519      520       +1     
  Lines       23098    23177      +79     
  Branches     2759     2765       +6     
==========================================
+ Hits        12986    13023      +37     
- Misses       9702     9744      +42     
  Partials      410      410
Impacted Files Coverage Δ
superset/assets/src/welcome/DashboardTable.jsx 87.5% <ø> (ø) ⬆️
superset/assets/src/components/AsyncSelect.jsx 96.29% <ø> (+3.43%) ⬆️
.../explore/components/controls/DatasourceControl.jsx 54.16% <ø> (-2.5%) ⬇️
superset/views/core.py 75.01% <ø> (ø) ⬆️
superset/views/datasource.py 94.44% <100%> (+1.34%) ⬆️
.../assets/src/SqlLab/components/SqlEditorLeftBar.jsx 36.53% <43.75%> (-52.58%) ⬇️
...uperset/assets/src/datasource/DatasourceEditor.jsx 61.58% <44.44%> (-0.74%) ⬇️
superset/assets/src/components/TableSelector.jsx 83.73% <83.73%> (ø)

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 4667f0c...cffb69e. Read the comment docs.

@mistercrunch mistercrunch changed the title WiP [table editor] allow selecting physical table [table editor] allow selecting physical table Nov 28, 2018
@mistercrunch
Copy link
Member Author

@betodealmeida this is ready for 👀

@mistercrunch
Copy link
Member Author

@hughhhh @betodealmeida this is ready for review

@mistercrunch
Copy link
Member Author

Ping! I'd like to get this through.

@mistercrunch
Copy link
Member Author

👀 👀 👀 👀 👀 👀 👀 👀

return (
<div className="m-t-5">
<div className="row">
<div className="col-md-11 col-xs-11" style={{ paddingRight: '2px' }}>
Copy link
Member

Choose a reason for hiding this comment

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

nit: move inline-style to main.css

@mistercrunch
Copy link
Member Author

Addressed comments, merging.

@mistercrunch mistercrunch merged commit da813b7 into apache:master Jan 15, 2019
@mistercrunch mistercrunch deleted the table_selector branch January 15, 2019 16:53
xtinec added a commit to lyft/incubator-superset that referenced this pull request Feb 19, 2019
- Add the show metadta button, accidentally removed from PR apache#6046, back to the explore view
- Remove dead code that is no longer reachable from DataSourceModal.jsx.
xtinec added a commit that referenced this pull request Feb 19, 2019
* Add show metadata button back to the explore view

- Add the show metadta button, accidentally removed from PR #6046, back to the explore view
- Remove dead code that is no longer reachable from DataSourceModal.jsx.

* Adding additional code back to make the button function and remove more dead code.
xtinec added a commit that referenced this pull request Feb 19, 2019
* Add show metadata button back to the explore view

- Add the show metadta button, accidentally removed from PR #6046, back to the explore view
- Remove dead code that is no longer reachable from DataSourceModal.jsx.

* Adding additional code back to make the button function and remove more dead code.

(cherry picked from commit f8cf0fb)
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 🚢 0.34.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants