Swag-for-dev: Improve tags UI/X

Created on 10 Oct 2018  ·  12Comments  ·  Source: swapagarwal/swag-for-dev

Currently tags are all lower case:

image

They would look better if they were Sentence cased

❔ question

Most helpful comment

I have mostly seen tags as being lowercase everywhere. Can you provide examples where sentence-case is used?

All 12 comments

One way of doing it is to use the CSS ::first-letter pseudo-element:

p.sentence-case::first-letter {
  text-transform: uppercase;
}
md5-46cd03384158cf4742efbfa465902cd3


Or just p.sc { text-transform: capitalize; }?

I'd rather do this during the build step to keep the client minimal, but if you want to go the CSS route, that's fine

Yes, but text-transform: capitalize does Title Case not Sentence case. I think we can go title case. I don't know which
way of implementation would be better as it would add some logic to keep tags in url
lowercase if done on buildtime.

I have mostly seen tags as being lowercase everywhere. Can you provide examples where sentence-case is used?

I agree with @swapagarwal here!

Good point, to me personally, there's something visually off in the select box; it might be the caps or something else (outside from the persistent scrollbar) 😕

I guess we should get rid of the search box. There are not many tags right now (and won't be in the future, most probably), and search is not possible on mobile devices by default.

The scrollbar can be hidden by just adding overflow: hidden to the custom CSS.

The UI can be made more consistent, yes. How about merging the tag filters with the difficulty bar above it?

Updated the issue title to reflect the change in roadmap

I'll try working on this if it hasn't been picked up by anyone else :sweat_smile:

I'm not working on it, go ahead 👍

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vmr1532 picture vmr1532  ·  5Comments

plibither8 picture plibither8  ·  5Comments

aslafy-z picture aslafy-z  ·  4Comments

jgierer12 picture jgierer12  ·  5Comments

jgierer12 picture jgierer12  ·  3Comments