UX odds & ends

Luke Bowerman · Friday Demos · November 17, 2023 · 6:33

Lots of UX clean-up throughout the app - cleaner SQL workflows; improved color picker for charts; and aligned shortcuts across the workbook and dashboard, including cache clearing

Try it yourselfThe full week on docsdashboardsdesignworkbook

Transcript

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

  1. I have a small collection of random fixes or I don't know improvements fixes uh I guess I can start that one um had some customers ask about the consistency or lack thereof of refresh and refresh without cash so now the dashboard and the workbook both offer both of these and they have the consistent shortcut so command enter just gets you refresh Command Web without shift command enter gets you without cash so that's just the fast refresh which is the slow one and basically you just see it takes a little longer and on the workbook exact same they here it's called run over here and refresh over there we could have that debate later but yeah um so it's now consistent on both of them um

  2. and actually ironically we were lying on one of them so now they actually are true um uh fix a couple issues around the Color Picker and nested um nested popovers which we don't love but we're getting better about so uh in this viz thanks to s for complaining SL helping me understand what's going on um before whenever you click one of these colors if you clicked one it would like collapse the whole sit situation when you tried to get out of here now you can just go ahead and pick the next one and the next one the next one um and you can get these drop one at a time one change that is intentional we'll see if people us for it or not is

  3. that now if you have three layers of popovers to open you need to click three times to close them um each one takes a click to collapse I think in general it's kind of what you expect to happen it feels better when you use it in context but holler if you're like oh God why um or like if you're using it and you notice that you hate it uh and then SQL changes because it's the gift that keeps giving um uh Colin asked for us to make it so that SQL was SQL superpowers are off by default uh we ended up with a slightly more nuanced version of that which is that if you enter a tab with no existing fields or filters on it

  4. built be the UI you will come in with superpowers off you can see I got this big superpowers off up here um if however I make a tab sure uh that's awful thing um here and I hit edit SQL you notice it's on so go up here okay I was I was actually going to suggest this so I love that you just this is what yeah that's what your ticket like that Nu because your mind just breaks if you try to like understand it there is a caveat in here so if I this an awful query I apologize uh go in here and pivot on this guy I actually am not allowed now to drop into SQL super or drop out of SQL superpowers because

  5. I have pivots and totals or in this case pivots um I can click this button to remove it eventually what want I make it is like that we don't bother showing this till you try to get out um but this was cheap and easy um basically this lets you get out when or lets you know why it's terrible to drop out of here um if I do this now I can go ahead and turn off SQL superpowers and things are much more samee so um yeah that's sort of her vision to keep people from getting the experience of uh I don't know what you call it like un UNP part SQL with pivots and totals is pretty awful today so that just prevents it maybe

  6. someday we want to fix those and then we can bring it back but that's just the gate we're doing uh finally if I right now I can use this to drop out a SQL mode unless I get myself into an unpar State like this now actually uh if I click this it will actually pop up and say I'm just your query discard SQL and offer you to let you discard SQL here um just a way to like basically before I gave you a hint to go look over here but it was sort of awful this just gives you a button to you can hammer and get out on um yeah so we really Jared and I were very leery of tossing your SQL without making

  7. you click a button that said discard my sequel so you want to do that but do that and get out so hopefully gets um some positive feedback on that and keep going super clean yeah why do why we have to drop pivots it's not clear at all uh somebody smarter than me can explain that I I don't like Colin can you say it again I missed the question because I why do they have to drop pivots if they want to go into unpar sequel oh uh like uh effectively they're not really very usable anyway there um like we we attach a lot of metadata to them and they're really hard to actually work with or see um and we essentially unpivot them anyway so it

  8. it just I think gives the user a simpler thing to work with in a context where they don't get all the magical stuff that we have so it it just makes sense to denormalize it is sort of the short answer this the the data table also falls apart in really epic ways when you try to like it's just that like there's magic in the in the way that we're handling pivots that uh we don't handle when it's in raw SQL mode and so like it they just essentially don't work it's the same with totals like they just kind of don't work properly unless you're using the actual application like intelligence and so there's just no reason to keep them around because you can't do anything

  9. with them anyway and I think the the good thing is like we've made that visible now so if people really hate that we can always go invest and making it actually work right but I think it's better to just not do it wrong than to do it sort of 50 okay I'll follow outside of the recorded session yeah it's definitely something we could like refine further I think it was B just a mitigation for a lot of complaints from customers yep yeah I I think um maybe the subtle thing that you're getting out we do want people to be able to work with the result of a SQL query and do stuff with it so Resort it add calcs to it potentially pivot it and

  10. we probably want to lift those things into the UI but they're not going to work the same way as they would in the database they're essentially going to work on top of that data table and so we need to figure out how to communicate that and make it work