-
Notifications
You must be signed in to change notification settings - Fork 11
Description
We need to redesign the UI for bags and recipes. All suggestions are welcome, no matter how bold. We really need to rethink how we present the bag/recipe UI. I'm really not happy with where it's at right now, and all of the issues listed below highlight different parts of that frustration.
I'd even be completely happy to go with a different UI library if we need to, although that's not the root of the problem. So really, no suggestion is too bold here.
I'm not very good at designing user interfaces. I'm good at the code, but deciding how it should look is where I struggle. So since this is an open-source, volunteer project, rather than sweating it, I might as well just open it up to you all to come up with a good UI.
This is in relation to the following issues:
- Who created the Bag?? #112
- Question: How do I set up the server so that it is readable for anonymous users? #111
- Admin and User UI Should Have Different Header Colours #107
- Recipe ACL seems to inherit bag ACL setting. IMO that's wrong #106
- MWS Management UI Body Needs Colouring and Icons #105
- Why are plugins configured with recipes? #103
- New Recipe PopUp Shows a lot of Confusing Text #99
- New User - New Recipe - Has no bag to add #98
- Logged in as User. Click Recipes. URL Shows /admin/recipes #97
- http://localhost:8080/wiki/mws-docs timed out -> no redirect #96
- MWS /wiki/docs seems to be outdated #101
- This problem is easy to fix behind the scenes, we just need to figure out the best way to add it to the UI.
Proper error pages
One of the changes we're already making is that the UI will be shown if there is a 404 or 403 error when accessing a wiki. If the response was going to be an html page, the admin UI will be shown with error information instead. This is accomplished by inserting the error response into the HTML page, not by a redirect, so the page can be reloaded to try again (if the user fixed the problem in a different tab).
Docs
Both TiddlyWiki and MWS are distributed with their docs. These docs should be easily available to the user, but not as a recipe. They should probably just be moved to their own endpoint. This is easy on the backend because the docs can be packaged as a plugin, and then we can just use the existing code to serve it. This solves the problem of keeping the docs updated.
Bag Plugins vs Recipe Templates
Remember that a bag always reads the recipes in a stack, but writing is where we have some flexibility.
Setting TW plugins on bags seems like a reasonable idea, considering that all custom plugins will also go in bags. The other option is recipe templates. We could create a recipe template feature which allows the user to insert the recipe bags at a specific spot in the stack, so the recipe would have both overlay bags, and underlay bags. Overlay tiddlers could not be edited, obviously, and underlay tiddlers still act as the default value when you delete a tiddler.
Editing tiddlers in multiple bags
I think this could be accomplished as long as we have a definite way to assign the tiddler to a specific bag. The recipe settings would need to mark the bag as writable, so you could have more than one writable bag in the recipe. The client could choose which bag to write to in that case.