ElkArte Community

General => Chit Chat => Topic started by: Eliana Tamerin on March 01, 2014, 03:51:26 am

Title: A reference for Ant
Post by: Eliana Tamerin on March 01, 2014, 03:51:26 am
Just ignore this, it's just a reference for something Ant and I were talking about on IM.

Teletype stuff. Teletype stuff. Teletype stuff. Teletype stuff. Teletype stuff. Teletype stuff. Teletype stuff. Teletype stuff. Teletype stuff.

Normal sans-serif font typing stuff. Normal sans-serif font typing stuff. Normal sans-serif font typing stuff. Normal sans-serif font typing stuff. Normal sans-serif font typing stuff.

Preformatted stuff. Preformatted stuff. Preformatted stuff. Preformatted stuff. Preformatted stuff. Preformatted stuff. Preformatted stuff. Preformatted stuff. Preformatted stuff. Preformatted stuff. 


So TT = Sans-serif monospaced
Font = Normal stuff with sans-serif font.
Pre = Tiny sans-serif monospaced without word wrap.
Title: Re: A reference for Ant
Post by: Antechinus on March 01, 2014, 03:54:22 am
Ok well that's sort of a bug then. The pre tag shouldn't break the post layout. Really it should have auto overflow like the code tags.
Title: Re: A reference for Ant
Post by: Eliana Tamerin on March 01, 2014, 03:58:25 am
Also.

TSCHTSFW

[acronym=So should this]Soshis[/acronym] <-dafuq? My favorite BBC is teh busted!

For reference purposes.[1]
This is a footnote]
Title: Re: A reference for Ant
Post by: emanuele on March 01, 2014, 04:02:37 am
Hey @Spuds why don't we drop the pre too? O:-) (Or the tt, same thing to me.)
Title: Re: A reference for Ant
Post by: Eliana Tamerin on March 01, 2014, 04:03:58 am
Drop TT (wtf is this even for?) and wrap PRE. Or give PRE its own div box so it can stay unwrapped like code, but not kill the whole page format.

Why did [acronym] get dropped?
Title: Re: A reference for Ant
Post by: emanuele on March 01, 2014, 04:05:42 am
Because the result was exactly the same as abbr.
Title: Re: A reference for Ant
Post by: Antechinus on March 01, 2014, 04:07:35 am
abbr is easier to use anyway.

Does anyone ever use the teletype tag? I don't even know why editors include it.
Title: Re: A reference for Ant
Post by: Eliana Tamerin on March 01, 2014, 04:08:54 am
Quote from: emanuele – Because the result was exactly the same as abbr.

(3:00:04 AM) Antechinus: well really they're different [/pedant]
(3:00:35 AM) Antechinus: well no
(3:00:51 AM) Antechinus: Bob is an abbreviation of Robert, but not an acronym

As much as I just argued with Ant about this, he's right. They're different functions. You should almost change it into a BBC called HOVER.
[hover=This stuff will hover]This stuff won't[/hover]

Simple and easy to understand. Not as cool as abbr or acronym, but it's more intuitive.
Title: Re: A reference for Ant
Post by: Antechinus on March 01, 2014, 04:14:40 am
Quote from: Eliana Tamerin – As much as I just argued with Ant about this, he's right.
Sig coming up. :D
Title: Re: A reference for Ant
Post by: Eliana Tamerin on March 01, 2014, 04:17:45 am

fudge nuggets. The things I say at 3 AM that come back to bite me...
Title: Re: A reference for Ant
Post by: emanuele on March 01, 2014, 05:15:12 am
Talk to the the people working on HTML5. :P

http://www.w3schools.com/tags/tag_acronym.asp

QuoteHTML <acronym> Tag. Not Supported in HTML5.
Title: Re: A reference for Ant
Post by: Joshua Dickerson on March 01, 2014, 12:52:29 pm
Drop pre and tt. Code handles pre and tt can be done with fonts.
Title: Re: A reference for Ant
Post by: Antechinus on March 01, 2014, 03:53:55 pm
Might be a good idea to re-order the buttons a bit too. At the moment quote, which is one of the most heavily used, is sorta hiding in the middle and is not very distinct.
Title: Re: A reference for Ant
Post by: emanuele on March 01, 2014, 03:57:27 pm
Do you really use the quote editor button? O_O
Title: Re: A reference for Ant
Post by: Antechinus on March 01, 2014, 04:13:37 pm
Yup, mainly for splitting posts. Also for posting news articles from other sites, etc.

