cljsjs

martinklepsch 2016-09-15T11:16:47.000489Z

@juhoteperi if I just merge this will it be deployed etc? https://github.com/cljsjs/cljsjs.github.io/pull/14

juhoteperi 2016-09-15T11:17:38.000491Z

hmm not sure, maybe not

juhoteperi 2016-09-15T11:17:46.000492Z

IIRC only data.json is automatically updated

martinklepsch 2016-09-15T11:18:48.000493Z

so which of the glorious scripts in there is it that I need to run? πŸ˜›

martinklepsch 2016-09-15T11:19:25.000494Z

seems to be deploy-update.sh?

juhoteperi 2016-09-15T11:22:34.000495Z

deploy-update.sh only updates data.json

juhoteperi 2016-09-15T11:22:46.000496Z

build.sh updates everything

juhoteperi 2016-09-15T11:23:08.000497Z

update.sh generates new data.json

martinklepsch 2016-09-15T11:29:20.000498Z

hah, ok, so I have no idea what that script did, not seeing any commits but it did deploy the site

martinklepsch 2016-09-15T11:29:23.000499Z

http://cljsjs.github.io/

juhoteperi 2016-09-15T11:38:18.000504Z

Cool!

juhoteperi 2016-09-15T11:40:29.000505Z

The header text could use another font?

juhoteperi 2016-09-15T11:41:15.000506Z

-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica,helvetica neue,ubuntu,roboto,noto,segoe ui,arial,sans-serif

juhoteperi 2016-09-15T11:41:17.000507Z

oh right

juhoteperi 2016-09-15T11:41:27.000508Z

I not fan of trying to use "native fonts"

juhoteperi 2016-09-15T11:41:51.000509Z

I have no idea what the site looks to you

juhoteperi 2016-09-15T11:44:06.000511Z

search highlight doesn't work currently?

martinklepsch 2016-09-15T11:44:11.000512Z

show me what it looks like for you

juhoteperi 2016-09-15T11:44:16.000513Z

just missing .highlight class

martinklepsch 2016-09-15T11:44:57.000515Z

could be worse

martinklepsch 2016-09-15T11:45:06.000516Z

I gotta run right now but will be back in a bit

juhoteperi 2016-09-15T11:45:38.000517Z

and the highlight could be used with dependency vector also

martinklepsch 2016-09-15T11:45:50.000519Z

yeah, I think I accidentally removed that

mikebelanger 2016-09-15T12:02:54.000520Z

I actually got tripped up the other day trying to use a cjsjs package because I didn’t realize there were README's on github πŸ˜› So I like the new UI additions.

mikebelanger 2016-09-15T12:04:43.000521Z

For what it’s worth, I like the consolas font too

mikebelanger 2016-09-15T12:50:36.000522Z

hey guys I just wanted to add an example to cljsjs/three’s README.md. The guidelines for a PR kind of imply this isn’t PR-worthy. Is there another way I can modify the README?

juhoteperi 2016-09-15T13:00:30.000523Z

PR is fine

juhoteperi 2016-09-15T14:00:48.000527Z

@martinklepsch did you check what instructions show for Closure libs? there are a few

martinklepsch 2016-09-15T14:01:01.000528Z

oh right

martinklepsch 2016-09-15T14:01:04.000529Z

did not account for that

martinklepsch 2016-09-15T14:01:12.000530Z

I just fixed the highlighting stuff btw

juhoteperi 2016-09-15T14:01:50.000531Z

We could parse the deps.cljs and use that to check the usage instructions

juhoteperi 2016-09-15T14:02:05.000532Z

Usage instructions could note if the library provides multiple namespaces

juhoteperi 2016-09-15T14:02:23.000533Z

and if it provides Closure lib (`:libs` -> "This is a Closure library")

juhoteperi 2016-09-15T14:03:10.000534Z

Multiple provided ns -> "cljsjs.airbrake and x additional namespaces"

juhoteperi 2016-09-15T14:03:28.000535Z

First one is probably always the "main" ns

juhoteperi 2016-09-15T14:03:58.000536Z

and once it is parsed, we could pretty-print it when we show it,

juhoteperi 2016-09-15T14:04:50.000537Z

we could also add filter foreign-dep / closure lib!

juhoteperi 2016-09-15T14:05:11.000538Z

do you want to implement these or should I?

juhoteperi 2016-09-15T14:05:23.000539Z

(btw. argh, why is Slack using 100% cpu)

juhoteperi 2016-09-15T14:07:15.000541Z

"Package types: Foreign dep, Closure lib, CommonJS/AMD/ES6 (forthcoming)"

martinklepsch 2016-09-15T14:09:35.000544Z

I wont be able to spend more time on this today but maybe tomorrow again

juhoteperi 2016-09-15T14:10:14.000545Z

Ok, everything will be read tomorrow πŸ˜„

martinklepsch 2016-09-15T14:12:09.000546Z

how do you mean read tomorrow?

martinklepsch 2016-09-15T14:12:34.000547Z

Reason I dropped the custom font btw: it felt like a custom font doesn't add much value.

martinklepsch 2016-09-15T14:13:05.000548Z

I'm fine with doing something that's not system as long as it's nothing that needs to be downloaded extra, that makes sense?

juhoteperi 2016-09-15T14:13:28.000549Z

ready*

flyboarder 2016-09-15T16:14:59.000572Z

