
Drafts in branches
The final step in our drafts work - some in progress work on lifting drafts into branches so several folks can iterate on dashboards together, including model or dbt changes.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I need to jump branches in the background more start that happening so I can do the other one just to Overlay some voice on this like yeah this is the goal of making workbooks do more stuff like you know backboards are a kind of thing you know uh query views spreadsheets you know like in the in the uh in the design mock we've got the little tray that comes out on the side we can actually start exploring all of these new Concepts that live inside the workbook which is going to be awesome because it just means that people are going to be able to do more stuff yeah cool okay uh so the other one is drafts and our branches love drafts I guess is
the the working title of the project um so um we are starting to ship it in a I have it off in a sandbox that I can let folks poke at if they feel like it which I will share later or you can reach out to me and I'll share it with you um but what we've been playing with is sort of the flow for entering Branch drafts so here I'm in a model I drop into a branch like feature to refactor Awful Branch name okay um over here oops wrong instance yeah too many machines um I'm going to open up that same I hope this is on the right model we'll find out nope that's local uh one oh this one's evil um so
you'll notice uh I clicked on that and it was I should have dropped me the publish because was a branch it automatically pulled me into a draft um on that Branch um and if I go over to the workbook and pull up this guy I can actually see this has a bunch of Branch attached drafts um and I can move through them so this one's actually not on a branch this one's on some crazy Jared chatting about branches Branch um so this sort of gives us the shuffling around and also sort of lets you navigate around the way you expect there are some interesting challenges um with our current world of how we think about branches in the IDE and how they kind of follow
you around and the idea that drafts are very strongly attached we need to kind of work on how that work feels um this is a first run it after C with Ariel yesterday making it fairly elegant um and what you'll notice is that you can't publish this a draft you need to like merge the draft and I have not yet exposed that or sorry merge the brand um you also up here don't get um leave draft you get exit branch and leave draft it's actually going to do both actions in one so if I click it I drop all the way out to here um Luke what what happens here if there are model changes in the branch they come you're on the branch so
if I click like this this this draft here mean in the merge does it merge into the workbook or does it merge into the shared model uh so there are the workbook has again has its own changes in it you can promote these into the branch if you want to okay and this solves the problem right now where like you'll be on a branch and you'll like promote some stuff up but then you'll get off the branch and now your draft is in a crazy State because they're strongly tied together even if you promote unless you go like really detach this draft from the branch which is a annoying gesture intentionally um you won't hurt yourself so yeah we have that that gesture feels a
lot better where you can just push stuff up on the branch um so yeah that's that's fundament what to do is you want to really tightly Bond those two um there is a chunk of work to make that feel um but uh yeah so that's kind of the where we're going um I think this is almost ready to like let people poke at it on a private instance and see how it feels um lots of stuff to go iterate on make it smooth things out but it does work and you can like actually archive a branch which is nice because before you actually couldn't um or Branch draft so I can archive this make away it just works things like that so yeah lots to
chase down um but uh hopefully going to start getting some feedback on it from people like Ariel and Colin and see what they think so yeah