Sub-folders

Luke Bowerman · Friday Demos · January 10, 2025 · 6:48

An early look at nested folders. Coming soon!

Try it yourselfThe full week on docsadministrationcontentdashboardsworkbook

Transcript

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

  1. so the other thing that I worked on this week was U Meredith joined on and this might be the most popular customer issue right now or one of the highest which is uh when we originally built folders We I intentionally chose not to do nested because it added scope um and we were definitely going to go pick it right up and then we definitely did not pick it up quite right right away um and so this has been on the wish list uh I thought it'd be a great place for marus to get started and she has rocked it um so she and I have been pairing and splitting up the work here um so this we have a sort of early demo if we're

  2. booted yep okay so um good old my documents it's a mess I apologize um but look here I've got a folder called Muppets if I open up Muppets there are folders and folders so you can see I have Muppets I can go into crustation there's Pepe the prawn Pepe the prawn is labeled properly I can share Pepe the pron if we want to be in a good mood there's the sharing so all the things and you can see the URL is really easy to understand puppets G station pay well it took off the uh e with aost Fey which actually is a good demo like we won't support anything but Alpha numerics and numbers um but it works fine um so yeah there's a lot

  3. a long tale of stuff to do before this goes live but I think we'll probably have this on playground next week um and we'll probably have it uh available to customers within a few weeks I would guess before what is the uh what is the permission absorption model here between so um basically if you permiss if you give somebody access to Muppets they have access to everything within it um now but that means is like the example Meredith the reason I can answer this quickly is Meredith has asked really good questions around this as been kind of like ramping up so let's imagine we have a marketing folder I'm just using this by my brain I'm not not yelling at marketing folks but but uh

  4. you have a marketing folder and you want to have a folder in there that's available just to the marketing leadership and another one that's available to everybody then you do not give the Marketing Group access to the marketing folder you give them access to the everyone folder inside of it and you give leaders that um this is the same way Google Drive Works they don't they do have a a crazy option for exclusion they actually have a whole prompt system to explain why you should not do that because it will hurt your brain um it's really hard to understand so it's additive all the way down you can you can increase people's permissions you can get more permission in narrower stuff you just can't get

  5. less so if I put you on the if I give you if I share this parent Muppets with somebody um I can't then remove them from just the crustations however I could just give them the crustations and that would be fine so if you wanted to have like marketing as the base folder let's say that like uh like would the recommended pattern be set no access to marketing and then provision access to subfolders within it and will users see like will the users who have access to the subfolder like still see it's part of like they'll see marketing and go through they see this stack like if I had just Pepe the prawn I'll see the stack I might even be able to go into

  6. those but I won't see I'll basically see a warning saying that you don't have you won't be able you can see just the idea is just going to filter down to just the stuff you can see and I think we're going to do a little forance of if you don't have access to see everything that folder we're going to give you foring say there may be other things in this folder um we we're not going to we're not going to tell you there are things we're going to give you an illusion to there there may be things here very cool and um for folks who may be listening at home I'm going to make an I'm going to assume and Luke can correct me and

  7. Meredith can correct me this will all just flow and Ed too like Ed yep we have some work to do thinking about our how we store in bed folders today but we as it as built it should just quote just work um we're going to be chatting with Elliot next week about that to verify that but I think um it should for the most part just work um with the caveat I haven't actually tested any of that so no promises quite yet um so yeah um yeah if you're curious to follow along this issue has a whole pile of sub isues um so yeah it should get much more mature very quickly but yeah huge props to Meredith um I guess I didn't jump into

  8. props um Meredith is down a of the coding on this Marth also found a bug when on day one where you couldn't create a second model on a connection that already had a model because some a little little bit was inverted um it was a like three line fix but then she actually did a nice little refactor to lift the logic to a place where you could actually write tests and wrote a nice test to cover it um so it won't happen again and we'll actually have test coverage so huge props to Merith for very first bug found and fixed in all the right ways so yeah and props Luke for best onboarding weekend ever all right let me share my screen I can find

  9. it can I I'm gonna ask a quick question while you're getting ready Johnny um forgive me if it was already answered Luke is there a limit to folder nesting like dep or yes um there are many limits so um that we're going to we're actually going to encode and test for we're going to allow five levels of depth um I looked at our own Google Drive I looked at a couple cases it's not trivial to add more layers but we can um and it's not hard either let's be clear I think the real limitation we're going to run into um and if you want to go I I'll share in the chat on the top top of that ticket is sort of the limitations we're

  10. like roughly using right now as with all limitations we can expand them but the goal right now is keep them tight and grow um so five five layer five five layers of depth 48 character max length name on each path of a folder literally run into URL problems um one thing we probably need to do is just determine how many objects can be in a root folder um because if you reame a root folder we got to go touch all those subfolders um and if we say infinite times infinite it becomes like hard to guarantee performance I think we're going to do something like say you can have 100,000 folders in in a root folder and if you go beyond that we're going to block

  11. you and tell you to reach out to us and ask what the hell you're doing um and then we'll have a conversation about testing beyond that limit so I we want to test to a boundary and then we'll figure out but yeah that's the plan um I will share that issue in here in a second