Better binning

Sarah Waterson · Friday Demos · December 1, 2023 · 4:46

Some touch up to the binning and grouping UI in Omni after some customer feedback on 1. how bins can be easier to set-up and 2. more clear bin boundaries

Transcript

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

  1. actually I have a couple demos maybe I'll go um one is kind of related uh see first uh a couple weeks ago are you guys see my users count hopefully yep um I think before Thanksgiving Stephen pushed a branch up that had uh updated different ways to make bins so you can do bins by like the number of bins or the bin size and I just did some tweaks in the UI so bin so if you have age here working on the bins youi here to just give you different ways to define the bins so you can divide boundaries number of bins or the bin size um and then when you say enter in a value here uh we can give you a preview of

  2. what the bins will be so you make it so if you want to change that and you're like oh maybe not that maybe I need it smaller there's still some interaction I think between the two like how you get it to preview and stuff like that that would be nice um or you can go in here you know and you can change this and you're like no no no I need this to start at like 10: you can go in and update those things um so that's one and then I have to change my Branch here to show the other one oops okay let's see if this works okay so one thing uh kind of talking about the dashboard and the like seeing the things

  3. in the way that you want to do oh come on you can do it maybe maybe not hold on okay um when switching into edit mode inste uh and we need a sidebar doing something where we scale down the dashboard I don't know if you guys saw that but these tiles are all the same like aspect ratio size but they just sort of like scal down so they're slightly smaller um that way like we can start using like more space possibly on the uh dashboard for things like what if we wanted to put that like click on this tile and then put like viz config options over here and you see them at the tile that it's like as things are laid out a little

  4. bit more um does that does that change the render load I don't think so it's all doing it with the CSS transform and I think there's some properties with like react grid that we've been playing with that might make this like totally possible that it doesn't seem to be um it doesn't seem to be the Vega stuff that's making that slow um it's just scaling it there there are some there's some math magic to make sure it like scales it so it's not the squished version scaling so you have to adjust the width which might cause it to render but like playing around with it performance- wise it doesn't seem to be like yeah I think I think the part that the render part on

  5. dashboards that's particularly painful is when we rerun all the queries uh yeah which we do entirely still still a little oh is that the issue yeah so the r the rendering itself should feel pretty good uh even even if we do reender like because it's a a resize or something like that um and you can do you could do it if you want to if you like resize the the image or the um window in the browser too you'll see sort of the rendering of um of of like you tweak the filters or like sometimes in the edits we actually still rerun all the queries for for some of the contexts yeah so like here is a bigger dashboard and they just adjust here but

  6. the nice thing is that like you know this is like it it scaled them all pretty fast and there's you know not 50 but maybe 20 here um and there's some issues that like maybe when you get like super small but we still should like like we can adjust there but these should then be the size if I switch back here to viewing it's like how they look at that size it's just another tool that maybe we can use eventually to add like um a zoom so like this is a really long dashboard we can add a zoom control so you could like scale this all the way down to see the full dashboard for like moving things so like if I want to move

  7. something from the bottom to the top I could pull a small one up and I don't have to like pull and watch it scroll right some like zooming options so just more of an experiment to see and then once we have somebody on the more engineering side I think help figure out how to really optimize it nice