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

slice/explore header #996

Merged
merged 4 commits into from
Aug 25, 2016
Merged

slice/explore header #996

merged 4 commits into from
Aug 25, 2016

Conversation

ascott
Copy link

@ascott ascott commented Aug 23, 2016

if a table is being explored, and not a slice, use the datasource name rather than nothing.

screenshot 2016-08-23 00 07 05

screenshot 2016-08-23 00 14 35

@mistercrunch @bkyryliuk thoughts on this?

@ascott
Copy link
Author

ascott commented Aug 23, 2016

this should work for the visualizing flow from the sql editor as well.

@bkyryliuk
Copy link
Member

Good idea @ascott, another way how it could be implemented - we could make the default slice name by the correspondent datasource.
@mistercrunch - what do you think?

@ascott
Copy link
Author

ascott commented Aug 23, 2016

@bkyryliuk i think it's a good idea on visualize to make the default slice name the data source name. this will cover the case when a slice hasn't been created yet and someone is just exploring a table/datasource.

</h2>
{% endif %}
{% else %}
<h2>{{viz.datasource.table_name}}</h2>
Copy link
Member

Choose a reason for hiding this comment

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

style guide for jinja says leave room as in {{ foo }}

@mistercrunch
Copy link
Member

[datasource] - Untitled seems ideal to me

@ascott
Copy link
Author

ascott commented Aug 25, 2016

good suggestion @mistercrunch. made that change.

screenshot 2016-08-25 10 51 41

@ascott ascott merged commit 36a6714 into apache:master Aug 25, 2016
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.11.0 labels Feb 19, 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 🚢 0.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants