This week's side project might be useful for Solid developers. It's called Penny, and it allows you to inspect and manipulate data in your Pod.

Give it a try here, and let me know what you think: Penny.VincentTunru.com #Solid #SolidProject

Follow

@vinnl This is awesome :D I feel like I'll use from now on to interact with my POD :) thanks!

Some improvements I can see:
- It'd be nice to have a button to collapse the blocks under "Things" (maybe even appear collapsed by default).
- I'm missing a button to delete a container with all their contents. I know that's a dangerous operation, but I think having the confirmation you already have for deleting resources is enough.

@vinnl Also, It allows you to delete auto-generated things like `ldp:contains` triples from containers, but of course nothing happens. The network request for this returns 500 but I don't see an error in the UI.

@noeldemartin Thanks for the suggestions! Collapsing and better handling of unhappy paths are on my informal TODO.txt, but I'm not sure I'm going to do the non-empty container deletion, as I don't know yet how to deal with the situation in which some files were deleted, but other files weren't. But who knows :)

@vinnl I guess you could just stop the deletion process whenever something goes wrong. And if some resources have been lost it should be fine, given that the user was trying to delete everything.

But yeah, I don't think it's such a common use-case, I just need to do it because I often test the golden path with Media Kraken and I have many useless containers with movies that I'd like to clean up xD. But I have seen that I can remove their reference in the type index and that's already useful :).

@noeldemartin Hey Noel, just a heads-up: deleting entire Containers is now supported in Penny. And I added collapsing a while ago :)

@vinnl Nice! it works great, thank you :D

Some small improvements: for large containers, the operation doesn't complete instantly so a loader would be appreciated to see that it's doing something. Also, after the resource has been deleted, there's not need to stay on the same page saying "This Resource does not exist.", going back and showing a toast or something would be fine.

I'm just nitpicking though, it gets the job done :).

@vinnl And to get really crazy on the UX, it's cumbersome to collapse resources one by one. A "collapse all" button would be great, but I understand it pollutes the UI. Something else you could do is collapsing everything if I collapse an item while pressing the ALT key. That's how you can collapse all files looking at a commit in github :).

@noeldemartin Ah cool, didn't know that, but that's useful! Alt+click now works in Penny too.

And yeah, the UX isn't super polished, but I wanted to get the functionality out the door since multiple people had requested it so far. It now shows which resources it's currently deleting; it's still a lot of jumping around and quick flashing of messages, but at least you have some idea of what's going on during longer operations.

@vinnl I wouldn't say that, I think the UX is quite good :). Of course it can be improved, like everything, but the way it is right now I think it's very nice! Thanks for the latest additions :D.

Sign in to participate in the conversation
Noel's Mastodon

This is an instance-of-one managed by Noel De Martin.