Skip to content

The Recipe/Bag UI needs to be redesigned #114

@Arlen22

Description

@Arlen22

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions