
Tabbed dashboards v1 (ask us)
Dashboard tabs and containers are getting close to GA. For the cutting edge folks, we're open to turning this on (there may be bumps). But enormous amount of new dashboard functionality…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Okay. Uh, demo multi-page dashboards. Not going to show tabs. Sorry. Promise I'll show that later. I just that's on a different branch. So, um, this is a very terrible dashboard with one pie chart because we all love pie charts. An empty container down here. Um, if I open up this, you'll notice there's now a page selector here.
Um, and I have a couple of pages. Um, and this will we're going to have this actually show if you're not don't have the outline open, but I just haven't clock is working on that. I made a deposit so my demo didn't crash while I was showing you stuff. Um, so um I can switch to page two here.
So it's a similar layout just like I copied the same chart. Um, I can manipulate things. I can move through that. I can add a new page. And here's an exciting blank page. This filter is showing up across all the pages because it hasn't been placed inside a page. um to sort of show what that means. You'll notice my switch between it's still there.
If I go down here to page three and just grab it and move it onto the page. Now, when I switch between pages, it disappears because it's on side on that page. And I could put it on all three pages if I wanted to. I could make choices like that, but it's just sort of showing that. Um I can reorder the pages.
So, uh there's a fun bug. I'm actually going to just pause it really quick here uh by putting this back. Um I'm going to delete this. Can I do it? Oh, no. Anyway, there's a fun bug where like it does the page numbering wrong. I got to go fix that. But you can reorder them if I really wanted page two to be above page one.
Um, this needs some styling love. Sorry, Jared. Um, but that's starting to work. Um, and right now we always start you on this first page you created. Um, we will fix it soon so that whatever page is on the top of the stack will be the page you show when it gets there. Um and that'll also drive tab selection and list selection things like that.
Um in the tab in the in so right now the other piece here of course is if I publish this um my dash I can't get to the other pages because I have no control on the page to do that yet. Um in another branch I have that. I'll at least share a screenshot later of that. But um yeah so early sort of page switching and support for that.
There are lots of interesting challenges here about like filter mapping, working across pages and some things to talk with my design friends about how we're going to handle that, but it does work. Um, one other thing is right now, uh, it's not running the queries for anything but the first page. Um, and it doesn't run them when you switch over to the page.
So, it's kind of weird. Um, I will fix that shortly. And then eventually we're going to have to offer handles about like hey do you want us to run all the queries when you hit the first page? Do you want to run just the first pages queries? Um I think we will default to just run the visible queries like the p first page and when you switch run them.
We're going to want to offer people leverage to say oh I want to run either the queries like at a certain time so when I switch tabs are already there. A pretty common behavior you see in like really nice web apps is like when you when the user starts hovering over the tab it might fire the queries then.
So, we don't fire all of them till they're sort of show intent, but ideally we fire them before they get there and see a bunch of spinners. Um, to be honest, I think that's going to be best handled by like deferring to the person building the dashboard to make decisions and the default will be don't run to reduce query runs.
Um, and then let them be hyperaggressive if they want to because they don't care. Um, because there was a funny question about filter mapping as you saw like the filters do apply across all the pages. You could just map a filter on one page to the queries in that page and essentially have a single page filter or you can map across pages.
Kind of up to you. Um didn't do anything to make that happen. Just how we how the system works. Um and we'll have to do we're going to have to think a lot about sort of how mapping works because it's it was designed to be intuitive in this scenario where I can see everything. When there's things off on a different page I can't see, I'm really going to need context about that.
So, we're going to have to add more context over here about like, hey, these other things are being controlled or filtered. We probably want some little accelerators that's like like everything exclusive to this page, you know? Yeah, we have all you want like this page or that page or Yeah, there's it kind of like opens up a whole new gate of like, oh, more fun problems.
But I think super powerful just, you know, these are the challenges of look, I'll ask the I'll ask the question that everyone's going to be asking. Uh, how soon can people touch this? I'm sure there's people that even want to touch it in this state. You might not want that. When can someone reasonably with an extreme level of uh appetite for error uh get their hands on this?
I should have this piece in early next week, but the page the actual controls need to be built out. Um, my my my hope is next week we'll be able to like internally play with it. It is it is using the container system. So you kind of have to live with the the pluses and minuses of that system and filter mapping is completely insane.
So that is the big is containers all or nothing like if you turn this on your dashboards are all containers. Uh with a hand wavy yes is the right answer. I mean like you're going to live with those problems today and that's this because we are leveraging that system to store multiple pages and stuff like that.
Um so yeah um and we're there'll be some more demos around that I'm sure uh soon I still think we'll have people that want it but totally. Yeah, it's just Yeah, it's like this is built on top of a lot of infrastructure. So, um comes with some baggage that we're working through very quickly, but yeah.
Yeah. Hey, hey, Luke. Um how does this pages is like a new concept to me? How does this tie in with tabs? Is there a hierarchy? Will a page eventually be a tab on a board? What does this mean? You could think of a page a page can be so each tab is a page. And maybe I should call them tabs.
But the tricky thing is like sometimes you're going to present them as tabs. Sometimes you're going to present them as pages. Sometimes you're going to present a page in a drawer. So, and and we might be wrong on our language. So, um I'll let Ariel yell at me later like why did you call them pages? But yeah, this is the same thing as tabs.
Um basically think of each one. What I need to do is build the control you can see up here where you can switch between them for the for somebody viewing this. Um, ironically, there's nothing there's very little difference between a tabbed view and maybe a drop down of pages where you can switch or a list on the side.
Sort of like the classic e-commerce I can switch categories. So, that is this will power all of those options. So, yeah. Okay. So, like moving forward, this would also be like a page could be, you know, like in our in our road map deck, we have like the drawer that pops out from the side. So, that could be like a new page as in controls for it.
Yeah, you can think of it as like essentially, you know, we always dealt with there's one big container and that's the dashboard. Now we're saying there are many top level containers and you can do things with them. You know, suitable handwaving required to see the end game, but this is this is that going that direction.
Cool. Thank you. Yeah.