Content validator smarter in branches

Mariel Freyre · Friday Demos · June 20, 2025 · 5:41

The content validator is getting smarter. Now we'll clearly differentiate branch-specific drafts for better triage of model impact.

Try it yourselfThe full week on docsadministrationdashboardsmodeling

Transcript

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

  1. All right, cool. I'm gonna show a demo about the content validator. Let me just share my screen. Share the entire screen. Great. Let me know how this is working with our thing. Okay. But basically, I don't know if folks are that familiar with the content validator or how often y'all are using it, but it's a good place to see how your model is interacting with your workbooks.

  2. Um, right now, this content validator will run and it checks, does your workbook have any queries that might be invalidated by your model, in which case we might get a nice error. Right now, I just have these three beautiful like not broken queries, but I'm going to show you a new feature that we're working on that has to do with branch attached drafts.

  3. And the idea is that I'm going to create a new branch um and I'm going to make changes to my events view that I know will cause problems for my um my queries. So I'm going to add accounts going to change that save to the branch. Then I'm going to go to the content validator and I'll see here this event has an issue.

  4. No such field events count. Um also you can see the other queries I've not have not broken. And the nice thing about this that's like slightly you know a new feature from before is that if I go back to the existing content validator I'm not going to see that problem like the branch draft the content validator is working only on the branch.

  5. And the other thing that's important about this change is we want to make this actually I already these are some demo these are practice demos that I made. Exit this branch. Go back to the one I made for this demo event updates too. If I wanted to make a change to this to fix this on my branch.

  6. Let me see. I'm just going to remove this field from the query. Go back to my content. I already shared content validator. So now my issue is fixed, but I've created a draft. Instead of using a publish, instead of updating the publish document, I'm creating a draft on the branch. And again, if we go back to this content validator on the main branch without a branch, like without using a branch here, you should see that we haven't actually updated the existing content validator.

  7. And that's important because now we're going to start thinking of the content validator as a way to just compare like you know if you have a different model on your branch and that shows you what's wrong on in your workbooks. You want to be able to update these workbooks without changing other people's branches or without interacting with other branches.

  8. Also, we want to be able to see the other thing that was kind of useful about this is that this draft um in my new branch, where's branch? This is a draft, but this is the draft on my branch and my main branch doesn't know about that draft. So, we're not going to show that here anymore. We're just going to show you the branches or the workbooks that are really relevant to the branch you're working on.

  9. And what that means for us is that we're going to show you all of the published documents that don't have a draft on your branch. And that's because you want to say like, oh, did my model affect any of the published documents. But if you have a draft on your branch, um, that kind of overrides the publish document.

  10. And we're going to show you that draft on the branch rather than the publish document. And that way, what you're seeing on the branch page on the content validator is just everything that you need to know about the branch, nothing else. And it's useful. Hopefully, we'll keep iterating on this to make it a pretty powerful workbook manager tool.

  11. This This is so great and much needed. I'm curious. I saw you changed you, you know, fixed the broken content via the workbook and I'm guessing that's because right now if you run the like currently the content validator find replace stuff doesn't doesn't actually do stuff in branch. So that's the next I would imagine the next phase of this work.

  12. Yeah. So I do have some work in progress that I was I was hoping to demo today about creating a draft when you use the replace operator on any of these pages in the document or in the content validator. Let me see if this is easy enough to share my screen again. Yes. Um but the idea is for these replace and find buttons we don't want find already on this branch will work so that it just returns to you the documents that are relevant on the branch.

  13. It won't just show you if you do find run a find request. It won't show you like every document regardless of what the branch is on, but the replace has been a lot trickier. The goal with that is when you're making a replacement on a branch to fix your documents because of like a branch like model change.

  14. We want to create a draft of the publish document rather than updating the published document for everyone. So that way your changes are really localized to that branch and when you decide to merge, you can merge everything in and that will make sure that you're not like surprised breaking a bunch of published docs when you make a change to your branch model.

  15. I can show you I will definitely assign you as a reviewer to that code though because I found it to be quite complex to create a draft of like to know which documents need drafts. Great. And yeah, we can talk let's talk more offline too. But yeah, also there will be more more updates coming to the content validator.

  16. Um, keep your eyes on that space. That was awesome.