@martinklepsch: not sure if the link alignment is what was intended

martinklepsch 2016-09-15T16:15:41.000574Z

That's as I intended it β€” what would you suggest alternatively?

flyboarder 2016-09-15T16:20:53.000575Z

Nvm then, I was thinking maybe justifying the alignment or spacing it so text aligned vertically with the row above it, but if it's just flowing to the next line its not anything really worth focusing on

martinklepsch 2016-09-15T16:40:54.000576Z

given that it's 4 you could split them into columns but I just wanted something flexible that could accomodate changing needs πŸ™‚ @flyboarder

πŸ‘ 1
flyboarder 2016-09-15T18:04:24.000578Z

@martinklepsch: just used the site on desktop for the first time, very nice!Much useful changes

martinklepsch 2016-09-15T18:13:21.000579Z

@flyboarder cool glad you like it! I'll use that moment to also thank you for your contributions to this project πŸ‘ πŸ™‚

flyboarder 2016-09-15T18:15:51.000580Z

😊 the clojure community has created many great tools, im just glad I can give back

flyboarder 2016-09-15T18:16:22.000581Z

Also you solved the one thing im constantly doing on the site, and thats searching it (no more cmd+F) πŸ‘

martinklepsch 2016-09-15T18:20:17.000583Z

@juhoteperi what do you think about changing the usage snippet to

(ns your.namespace
  (:require [cljsjs.airbrake]))

juhoteperi 2016-09-15T18:20:41.000584Z

seems fine

martinklepsch 2016-09-15T18:20:45.000585Z

@flyboarder I myself will probably still use cmd-f lol

martinklepsch 2016-09-15T18:21:13.000586Z

I think the dots + lack of brackets might be confusing that's why I'm asking

martinklepsch 2016-09-15T18:21:19.000587Z

could be wrong Β―\(ツ)/Β―

juhoteperi 2016-09-15T18:21:41.000588Z

Β―\(ツ)/Β―

martinklepsch 2016-09-15T18:21:59.000589Z

@juhoteperi so how much did you dislike using tachyons? πŸ˜„

juhoteperi 2016-09-15T18:22:13.000590Z

I guess users will understand that they shouldn't remove their existing requires

juhoteperi 2016-09-15T18:22:46.000591Z

@martinklepsch I wouldn't choose to use it myself πŸ˜„

martinklepsch 2016-09-15T18:24:00.000592Z

we already have a small lag when switching the filters; challenge achieved πŸ˜„

juhoteperi 2016-09-15T18:24:53.000593Z

it's just the dom operations

juhoteperi 2016-09-15T18:25:41.000594Z

no lag between all - foreign libs, but lag closure libs -> all/foreign libs as it needs to create ~300 list items

martinklepsch 2016-09-15T18:25:53.000595Z

yep

martinklepsch 2016-09-15T18:26:20.000596Z

I know it's the DOM ops I'm just joking, I guess it's a good problem to have πŸ˜›

juhoteperi 2016-09-15T18:26:41.000597Z

https://github.com/bvaughn/react-virtualized

martinklepsch 2016-09-15T18:26:53.000599Z

WE HAVE SO MANY LIBRARIES WE NEED TO OPTIMIZE!!111!1

juhoteperi 2016-09-15T18:26:54.000600Z

this is one lib I wouldn't probably rewrite on Cljs

juhoteperi 2016-09-15T18:27:10.000601Z

Not that I have yet used it on Cljs

martinklepsch 2016-09-15T18:29:17.000602Z

looks pretty cool πŸ‘

juhoteperi 2016-09-15T18:31:46.000603Z

I should probably try it with my autocomplete lib as I've been having problems with cases where it needs to list ~500 results

martinklepsch 2016-09-15T18:39:45.000604Z

made a few changes to the nav/deps.cljs rendering, nothing exciting https://cljsjs.github.io/

flyboarder 2016-09-15T18:44:18.000606Z

easier to read and more noticeable now

juhoteperi 2016-09-15T18:45:24.000607Z

Cool. I was sure there must be some classes for something like that πŸ˜„

juhoteperi 2016-09-15T18:46:52.000608Z

"Show Usage Instructions" text could stay the same when toggled? Likke "Usage instructions v" ""Usage instructions ^"

juhoteperi 2016-09-15T18:47:11.000609Z

currently, as the width changes, it will in some cases jump between toggles

juhoteperi 2016-09-15T18:47:14.000610Z

like with async

martinklepsch 2016-09-15T18:55:45.000611Z

@juhoteperi ah yeah, interesting

martinklepsch 2016-09-15T18:56:20.000612Z

Guess we can make it Usage Instructions and then >>|x

juhoteperi 2016-09-15T19:03:20.000613Z

maybe proper css caret?

juhoteperi 2016-09-15T19:04:46.000614Z

// Dropdown arrow/caret
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top:   @caret-width-base dashed;
  border-top:   @caret-width-base solid ~"\9"; // IE8
  border-right: @caret-width-base solid transparent;
  border-left:  @caret-width-base solid transparent;
}

juhoteperi 2016-09-15T19:06:00.000617Z

and border-top: 0; border-bottom: @caret-width-base dashed; for reversed caret

juhoteperi 2016-09-15T21:11:09.000618Z

Hmh, currently links and code have the same color and links don't even have any hover effect

juhoteperi 2016-09-15T21:11:18.000619Z

hover -> underline would be good at least