goto-engineering / powered-by-janet

A collection of all things written in Janet
MIT License
17 stars 1 forks source link

indicate which projects are in pkgs #2

Open uvtc opened 3 years ago

uvtc commented 3 years ago

Would be useful if there were a little icon or highlight or something to indicate if a given package is present in pkgs.

yumaikas commented 3 years ago

I think the way that will end up playing out is when I add install details to the details page for a given package. A little icon might also make sense there as well. Did you have one in mind?

Though we could also just create a listing of the items in pkgs on a separate site as well.

goto-engineering commented 3 years ago

What would be the benefit of knowing a package is in pkgs?

uvtc commented 3 years ago

If it's in pkgs that means you can install via

jpm install foo

instead of having to do

jpm install https://gitwhatever.org/user/foo
uvtc commented 3 years ago

I'd suggest, on the main full-listing page (as well as on the details pages), include zero, one, or two unicode U+2B24 ⬤ on the bottom right or left, but css styled colored text:

If the viewer hovers over any ⬤, it should tooltip indicate "this is in pkgs" or "this is under the janet-lang org" or similar.