
URL rebuild (don't move tiles on save)
Putting the finishing touches on a URL rebuild for workbooks to stamp out the issue of dashboard tiles rearranging after workbook edits. This was a bigger lift than we expected, but excited…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
all right Luke your hands up first so you can go next fine go in the order uh okay and unmute myself successfully I made two demos one oh hold um I guess two joint demos um so uh Eli and I have been working on uh this dashboard layout stability problem and which also unlocks a lot of future work um don't worry about this PR it's boring um the information there is boring um but basically we're finally at the place where we can actually show it working and it working is basically a no op so it's really boring demo but basically I can go on to this is all feature flag and not available yet because it does break horrible stuff um but if just to
verify usual looking menu here if I go ahead and go into a draft we only show it there there's this upgrade metadata button if you have future flag which nobody has yet um if I click this nothing happens which is exactly what we want so I'm now upgraded the context here you're already up to dat um under the hood we just mutated to the new metadata format um I can move stuff around it'll hold um I could publish this I don't want to break this document because it's my test document but it's now upgraded now to be clear there are edge cases all over the place in like how we render this stuff but it's working so um that's just a quick demo of like
we get getting close I think um early next week we should actually be able to put it on to um playground for limited testing basically have all the mean people break us and show us all the edge cases we didn't find yet um but yeah should go pretty fast from there and then to be clear users will never get this button um the goal is for internal Tes to do this we'll scale it up to all documents and then we'll just scale it out um in fast succession and Luke this is um this is some like how how you're planning to roll out because you guys have been working on the fix for uh that tile rearranging bug I think this is part of solving
that this will I mean fingers cross this will solve both the tile rearranging and the filters on on getting un un unassociated from things both of those so basically the we now are going to be we always designed the metadata which desin or the structure of our dashboard documents to be upgraded so there was in the very first time we put it together a version column it's always been zero this is V1 um and basically what it does is the identifier Keys move from being if I go into the workbook here right now we identify come on um right now we identify each tile by this string which changes every time you change the uh change anything about the query and now we're moving to
using this string this little one here which is I know probably hard to see um that is stable that that never changes unless you add a new tab so it makes the whole process much more stable much easier for us to rationalize change um so we also use that for the filter mapping um it's already used for X lookup and other things like that that are actually stable so like we've actually been doing this for a long time we just haven't been doing it um on sort of the bridge from dashboard to workbook um now we're getting dashboard to actually catch up um ironically this was blocked by finalizing tearing out the old URL support and also getting the dash uh getting the draft stuff
working because we have to have a slightly more rational workflow to make this all work but it's um yeah I think we're at the end of a very longtail project um to be super clear vast majority of the work here is Eli um I just get to show it because I'm the one making the front end piece work um but he's done a huge amount of code here um and a huge amount of like very careful work so huge props to Eli okay um I got to go switch branches which means nothing can go wrong of course because that's always a great idea in the middle of a demo uh