Better dashboard filter URLs with dates

Nate Agrin · Friday Demos · December 6, 2024 · 3:56

Finishing off the work on better dashboard URLs to include dates.

Transcript

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

  1. from my hack we demo so you may have noticed that I conveniently did not demo date filters or any complex filters um and that was intentional because they didn't work so in the last couple days I've been able to get them to work so get that similar relatively nice syntax the date filters in particular are pretty complicated that's why there's a bit of extra stuff in here um but in theory kind of works with all the forms this one's actually not too bad and then demo of a more complex filter like if you have multiple conditions uh so now it respects that as well and updates the filters correctly um Nate just so to understand is this essentially replacing the way that we do filters

  2. or is it complimenting or like what is this just the only way that we're going to show filters from now on or is it like just an alternative way to show filters um I don't think that there's uh and there are some edge cases that I haven't fully investigated yet like the custom filter syntax um but with those like excluding those exceptions I this is like one to one like it just basically completely covers the exact same functionality so I would probably advocate for this replacing what we currently have and the one missing piece of the puzzle which is why this isn't ready to go yet is um we obviously need an upgrade path so what we' want is accept any one who still has

  3. Json URLs for the foreseeable future and then just redirect them like to a URL with these nicer yeah looking URLs I know one concern that we had with looker was putting like uh filter values can have data in them and we put them in the URL so I don't know if there's any concern about stuff like that but that would be the only reason I could think of to not make that to the default Behavior because it's just it's so much more readable yeah I mean well we already have that problem um we've talked in the past about having a secure filter mode which it would be basically be similar to what we did at looker where yep we ingest the filter values behind an

  4. opaque identifier and redirect you to that opaque identifier and I uh what I would love to do is make that like an admin level toggle yep um yeah so like we get a little bit of security by obscurity with our current URL syntax but truly the data is there like it's not it's not encrypted or anything like yeah yeah that's that's a good point this does make it quite a bit more obvious which is also the point of this so yeah yeah um I mean I think making the URLs opaque I think is a it's a good call out and it's it's like a separate track of work I think yeah and right like you said just to be clear like we want both because

  5. it's a feature that they are very not opaque and usable in this case it's just in the very secure case you don't want that so it's it's not as though we're we need both basically y