
Content editing branches
Lots of work bringing the full content editing experience to branches - now content edits can be synced end to end with dbt changes and the data model for fully robust edits to your most…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Sure. Um, I'm going to be demoing some of the work that Meredith and I have been doing over the past uh week or two or three. Um, I guess it's also built on some stuff Luca already built, so shout out there. But, uh, we're going to showcase kind of an end toend workflow for the branch attached drafts project.
Um, so yeah, can everybody see my screen? Yep. Yep. Cool. All right. So, set up right now in my local environment is I just have two published pieces of content. Um, and one of the pieces of content has where's deliveries has some schedules attached to it. Um, so we're going to go to the IDE and we're going to make a couple of branches.
Um, sure. This is branch B. I think it's I guess we'll we'll pause here. Uh Meredith, I don't know if you wanted to talk about some of the work that you've done here. And I can also pull off the playground environment because it has some more stuff. So, um in a in a minute or two, you'll see uh something referred to as the branch draft combo bar.
And in order to get that off the ground, we needed to first do a redesign on the branch bar itself. Um, so it's basic I mean this has been out for over a week, so most of you have probably seen it already, but um it's basically all the same functionality as before. Uh shorter, so it'll match up with the branch bar and then um the men Yeah.
So the two menus that Eli was just clicking on um the uh connection environments and the DBT, those have been shrunk down to give us more horizontal room. So if you are on the default or production of those uh you'll just see the logo um or the icon and then if you're on a sort of a alternate version then you will see the full name.
Um and that's to kind of give us as much room as possible because this left section will be as you'll see in a minute um combined with the draft header. And another thing we did, if you go to the um the branch options menu, is that this used to just be your switch branch um menu, but now the switch branch is a nested menu, and you've got all your like sort of branch related actions over here instead of on the right side where they used to be.
And that's pretty much the gist of that redesign. Cool. Thank you. Um sweet. So, I'm also going to make I'm going to make a second branch, too, just to showcase that you're able to switch between branch attached drafts that are built off different branches. So, we'll say branch A. Cool. So, now we're going to go back to our documents.
Um, I'm going to open the digital dash and you'll see we automatically get thrust into a branch attached draft for the digital dash. Um, you're on branch A. You can switch branches between branch A and branch B. They're all the same content right now. Um, and I guess we'll pause here for a second, too. We have some work coming up that's going to make it clearer about this navigation from the homepage into a piece of content into into a branch.
Um, there's some work that Meredith is going to pick up soon that we're calling pinned branches, but it's just offering like better better UI UX around knowing like the branch that's in your app state and how that dictates some of the navigational flows around the app. Um, and I guess note that that isn't necessarily going to be the branch that you are viewing in a branch attached draft.
There is often they will be the same, but there's nothing saying that they will always be the same. Um, so yeah, so we have the draft attached branch header bar. I guess I'll go to the workbook. Um, we're going to make some changes in this branch attached draft. Um, you'll just trust me, this query here triggers schedules.
So if I remove it, those schedules would get paused as a result of this draft being published. Um, if I go to branch B, you'll see still has that tab there. the change we just made was was isolated to branch A. Uh and then so you'll see here we have an option to merge changes here from the branch the combo bar.
Uh wanted to shout out to like if you're paying attention we didn't make any branch model changes here. This is purely a branch attached content change that allows you to merge the branch here. And similarly like if we went to the IDE and we're in the branch mode you'd see that we have this merge button. Um so there are some changes here.
We tell you what drafts are going to be published as a part of merging this branch. And then we also tell you any deliveries that would be paused. Um let's go here. We can make a change in a branch dash draft for this other document as well just to prove it. Uh and also actually while we're here, why don't we change a why don't we change a uh something about the branch model and show that that is isolated to the branch attached draft.
So, what if I edit this? Make it H+ one. Also, sorry, this is taking pretty long. Um, cool. It's H+ one. Just to prove it to you. Boom. We've edited it. If I go and I exit the branch, you'll see that that age thing is it it's not on the publish document. It's branch limited. But you'll see when we go and publish that branch and publish the associated content that the field definition will change with it.
So we could have done this from the combo bar, but we'll do it from here as well. Um we'll merge. Oh, also shout out to some work here. Similarly, if you delete a branch, we let you know some active branch attached drafts that you're going to be archiving as a part of that. You can go and view it in a new tab.
Not sure why it changed to dark mode there. Um, but since we're going to merge it, we'll do that instead. Um, Eli, quick question. Yeah. Is there any thought either way about whether this means that effectively all drafts should be in branches? Um, I'm sort of like idly wondering whether because we have branches now and it's likely that users do want to diverge at times and things like that whether we should try to drive people always into branches and they just become drafts or not because the sort of single draft on a document feels kind of arbitrary and strange and this sort of seems like a better overall system.
I think it's too heavy to do it every single time like every time you're editing your doc. Uh, I I could give it a little bit more thought, Colin, but I I like I don't think I think that's a UX problem for us to be clear. Like I agree that this workflow might be too heavy, but I think that this essentially probably should be the draft's workflow and there almost shouldn't be multiple ways of doing this, but that could be confusing.
If I um like I get to if I distill it Colin at least like the point that sticks with me of I think what you're saying is that this basically enables you to have multiple drafts on a single document so every user can effectively have their own and not overwrite each other and I think that is the pain point this solves outside of like general branch stuff is that and like you've got the model attached and like so if you're ever editing both they're synced up together.
Like it just it it feels like it's at the right layer. There's a lot of UX here, but um like that aside, this feels like the right editing mode versus two kinds. There's a big caveat, which is that two drafts on two different branches will overwrite each other. Like whoever merges last wins. So it's not like you should not parallel these.
It's not a great idea. Oh, interesting. They're not there's no merging in the document models. Yeah. Okay. Can you explain that again? I'm not totally sure I followed the two two drafts. So, let's just say I have draft A and draft B I had there. I published draft branch. Sorry. If I publish A and B exists pre-dated or was created while A was out in the wild and not merged, B is going to go in and obliterate any changes that were in A for that.
Oh, yeah. Yeah. It's not like it's not like a composition. They're not working. They're they're overrides. So yeah, at the doc the model, but the model Yeah. Yeah, we should give that a little bit of thought. I will say like anecdotally trying to roll back a change on one tab is pretty hard now. And I to do with like the document as a whole moves together.
No, exact. That's exactly it. Yeah. Um this doesn't solve those problems. There is a world of like if we could serialize eventually maybe rolling back is better but honestly your inter relationships are going to get it's code like it's going to get awful to to pull back very far always um and merging has all the complexities there but we could get smarter over time about that but I think that's sort of so to your question I think that there's a world in the not too distant future where you could mark certain documents as protected or require you know branch for modification you don't care.
Like if it's my personal dashboard, I don't want to have to like make a branch, but there's kind of cases where you don't. And I think yeah, I'm just wondering out loud whether trying to even understand two things is worth it. And that's closer to like a fast branch than it is a draft. I just my overall worry is just like too many things for users to understand and like when to use which one and whether we can simplify those sorts of things.
I don't think it I'm not necessarily sure if this is a win, but I'm just going to communicate that I think it would be pretty easy to allow like the non-branch attached draft capability to be like a toggle or something like uh we don't have to offer that and I feel like it would be pretty easy now that we have branches to stop offering it if people don't want it.
Um, so I guess it's just like a lever to pull there. I don't know what the answer is though. I have a feeling it's going to be depend on the user's maturity, let's say. So I think I think for plenty of folks, they don't need branches. They don't care. And if you don't, you shouldn't have to deal with it and understand the concept.
And then as you get more mature, either organizationally or as an individual user, you'll care. I'm hoping it's spectrum, but who knows? we can give it a little bit of thought. I think the other thing is getting some uh using of it ourselves and with customers which so then I'm going to ask the question which is uh when will this be available for us to test internally and then we can back into when customers can try it.
Um we're going to turn the flag on playground again today. Um I don't really think there's anything stopping us from doing that and getting some internal usage there. I think the main like general GA gotcha right now is we we're going to try to meet with relevant people next week like first thing but we need to figure out uh all the edges of this in terms of interacting with the gate integration specifically when pull requests are required um and then yeah I don't know if you have anything else to add there Meredith also note uh I promise you that age plus one would have gotten promoted to the shared model if I had actually pushed it from the workbook to the branch, but I forgot
that step. Lots of steps in the demo runbook was moving fast. You got distracted by Good questions. Um yeah, I don't have anything to add. I think um we're super close, but uh the get stuff is super important because we don't um you know, you merge via pull requests and we need to make sure that that goes just as smoothly as merging via a button in the in the branch bar.
We we've kind of been attacking like some smaller feature flow wins this week and I think we're just going to be pretty heads down on the get side next week. So yeah, I guess that's just the gotcha when the flag is on in playground. Uh try not to use it with poll requests. Tire up.