TiddlyWiki / TiddlyWikiClassic

TiddlyWiki Classic (not to be confused with TiddlyWiki5: https://github.com/Jermolene/TiddlyWiki5)
https://classic.tiddlywiki.com/
492 stars 114 forks source link

MessageArea #311

Closed Skye-TiddlyWiki closed 2 months ago

Skye-TiddlyWiki commented 3 months ago

Back in 2.8.3, using simple message plugin, it gave a brief one line message, that was very useful but discrete. Now in 2.9.2, without changing anything related to messages, the messages are large boxes with giant "X"..... that is basically ugly and distracting. Can we go back to simple one-line messages????

YakovL commented 3 months ago

Hi, could you clarify if your plugin did anything to the message area? I'm asking because messages were never one-line in TWC: see the corresponding update (second pair of screenshots). In fact, the cross icon was meant to substitute the old "close" button that had a background and an underline and looked like a link (that's what I'd call ugly) with a more sublte and clear icon.

I also considered moving the close button to the right instead of top. That may break backwards compatibility though, as the initial implementation adds message elements to the message area directly instead of a wrapper for them:

image image

We can try to do something like:

image image

or better, to make sure one-line messages won't look like this:

image

also add margin: auto 0; to the div wrapping the messages (well, for perfect vertical centering, the icon and the link should be tweaked, too):

image

but like I mentioned, this may break some old stuff, so may be it's better to start with a plugin for this. What do you think?

Skye-TiddlyWiki commented 3 months ago

OK thanks. The problem was the same, with or without Michael MahemoffÅ› SimpleMessagePlug (which only limits the time of the display of the message. For some reason the X that was meant as close button somehow grew to be enormous. I have removed the svc definition, and now have no X...... since the above plugin cancells the display after 2 seconds....I dont need the close link. So problem solved. Thanks Skye

YakovL commented 2 months ago

Right, I see. To avoid problems for other users, could you share what browser do you use and may be some details to reproduce the issue? I remember there were similar problems with SVG in IE, bug I've fixed them for a version I had (IE 11, I think)