Replies: 5 comments 9 replies
-
This is well thought out and well presented. Will be following and hopefully have time to help once focus on this project at the new job ramps down. |
Beta Was this translation helpful? Give feedback.
-
Hi @pmario
If we start with a new root template and apply your principles then we will be potentially replacing/changing every core template; given that every one of them is reachable from the root template. I don't think that's a bad aim to have for the right point in the future, but we have to get there carefully. In particular, at this point, prototyping more idiomatic and correct HTML is only one of a number of questions we need to consider:
In the area of HTML usage, I think what would be most valuable at this point might be to put together a list of the specific problems that we want to fix. If we are going to break backwards compatibility then there has to be a very profound benefit. In terms of layouts, I think the goal should be to improve the modularity and componentisation so that it is much easier to make custom layouts. #6666 will certainly help in that regard. |
Beta Was this translation helpful? Give feedback.
-
That's interesting. For some time I was thinking about a possibility to get rid of the system-tiddlers from users view completely. TW internally supports several wiki-stores. .. We already have "Shadow" tiddlers, which use a "protected" store area. We may be able to move all the system tiddlers into a "System" store, which is separated from the user store. The main thinking is
For tiddlers with a lot of content the relation is in reverse eg: 40000 to 2260 ... Where every filter that is responsible to render the UI is influenced by the large number of content tiddlers. IMO that wouldn't be the case, if the UI has it's own store. The time for rendering would be constant. Especially the caches for the UI could be kept alive much longer. And since the UI system tiddlers would be out of view we wouldn't need to show them for default users at all. So we could still use From my point of view the only change needed would be to evaluate the
So the main rule for system-bag tiddlers is: They are prefixed with a
just some thoughts |
Beta Was this translation helpful? Give feedback.
-
IMHO, this point should be the first to think, before start working on it, the template. We need to define the basic structure and its parts, the content for each part, how customizable is each part. I know it because I have started a configurable template that has been continuously interrupted by doubts and problems of unnecesary complexity. Fortunely, I find hints and ideas, in the community, that I have can use them move forward*. For example, we have to define where we can use "multicolumn":
Both could be solved with a (extra?) contariner, but... Do we want a "multicolumn" in sidebar part? |
Beta Was this translation helpful? Give feedback.
-
[Idea]
That's a good idea. I'll give it its own post ;) |
Beta Was this translation helpful? Give feedback.
-
TLDR -- Executive Summary
If the PageTemplate designed for 1->4 doesn't work out for 5, there is still the possibility to switch the layout and have a desktop optimized template. ...
Nobody prevents us from using the existing one. But that's NOT what I want to talk about here. I want to talk about a completely new approach, that will use "the lessons learned" from the existing UI, but that's about it.
A Proposal for an Experiment
Since the Layout-Switcher exists, it's possible to change the PageTemplate on the "root level".
https://github.com/Jermolene/TiddlyWiki5/blob/856aca2f929ecef60ae8b8ab8c258b2a54702cb6/core/modules/startup/render.js#L24
The idea now is to create a "PageTemplate from Scratch", which should be Accessibiltiy-First, which will not be backwards compatible in any way. I want to get rid of all the bloat.
The guidelines should be
add 1) Accessibility First
I am thinking about the idea presented at: https://heypresents.com/talks/be-the-browser-s-mentor-not-its-micromanager where the main credo is:
and
So the "readers experience" should be good. There should be "just enough" content on the main page, that the user gets started.
2. Mobile First
I think if the initial content shown is minimal but "just right" it will not only help accessibility, it will also help mobile design. Most of the internet content is consumed by phones now. .. We shouldn't ignore this fact.
3. Modern and Semantic HTML Structure
There are a lot of HTML tags, that where designed to improve accessibility, but they are rarely used. They are well supported by modern browsers and accessibility tools. Some of them are used by TW already, but DIV is still the dominant HTML element on a TW page.
I'm talking about: NAV, ARTICLE, HEADER, FOOTER, ASIDE, SECTION and especially HEADING used in the right way.
An example for a site that has the "reader" in mind can look like https://buildexcellentwebsit.es/, which is described at: https://heypresents.com/downloads/conference/2022/andy-bell.pdf at page 7
I think a good example for an app-like HTML structue is the new MDN page . It contains
4. Modern CSS
I think its necessary to re-think CSS and media-queries. IMO they are useless.
The reason is described at the youtube video: Andy Bell – Be the browser’s mentor, not its micromanager about different screen sizes available at 2015
IMO its simply impossible to get it right with media-queries. The approach in the video "may be" a possibility to solve "most" problems.
5. A Powerful Desktop App
While the Accessibility-First approach can lead to a good mobile experience and good accessibility, we still need an option for a "multi column, flexible, user-configurable" UI.
Conclusion
If the PageTemplate designed for 1->4 doesn't work out for 5, there is still the possibility to switch the layout and have a desktop optimized template. ...
Nobody prevents us from using the existing one. But that's NOT what I want to talk about here. I want to talk about a completely new approach, that will use "the lessons learned" from the existing UI, but that's about it.
Just some thoughts.
Beta Was this translation helpful? Give feedback.
All reactions