Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#71 2016-08-16 03:09:59

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,203
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

yep, all good.

I’ll accept that It’s just far too hard to move that position, and the way we have it works just fine… onward and upward.

but for those interested in actually moving it with jquery…

$(function() {
  $('.multi-edit').insertBefore($(".txp-listtables")).css({clear: "both",margin: "1rem 0"});
});

Offline

#72 2016-08-24 18:55:27

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,203
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Here’s another question/observation.

I see we’re using a svg sprite for all the little icons. Why use that instead of a typeface?

I decided that I didn’t like the interface being so chatty with text. ie you shouldn’t have to see “expand all” next to an icon when the icon with a tooltip would suffice as it does in so many other places.

So with a sprite with margin offset mapping, making the icons larger, or changing color becomes quite a massive chore, whereas with a typeface it would be trivial.

Thoughts?

Offline

#73 2016-08-24 19:34:48

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,313
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

mrdale wrote #300764:

Here’s another question/observation.

I see we’re using a svg sprite for all the little icons. Why use that instead of a typeface?

I decided that I didn’t like the interface being so chatty with text. ie you shouldn’t have to see “expand all” next to an icon when the icon with a tooltip would suffice as it does in so many other places.

So with a sprite with margin offset mapping, making the icons larger, or changing color becomes quite a massive chore, whereas with a typeface it would be trivial.

Thoughts?

Yes, there is a reason we use SVG, this article sums it up fairly well. Basically icon fonts are really bad for accessibility. We also hide some extra nice accessibility helpers in some of the icons via some off-screen text that screen readers can announce.

Regarding the colour change, that will be a doodle once CSS mask is more widely supported by browsers (damn you IE11 and Edge), I already have these commented-out rules waiting in the dev stylesheet for when that joyful day happens:

//mask: url("../img/ui-icon-sprite.svg");
//mask-repeat: no-repeat;
//mask-size: 256px 272px;

Then all you have to do is change icon background-color to whatever you desire. Explanation here.

Offline

#74 2016-08-24 20:32:31

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,203
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Offline

#75 2016-08-24 20:46:50

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,854
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

philwareham wrote #300765:

this article sums it up fairly well.

All good reasons (including ones I would never have thought of) and I respect your decision. That said, I’m with MrDale – I still absolutely love the ease of using icon fonts. fontello and co have made it so much easier to create small icon subsets including custom own icons.


TXP Builders – finely-crafted code, design and txp

Offline

#76 2016-08-24 21:22:38

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,313
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Erm, so the counter argument is because they want to support old versions of Android? And how do you propose we serve those accessibility helper texts that I enclose in the icon spans if we use a font and glyph and undefined Unicode numbers that may well get defined at any time?

Offline

#77 2016-08-24 22:20:06

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,203
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Actually I find the whole argument specious as it relates to the admin panel of a CMS.

In that article his points are:

  1. Screen readers may pronounce the icons (very rarely if PUA is used)
  2. They Encroach on Emoji Turf (seriously? in this context? how?)
  3. They Fail Poorly and Often (when and where have you seen failures? I’ve only seen them when a site I build is misconfigured.)
  4. They Never Looked Right (mine and most people’s seem to, what is he seeing, imperfect antialiasing?)
  5. You’re Probably Doing It Wrong (So don’t.)

So let’s get down to it. You’ve got a wacking big sprite that you have to know grid positions for in order to adapt and it does not scale easily.

My point is simply do the benefits of providing accessibility to massively edge-cases really justify to inflexibility to all, or is that whole argument just silly?

And if you say “no it’s not silly and sprites are definitely more graceful”, I’ll drop any objection and merrily make a hacked admin like I usually do anyway. But my vote is to provide an admin UI that people can adapt without playing battleship.

Offline

#78 2016-08-25 06:42:46

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,313
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Ok we’ll have to agree to disagree. Personally I feel SVG is the correct and cleaner solution. Maybe you’re right that accessibility is edge-case where Textpattern is concerned but it is an area I’m interested in and I strive to do it correctly.

I’ll think about ways to help you swap out the logo sprite more easily though.

Offline

#79 2016-08-25 13:47:45

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,297
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

philwareham wrote #300771:

Erm, so the counter argument is because they want to support old versions of Android?

I assume the problem isn’t actually “old versions of Android” but rather that Chrome isn’t available on them and the old Android Browser didn’t support this. I get what he meant but that was kind of an odd explanation.

Offline

#80 2016-08-25 14:49:06

hcgtv
Plugin Author
From: Miami, Florida
Registered: 2005-11-29
Posts: 2,635
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Hi Devs,

Got a chance to give 4.6 a spin on the demo site.

I like the backend changes, really clean, no tagbuilder, etc.

My only concern, being a long time user, is the size of the distribution.

4.5.7 = zip (604kb), disk (2.2mb)
4.6.0 = zip (1.42mb), disk (4.8mb)

The distribution has doubled in size, mostly it’s the vendors and admin-themes folders.

Lean and mean, it’s how I like my PHP apps, which is why I like FluxBB over phpBB, DokuWiki over MediaWiki, etc. It’s one of the main reasons I chose Textpattern as my CMS back in the day. Such a small distribution, made it so easy to keep multiple sites updated, and of course, less code equals less bugs, less security issues.

As always, it’s just my humble opinion, otherwise, 4.6 is looking good.

Offline

Board footer

Powered by FluxBB