Proposal: Evolution of standard layout options

I’m enjoying following what @BurningTreeC is doing with the new TiddlyFlex - very impressive! That said, it has gone far past what I’m looking for personally, and thus I’m left with trying to figure out how to disable / remove the parts I don’t need. This has happened many times throughout the years, and it makes me think of the new user experience.

One of the neat things about the default empty.html is that it gives you some easy ways to tweak the layout without need for CSS knowledge. The core has the Theme Tweaks area (by the way, I thought I remembered that the default switched from fixed-fluid to fluid-fixed a while ago? Doesn’t seem so):

As I think about how this could evolve, I started thinking about some of the more common requests and tutorials I’ve seen:

  1. Move the sidebar to the left
  2. Add a sidebar on the other side
  3. Add a top bar (and occasionally a bottom bar).

So, could the standard layout options be improved to:

  1. Allow the above options out of the box but maybe disabled?
  2. Implement them in a way that by default empty.html doesn’t look different (use current settings as defaults - I think a visually simple starting point helps)
  3. Allow for these adjustments without CSS knowledge?

Unfortunately, I don’t have the CSS knowledge to do this - especially not in a robust method. I’ve tried many times over the years but always get stuck by things like sticky titles, overlaps, etc.

Here’s what I have in mind to include in the Control Panel - both a visual guide, and areas for new users to key in values. I went one step further and put boxes for padding in as well, as it is a key part of layout.

Layout Settings.json (6.0 KB)

For me, I’m focused on adding the absolute minimal amount of: core overrides, animations, extra features, formatting. The less that’s changed from vanilla/core, the better the compatibility with other stuff.

While the plugin community here is great and I’m very grateful for that, I’m also interested in knowing from the core developers what the vision is in this area, as I’d be much more interested in a small core evolution than a larger 3rd party add-on.

11 Likes

Layout can be any full-screen app, see my posts What mobile launcher are you using, how will you design the TW layout launcher? and Do you want your wiki to have 3-10 different layouts?.

So it maybe even doesn’t have the story, the sidebar, and the tiddler view template! But only use tiddler object as the data source.

1 Like

@stobot I support your desired approach here, and I like the idea that the gap between a standard tiddlywiki and any common website layout be but a tweak away.

  • For example a “page header and/or footer” that goes beyond the simple menu bar.

@BurningTreeC’s TiddlyFlex approaches this, but seems to have a slightly different philosophy. I wonder if they can be merged, otherwise once the flex is embedded reverse engineer a little to meet @stobot’s philosophy.

1 Like

I like this! And totally agree in regards to evolving the tweaks options, but keeping the empty.html simple etc. I think epanding the things that can be tweaked, and how - in the default TW file would be cool.

  • This is both relatively conservative in undertaking, and maximally more broadly accommodating.
  • You can omit any of the bars from the start, or later on.
  • It doesn’t have to disrupt the appearance or content of the original TiddlyWiki.
  • It will allow for many users to springboard past essential UI, into a further realm of plugins and customization, sooner rather than after getting burned out.