
Field picker 2.0
Elegant new controls for simpler, more-powerful search in the field picker of the workbook, with a specific focus on SQL queriers
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
uh I've got one so this comes with some caveats if it's not as far as I wanted to have it for demo but it works uh I've also working on content permissions which I think Ariel wants way more than this but I don't know this was something Jared and I've wanted for a long time and uh Colin keeps asking for adjacent things so I finally Justified going and hacking on it some uh let me make sure I have one that's good set up here that work um so uh this is one of the things we've heard from folks is getting a huge long list this is a bad example because not that big that big a list here is really annoying and you want to
just see the ones that are joinable so if I go somewhere stupid oh topic let's go here I'm hiding it but basically so in this case only two of my views are actually relevant so I can click here and say hide isolated views and now it hides them away and shows me that they're more views hidden um so simple UI the reason this guy this kind of grew in scope is that this is the beginning of building out fating properly so if I click over here I actually can see that there's other things I can do um so in the case of this one uh I can filter down by I can filter by field type um there's some future ones I didn't put I
put in show to or I can choose to just see a single schema so you'll notice the schema picker is gone here um because I can just go in here and say like I just want to see things in Bob which is really dumb because Bob's actually isolated is Bob is just a stupid view um so you can actually have your schema selection here or you can switch public and you can see I'm in public um you can direct manipulate these facets um and in the case of field types this actually isn't wired up quite yet but uh I can pick a few and I can add more as I go like I also want time stamp I don't want number and you'll see it
just works um and the other thing that this deals with is hold on actually so one thing that in talking with uh Stephen some about this we right now show that schema UI regardless of whether or not you need it so if you are for instance in work this one here there is only oh damn it somebody added a scheme jerks uh second let me find a better example uh maybe I'll get lucky okay wow this is going terribly but usually a lot of people have single schema databases um I apparently cannot find one on playground right now um say is life but um all of this UI is completely useless if you have a single scheme database it does there's nothing it doesn't do
anything for you so if you are in a single schema database like not that one uh this one um we we just go ahead and skip that UI entirely so this is a topic that's a little narrower but here this one you'll notice does not have a schema option and actually the search all schema should be disappearing it's not because it's being a jerk um but basically this feature you don't need in a multi in a single schema database it's useless um and then last but not least that feature is slightly changed and I have dreams of tearing it down more but basically if you're on a database where you've loaded all the schemas I will let stepen explain the Nuance there basically if you've
pulled all the schemas in this isn't needed because your search is going to just work as it should anyway um so this again will disappear in those scenarios um if we a database like Omni on omnis that has like 50 schemas we don't BL a lot of them in um when you click this you get the UI is a little clearer about what state you're in so you're in this all schemas and it's more limited you can hit exit here it drops you back out my dream for this is actually to have this open up a dialogue and pull the search totally out of the field list because it's really different um but that's I didn't get to that in this thing but yeah um
field types should ship with this as a really basic client side search um it's really easy to build um and then I just made up some other or I think Jared and I were chatting about what other things you might you would you maybe want to be able to filter facet on so like model layer would be really cool I have no idea how complicated that is to get the data um has label and has description would be a really easy topic is potentially interesting when you're in all fields to like just limit it down to a topic because you don't want to go on the topic for maybe you're doing topic development like that um and then's the other detail in here that I'm
forgetting to oh if you are in a topic um right now that's not topic a topic sorry too many things um you'll notice that I do not get the ability to like hide and show views because that's silly in topics we think um and you do get this field type filter I don't know if it's useful or not we'll have to decide if we think that's or just completely like shut this part down for topic I think it's cool to put out there we can just see yeah I was kind of like I don't know uh but yeah so that gives us the beginning of fting and I should be able to ship this like early next week how are we doing this the search
stuff too is is it client side or are we using the search operators and stuff too so right now this is pure client side I just literally like when I generate all those Fields I add a class name and then I literally I just trigger a special CSS selector to hide them oh so complete cheat um so yeah with the views we actually pick through the views and just hide them instead we don't render them instead of making them gray but for this part I'm just cheating um I think for the other ones we're going to need to get fancier um but turns out that's kind because we already shipped the whole model anyway it's kind of a shrug um might as well do on
the client so yeah TBD on like as we get fancier I think for something really elaborate like uh model layer I don't think that would be real smart to do on the client um I also don't know how that would work to be totally Frank um we have we have the metadata on all the fields um for the specific ID too and we could do a lookup so I don't I don't think that'll be that hard and and I I think it's a great idea too we should definitely make Make That explicit for folks yeah so yeah I I will hide all that stuff before we ship this but I kind of was like it should be the components should be very easy to wire
up if somebody feels like hacking more of these in I'm like yeah my hope is that this will be one of those things where customers will ask us for the things they want I just the few like field type was when I actually I constantly get annoyed because I'm like trying to test something and I need to go find a weird field type and I'm like God I was like can I just filter it by that so for me that's nice um I have no idea if it has value to actual customers but felt good to me yeah oh cool that's awesome that looks amazing