clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
martinklepsch 2016-03-18T08:02:20.000007Z

Hello. I just saw that the default Clojars badges have been replaced with <http://shields.io|shields.io> 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:

juhoteperi 2016-03-18T08:03:31.000008Z

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

martinklepsch 2016-03-18T08:04:07.000009Z

@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

martinklepsch 2016-03-18T08:04:47.000010Z

http://codepen.io/anon/pen/bpgmeZ

juhoteperi 2016-03-18T08:14:25.000013Z

Cool

martinklepsch 2016-03-18T08:25:07.000015Z

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

martinklepsch 2016-03-18T08:26:50.000016Z

logo would be clickable text would not..

martinklepsch 2016-03-18T08:30:47.000017Z

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

juhoteperi 2016-03-18T08:38:12.000018Z

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

juhoteperi 2016-03-18T08:38:47.000019Z

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

martinklepsch 2016-03-18T08:48:42.000020Z

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

juhoteperi 2016-03-18T08:51:40.000021Z

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

martinklepsch 2016-03-18T08:54:38.000022Z

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

martinklepsch 2016-03-18T08:55:09.000024Z

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

juhoteperi 2016-03-18T08:56:31.000025Z

Does SVG allow tooltips?

martinklepsch 2016-03-18T08:56:37.000026Z

haha

martinklepsch 2016-03-18T08:57:05.000027Z

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

juhoteperi 2016-03-18T08:57:31.000028Z

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

juhoteperi 2016-03-18T08:57:37.000029Z

what about &lt;title&gt; element?

martinklepsch 2016-03-18T09:00:00.000032Z

doesn't do anything for me: http://codepen.io/anon/pen/bpgmeZ

juhoteperi 2016-03-18T09:01:51.000033Z

wrap everything inside &lt;g&gt;

martinklepsch 2016-03-18T09:04:10.000034Z

that did the trick :simple_smile:

martinklepsch 2016-03-18T09:04:45.000035Z

so with that in mind, what do you suggest?

martinklepsch 2016-03-18T09:05:30.000036Z

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

juhoteperi 2016-03-18T09:05:42.000037Z

Maybe

martinklepsch 2016-03-18T09:06:33.000038Z

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

2016-03-18T12:39:26.000040Z

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

emil0r 2016-03-18T19:30:46.000042Z

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

2016-03-18T20:17:26.000043Z

@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

2016-03-18T20:17:44.000045Z

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

emil0r 2016-03-18T20:22:54.000046Z

ah. thanks @tcrawley :simple_smile: