Fork me on GitHub
#clojars
<
2016-03-18
>
martinklepsch08:03:20

Hello. I just saw that the default Clojars badges have been replaced with badges. Before I noticed that I was looking into making the Clojars badges a bit nicer, i.e. allow selection of dependency text & give it a general design refresh. I think with text selection being possible this would be a good advantage over http://shields.io's badges. Would such contribution be welcome & would you be open to bring back custom clojars badges? simple_smile

juhoteperi08:03:31

@martinklepsch: Do you have idea how to make the text selectable? I haven't found any way to make that work

martinklepsch08:03:07

@juhoteperi: the issue is that the whole thing is wrapped in a link, if we only wrap parts of it in a link and don't wrap the text then text will be selectable

martinklepsch08:03:07

Don't like that the logo is rotated but otherwise it becomes either too small or too big

martinklepsch08:03:50

logo would be clickable text would not..

martinklepsch08:03:47

What's also interesting: we could link the majority of the text as well assuming that users start selecting at the end or beginning

juhoteperi08:03:12

It should visually show where to click to open click and where to select text

juhoteperi08:03:47

No assumptions should be made about how users try to use it

martinklepsch08:03:42

Agree about the clicking, selecting text however is pretty obvious no?

juhoteperi08:03:40

Wont be very obvious as the badges have not worked like that before

martinklepsch08:03:38

@juhoteperi: true. my thinking was that people will try again if it looks different

martinklepsch08:03:09

The above is very explicit but also much more heavy than it should be IMO

juhoteperi08:03:31

Does SVG allow tooltips?

martinklepsch08:03:05

@juhoteperi: I think it allows alt but no tooltips I think

juhoteperi08:03:31

Would be best if we could use JS but that would be best alternative maybe

juhoteperi08:03:37

what about <title> element?

juhoteperi09:03:51

wrap everything inside <g>

martinklepsch09:03:10

that did the trick simple_smile

martinklepsch09:03:45

so with that in mind, what do you suggest?

martinklepsch09:03:30

Have the title say "You can copy this."?

martinklepsch09:03:33

I want a wider-than-tall version of the logo 😄

tcrawley12:03:26

@martinklepsch: the code for the badges is still there, and I'm open to advertising it again if it was indeed selectable

emil0r19:03:46

hi. is anyone able to download [reverie-core “0.8.0-SNAPSHOT”] from clojars? i have successfully deployed it, but whenever i try to download it to one of my projects it complains about not being able to find it

tcrawley20:03:26

@emil0r: you are probably hitting https://github.com/clojars/clojars-web/issues/514. Try rm -rf ~/.m2/repository/reverie-core/reverie-core/0.8.0-SNAPSHOT and try to download it again

tcrawley20:03:44

I have a fix for that but haven't had a chance to deploy it to production