cljdoc

lread 2023-08-23T15:13:01.006259Z

Small but helpful cljdoc change: when searching within a library, punctuation is no longer ignored. So you can now search for vars like https://cljdoc.org/d/swiss-arrows/swiss-arrows' -<>>< This should also resolve your issue @tengstrand of wanting to match on abc-123, we still match on abc or 123 but give abc-123 a higher score, so matches for it will appear first. Thanks to @corasaurus-hex for reviewing my TypeScript code!

💜 2
Cora (she/her) 2023-08-23T15:19:04.124589Z

nicely job on this, Lee! you're a regular TypeScript pro

🙂 1
tengstrand 2023-08-23T16:24:38.009279Z

Thank you so much! I added a comment in the PR.

lread 2023-08-24T13:52:25.188799Z

Thanks for the issue @tengstrand, it nudged us into action on this one, and is it a nice refinement on an already very useful feature.

tengstrand 2023-08-24T14:00:45.881029Z

My part was easy, you did the hard part by implementing it! But yes, it's good when people report things that can be improved.

Cora (she/her) 2023-08-23T19:01:52.339479Z

notices that the doc/pro/def/var text isn't vertically aligned within the colored rectangle in search results...

🤣 2
lread 2023-08-23T19:19:16.393859Z

Ha! Blame it on me, couldn't have been you!

Cora (she/her) 2023-08-23T19:20:33.362449Z

almost 100% sure it's me!

lread 2023-08-23T19:22:30.458379Z

Kind of you to generously round up like that!

lread 2023-08-24T01:32:15.467819Z

It was Peter!

âž• 1
😂 1
Cora (she/her) 2023-08-24T02:45:25.431219Z

the thing about aligning stuff like this is that sometimes things being aligned correctly looks wrong because human brains are prone to optical illusions. or it's Peter

lread 2023-08-24T13:51:02.700359Z

We should always assume Peter. Which might be confusing because there is already a Peter Principle... but it is not entirely incompatible.