superset icon indicating copy to clipboard operation
superset copied to clipboard

[dashboard v2] Creation of new tab on existing dashboards links tabs

Open vylc opened this issue 8 years ago • 8 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [ ] I have checked the superset logs for python stacktraces and included it here as text if any
  • [ ] I have reproduced the issue with at least the latest released version of superset
  • [ ] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

Expected results

New tab should create a blank tab

Actual results

New tab creates a duplicate of the original tab. (ok, can live with this) But then once you start editing the new tab (ie. removing a chart), it makes the same edit to the original tab.

Steps to reproduce

(1) Convert existing dashboard to V2 dash (2) Edit dashboard (3) Click on + for new tab (4) Remove a chart from new tab

vylc avatar Jul 16 '18 18:07 vylc

@graceguo-supercat @williaster any chance this will get fixed soon?

vylc avatar Aug 04 '18 00:08 vylc

Hmm this sounds like a regression, I've never seen this. @graceguo-supercat have you? Can look into it.

williaster avatar Aug 04 '18 15:08 williaster

@vylc I can't reproduce this 😞

williaster avatar Aug 06 '18 20:08 williaster

Let me know if you can view this video... I didnt' want to post it on github since it has lyft metrics...

Thanks! Vyl

On Mon, Aug 6, 2018 at 1:20 PM Chris Williams [email protected] wrote:

@vylc https://github.com/vylc I can't reproduce this 😞

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apache/incubator-superset/issues/5402#issuecomment-410840391, or mute the thread https://github.com/notifications/unsubscribe-auth/Af4X6BZRnn6a8sl8n1JRRtLXfEhcD4zYks5uOKUGgaJpZM4VRiYy .

vylc avatar Aug 06 '18 20:08 vylc

hmm can't see any video @vylc

williaster avatar Aug 06 '18 21:08 williaster

@vylc in your video your charts, are not in any tabs. you are using embedded tabs (you can read the user docs on top-level tabs vs embedded tabs here), and they have no content in either of them. So then when you "switch" tabs, you're seeing the other empty tab.

williaster avatar Aug 06 '18 21:08 williaster

Got it. thanks--from a usability perspective, we should by default add all charts to a tab when a tab is added.

On Mon, Aug 6, 2018 at 2:53 PM Chris Williams [email protected] wrote:

Closed #5402 https://github.com/apache/incubator-superset/issues/5402.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apache/incubator-superset/issues/5402#event-1773941147, or mute the thread https://github.com/notifications/unsubscribe-auth/Af4X6M_DTiOuXEAv5o9bjTOl92y9GWQlks5uOLrkgaJpZM4VRiYy .

vylc avatar Aug 06 '18 22:08 vylc

I disagree with that, a user doesn't necessarily want all content added to a tab if they add it. if you want top-level tabs, that's the effect it will have.

williaster avatar Aug 06 '18 22:08 williaster