ETA: Come to think of it, I'm not sure the font tag is useful either, since it only provides old Windows fonts which wont render on any other OS anyway.
Title: Re: A reference for Ant
Post by: Antechinus on March 01, 2014, 04:48:54 pm
This is turning into an "Editor Tweaks" thread. Might as well add another one.

I cannot see the point of having the text blurb above the quick reply editor. It's a quick reply form. They're common these days. Anyone will know what it is. They may have required an explanation in 1990, but these days anyone will read the blurb and think "Well d'oh".

If it's removed that will save some space, and be less work for i18n. :)
Title: Re: A reference for Ant
Post by: Spuds on March 01, 2014, 09:30:48 pm
Some good suggestions, and you know I love to remove BBC codes.

So the summary so far:
1) remove the "whats quick reply for" text,
2) shift the quote button ... where ... could move it to the front of that "block" and then shift that "block" to be the first in the second row?
3) nuke or combine pre/tt ... the only use for those that I know of is when posting tabulated data where you need the monospaced font. 
Title: Re: A reference for Ant
Post by: Eliana Tamerin on March 01, 2014, 10:14:38 pm
Quote from: groundup – Drop pre and tt. Code handles pre and tt can be done with fonts.

This is preformatted text in a pre tag. This is preformatted text in a pre tag. This is preformatted text in a pre tag. This is preformatted text in a pre tag. This is preformatted text in a pre tag.

Code: (Title) [Select]
This is preformatted text in a code tag. This is preformatted text in a code tag. This is preformatted text in a code tag. This is preformatted text in a code tag. This is preformatted text in a code tag. This is preformatted text in a code tag. 

Eh, code handles pre marginally well. The Code: (Title) part of the header is a bit strange and unintuitive.  The code highlighting is awful if you're trying to display blocks of text. The best is actually to combine quote and pre, like so:

Quote
This is preformatted text in a pre tag inside a quote box. This is preformatted text in a pre tag inside a quote box. This is preformatted text in a pre tag inside a quote box. This is preformatted text in a pre tag inside a quote box. This is preformatted text in a pre tag inside a quote box.
Title: Re: A reference for Ant
Post by: Antechinus on March 02, 2014, 02:03:38 am
Pre is meant to be used for pre-formatted text, not for monospace fonts, so the current use of it makes no sense anyway. Since the wysiwyg will accept pre-formatted text, I see no reason to keep the pre tag. It may have made sense in the old days.

Not sure about button order yet. If tables are the only realistic use for teletype, perhaps those two buttons should be together. Having quote, code, spoiler and footnote together probably makes sense, with image, url and email kept as they are.

And yeah, what is "Code: (Title) [Select]" supposed to mean? I know it's a code tag, and the select bit makes sense, but why text saying "(Title)"?
Title: Re: A reference for Ant
Post by: emanuele on March 02, 2014, 03:55:21 am
Quote from: Antechinus – And yeah, what is "Code: (Title) [Select]" supposed to mean? I know it's a code tag, and the select bit makes sense, but why text saying "(Title)"?
To add a code description like it has been used for ages:
Code: (find) [Select]
something
Code: (replace with) [Select]
something else
or:
Code: (from Action.class.php) [Select]
class Action
No biggies if removed, but is nice to have. O:-)
Title: Re: A reference for Ant
Post by: Antechinus on March 02, 2014, 05:47:16 am
Oh ok. So it'd probably be clearer if it didn't say "Title" when there was nothing entered there. Coz then there aint no title. :D

Also doesn't really need brackets and a colon. One or the other would make more sense, in terms of punctuation.
Title: Re: A reference for Ant
Post by: emanuele on March 02, 2014, 05:55:43 am
Well... it never says title... :P

Code: [Select]
without param
Title: Re: A reference for Ant
Post by: Spuds on March 02, 2014, 02:29:53 pm
Well unless you add it in :P
Code: (WTF) [Select]
Stuff
Hey why does that say WTF, it makes no sense to me !!! Now I'm outraged at seeing that even though I entered it there. :P
Title: Re: A reference for Ant
Post by: Antechinus on March 02, 2014, 03:32:31 pm
OK, so blame ET. :P And it could still lose the brackets.
Title: Re: A reference for Ant
Post by: Eliana Tamerin on March 02, 2014, 03:39:53 pm
Quote from: Antechinus – OK, so blame ET. :P And it could still lose the brackets.

Ignore him, Antechinus has gone senile on us.
Title: Re: A reference for Ant
Post by: Antechinus on March 02, 2014, 03:50:43 pm
Code: (Ignore her, she's stupid) [Select]
:P