Topic and view editor

Luke Bowerman · Friday Demos · April 18, 2025 · 7:28

We're overhauling the front end experience for views and topics to make everything UI controllable, more clear, and faster to work with. Here we show off the new experience landing soon.

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Alyssa and I have been doing tons of stuff on um new tab type behaviors uh as we talked about a second ago. Um and so I kind of want to walk through some of the improvements we made for query views as well as some other stuff that is about to ship. So um as of today this should be roughly what a query or what a query sees in the product um which is um again that starting point with any topics and in my case topic groups um and in this case I have a schema here that has some tables in it or I guess a schema that I don't really use much for my animal rescue and I want to model off that and like

  2. maybe model the volunteers and we'll see oh there's no topics but if I click tables here it'll show me um that I actually have a volunteers table I can query off of. Um one thing to know I can't really demo it super easily. Actually I'm lying I can demo it easily. Uh if we go to this topic free um if I have a model with no topics so maybe a brand new instance will automatically um start showing you the tables instead of um topics since there's no topics to use.

  3. So we have a better entry experience now. Um, but going back to this one, um, here I can just go ahead and click volunteers, and we'll see it automatically previewed the volunteers table for me. Um, one thing that we've, uh, broke and then fixed this week was an improved preview behavior. Uh, we discovered that that behavior of grabbing all the columns off a table was a little dangerous depending on the table.

  4. um both if the table is extremely broad um or had nested uh fields, you don't really want to select all of them at once when you have huge numbers of them. So um we've actually consolidated the preview behavior to consistently now um only pick um unneested fields. Um and it also skips uh foreign keys because they're kind of not that useful in a preview um seeing a random good.

  5. Um and then additionally, it will only it'll only pick up to 25 fields by default. So basically it's going to pick the first 25 fields it finds. If it if there's more than that it'll pop a little toast saying hey I picked 25 fields and there's like 46 more um but it won't pick them because it's kind of at that point the utility of a 45 column wide table becomes questionable.

  6. So yeah um so that's quite an improvement. Uh one thing we can do here really quick is just as a demo uh this is my volunteer But um I don't have more text, so I'm just going to cheat and grab that text right there. Um one thing that came along with this is we added multi-line description. So you can see that's actually properly preserving whites space.

  7. This was a customer ask this week. Um and if I jump over to the dashboard, come here. Um we'll actually see that the dashboard preview also supports multi-line descriptions now. So, kind of a nice improvement there. Um, I'm going to go back over here. So, when I have this, I can, as people saw last week, you can say this is a query view.

  8. Um, and I'm going to call this volunteer facts because why not? Um, and in the query view, um, we now have a little inspector like some of the other tabs do. Uh, it's pretty limited. If folks think of things they'd like to see in this inspector, um, let me know. It's easy to add, but it is different than the query inspector.

  9. Um, we do dump the query down here. Um, but, uh, kind of gives you a sense. Um, it shows you the topic name. Well, that's wrong. Should be query view name. Oops. Um, and then, uh, we're also going to rename this results to preview because it's really not previewing the query view. Um, and then, um, Alyssa added a super cool thing where you can now actually see the YAML.

  10. Um, this is read only, just sort of a view of the YAML and actually can jump to the IDE. Um, it takes you right into the YML file and you can mess around with it. Um, so that's a really nice addition. Right now, this warning is here because this is a little bit laggy. It's actually not reflecting changes you made.

  11. Um, we are going to be solving that soon. Um, we need a backend f backend focus, a little utility API to clean that up, but um, still think it's pretty valuable. Um, I think that's it. Uh, we talked about the preview policy. Um so one thing that's nice we can use the product a little bit. Um we have seen adoption go up a lot on these new tab types.

  12. So blank is that new entry screen. Um and then uh CSV of course is our great CSV tabs. Um and then query view here. So we can see in the last week uh usage has gone way up on that. And of course blank went up about three weeks ago. So really solid growth. It's not making much of a dent in the overall numbers yet but we're making we're getting there.

  13. So, um, okay. So, the other flow we've got going on is, uh, if you go back to this same volunteers tab, maybe I decide actually I'd rather have this a topic. So, this save as topic, um, option will be in playground and our local instances probably later today um, if not early next week. And when you do this, it's going to go ahead and automatically pull this into topic.

  14. I'm actually going to use a different base table because this table's doesn't have any joins. Uh, let me go just do that really quick. So, go back here to adoptions. Yeah. Yeah. Yeah. Oh, I guess the other thing you'll see up here is if you use in use, it'll show you other uh things you have in use in this model.

  15. Uh, but back to tables options. Um, so now if I topic this, we will see that it automatically brings in all the joints. Um, and um, again, we have an inspector. It's a little more useful. It actually says topic name in the right place. Um, I can rename and add description to the topic here. So, I'm going to go grab some static text I have.

  16. Um, and if I save this, we'll see that actually got pushed into the description automatically. Um, and additionally, if we go look at the YAML, we can see it's been pushed in for us. So, that's all working nicely. Um, very shortly, we'll have some more UI for like picking which joins I want my topic, things like that.

  17. But, this kind of gives us our first uh run at um topic editing. Uh, I think um so that's a nice addition. The other things we've done is if I'm in a all views, we've had Hey, um we have had for a while this uh make topic behavior. Now when you do make topic, it'll pull you into these one of these nice topic editor tabs and let you do some work with it.

  18. Um so that's a nice improvement. And um you can also go just to any tab you want, find an existing topic like folders, and if you hit edit topic up here, it'll jump you into an editor for that topic. So you can rename topics uh via the UI if you want to or do other things to them.

  19. And we'll be adding more enrichment from what you can do with it. Um last but not least, um go over here. Um,