
Dashboard containers and tabs (early preview)
Slowly getting closer to nesting filters in dashboard sections (think tabs and tiles). Plus getting closer on native dashboard tabs.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
um got a little diverted towards the end of the week with some dashboard performance work that I was helping out with, but uh took a really quick stab at just showing some more progress on container stuff. Um early this week, uh I did manage to get all the real components m mixed into the container rendering. So you can see here last week when I showed this, we just had placeholders.
Now there's actually I guess for reference this is the dashboard laid out in the traditional manner. So I have a couple of uh just a filter up here and a couple of controls and some charts. Um here we're actually rendering it in the new system. So there's a control sitting inside I guess container which could be a tile.
Um and or sorry a filter and a control a viz. Um this is actually the same viz. Uh this is the viz and this is the result config. So you can actually colllocate them next to each other. So one query runs two vizes. But be super clear, it's not two different viz. This is this is the result config, not a table config.
Uh and markdown down here. Um the other thing you'll notice is I just did this really quick just to show off like how tab might work. So page one is here. I've page two. This is a different uh container. Um in this case it's going sideways. So, it looks really ridiculous and we haven't dealt with some a lot of layout issues.
Um, but it does kind of show a really dumb demo. Full widths a little bit better looking. Um, obviously we wouldn't want them to fall off like this, but we're just proving out the idea. So, um, there's a bunch more changes that are currently borked. So, I kind of pulled back a little bit to do the quick tabs demo, but um, yeah, containers are starting to get a little more real.
Um, still a ways from productizing, but um, definitely starting to understand the shakes we want to do here. Uh, and great big props to Jared and Sarah for uh, chatting with me about various challenges here. Yeah, this is awesome. Um, Luke, quick question. How close is this to the idea of like componentizing the dashboard? Like, is the work that we're doing here feeding into that?
Is it completely different work? Like, help me understand that. What do you mean by component? I I like JavaScript embedding. Uh it starts someone wanted to take a container, not the dashboard and stuff like that. Yeah. Um it's not going to give us that out the gate. Um but it starts to it's it's definitely changing our code to make that more possible is I guess the the long answer.
Um there's a lot to there'd be a lot to do to make that happen that we won't do just to do this. Um but um I do think that's a feasible path we can go down, you know, if we if that makes sense. Um it's not I mean the funny thing is I'm doing a lot of that inside our codebase.
The main thing would be like lifting up stuff that's that's inside of our codebase to be able to hand it to somebody else to use it. Um I don't think that's wildly difficult. We're nowhere near uh the challenge that Looker had to do that um because our code is just much more modern. Um so yeah, I think I think that's feasible.
Um, this will probably for a while be like our sandbox for doing that and giving them lots of access to kind of do it inside our sandbox, but I don't think it's crazy to think that we could hand it all to somebody else to go viral. Awesome. Thanks. I think we should also just be really careful to not tie ourselves to the expectation that exactly the thing we use in our production app is the thing we'd want to use for like an embedding framework.
Yeah, 100%. That's kind of like why I'm like, yeah, um I don't know that customers want our code. They want the primitives we're using to build this stuff. And so I think that's what we have to chase is like making sure those are all available to them to go well with. Um thanks