Skip to content

Group licenses together - #111

Merged
haacked merged 13 commits into
gh-pagesfrom
haacked/29-collapse-license-families
Nov 19, 2013
Merged

haacked merged 13 commits into
gh-pagesfrom
haacked/29-collapse-license-families

Conversation

@haacked

@haacked haacked commented Oct 28, 2013

Copy link
Copy Markdown
Contributor

Proposed fix for #29. This groups licenses into "families". The main link links to the most used or latest version of a license.

Note that as part of this change, I shortened the license names in the list...

license-list

...but kept the full name in the license detail page.

license

Would love to get some feedback on this approach: /cc @benbalter, @aden, anyone else?

Also, @jasonlong, I wonder if there's a better way we could present the licenses that belong to a family? Listing them inline in the text could do for now, but if you have ideas to present it better, I'd love to hear them!

@haacked

haacked commented Oct 28, 2013

Copy link
Copy Markdown
Contributor Author

This would close #8

@talniv

talniv commented Oct 28, 2013

Copy link
Copy Markdown

looks good to me, especially because it is neutral rather than suggestive
of a preference for any family member and it doesn't make the decision
about which license is a member of which family any harder.

I prefer the "latest" rather than the "most used" category for grouping
since I'm not sure how to make popularity scale estimation. Either way, I
think it's important to add an explanation somewhere about why a family
name links to a particular member and not another. Not sure where.

On Mon, Oct 28, 2013 at 4:19 PM, Phil Haack [email protected]:

Proposed fix for #29#29.
This groups licenses into "families". The main link links to the most used
or latest version of a license.

Note that as part of this change, I shortened the license names in the
list...

[image: license-list]https://f.cloud.github.com/assets/19977/1424835/21b2de2e-4027-11e3-93d2-dd3a6b13c337.png

...but kept the full name in the license detail page.

[image: license]https://f.cloud.github.com/assets/19977/1424834/1f9eeea2-4027-11e3-884b-5f47b4f7affc.png

Would love to get some feedback on this approach: /cc @benbalterhttps://github.com/benbalter,
@aden https://github.com/aden, anyone else?

Also, @jasonlong https://github.com/jasonlong, I wonder if there's a
better way we could present the licenses that belong to a family? Listing
them inline in the text could do for now, but if you have ideas to present

it better, I'd love to hear them!

You can merge this Pull Request by running

git pull https://github.com/github/choosealicense.com haacked/29-collapse-license-families

Or view, comment on, or merge it at:

#111
Commit Summary

  • Group licenses together

File Changes

  • M css/application.csshttps://github.com/Group licenses together #111/files#diff-0(2)
  • M licenses.htmlhttps://github.com/Group licenses together #111/files#diff-1(6)
  • M licenses/agpl.txthttps://github.com/Group licenses together #111/files#diff-2(2)
  • M licenses/apache.txthttps://github.com/Group licenses together #111/files#diff-3(1)
  • M licenses/artistic.txthttps://github.com/Group licenses together #111/files#diff-4(1)
  • M licenses/bsd-3-clause.txthttps://github.com/Group licenses together #111/files#diff-5(2)
  • M licenses/bsd.txthttps://github.com/Group licenses together #111/files#diff-6(2)
  • M licenses/eclipse.txthttps://github.com/Group licenses together #111/files#diff-7(1)
  • M licenses/gpl-v2.txthttps://github.com/Group licenses together #111/files#diff-8(4)
  • M licenses/gpl-v3.txthttps://github.com/Group licenses together #111/files#diff-9(4)
  • M licenses/lgpl-v2.1.txthttps://github.com/Group licenses together #111/files#diff-10(3)
  • M licenses/lgpl-v3.txthttps://github.com/Group licenses together #111/files#diff-11(2)
  • M licenses/mit.txthttps://github.com/Group licenses together #111/files#diff-12(1)
  • M licenses/mozilla.txthttps://github.com/Group licenses together #111/files#diff-13(1)

Patch Links:

@haacked

haacked commented Oct 28, 2013

Copy link
Copy Markdown
Contributor Author

I prefer the "latest" rather than the "most used" category for grouping since I'm not sure how to make popularity scale estimation.

We used GitHub data a while back.

Either way, I think it's important to add an explanation somewhere about why a family name links to a particular member and not another.

Why? I think we don't have to explain every possible detail.

@talniv

talniv commented Oct 28, 2013

Copy link
Copy Markdown

Two gripes I have with popular on GH scale (neither major):

  1. still not wall-to-wall popularity scale
  2. new version is supposed to be an improved version and this is a small "competitive block" because it leads you to choose one of the oldies.

Words of explanation kind of important because I think it's good to be clear about the "service provider's" neutrality in this case. Again, a small thing.

@jasonlong

Copy link
Copy Markdown
Contributor

Yeah, it seems like we're having some growing pains (design-wise) now that we're getting some good content in place. I think a lot of these problems would go away if we were to move the license name and description up and out of the table so that the name wouldn't be restricted in their horizontal space. Then we'd have some nice space for variants.

Something like this?
cal

@talniv

talniv commented Oct 29, 2013

Copy link
Copy Markdown

💭 maybe everyone can agree to link to the license text just from the real license titles and then take away the existing View full license link and the proposed family name link? I like that because this way we are not making any decisions that may indicate to users that the maintainers have a preference and/or pushing users towards past (possibly mistaken) popular license choices and actively restricting (possibly beneficial) legal innovation. No real drama but still...

(I may change my mind if there is ever a point where we have a real basis for having a preference and if we ever think that we want to lead the users to that preference. But I think that if this happens there would be good reasons to be more forthright about it rather than do it implicitly like having such links.)

@haacked

haacked commented Oct 29, 2013

Copy link
Copy Markdown
Contributor Author

Thanks @jasonlong! I like where that's going.

@talniv that doesn't address the fact that the dots for permitted, prohibited, and forbidden might only apply to one of the choices.

@jasonlong what if we did something like this (forgive the Haacked-up design). So these links are effectively "tabs". When you click the tab, we update the permitted, prohibited, and forbidden dots and the "View full license" link goes to the selected license.

license-detail-gpl-v2
license-detail-gpl-v3

Comment thread licenses/agpl.txt Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the motivation for family-title here? Why not just family?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it's shown instead of title if present. But family is probably sufficient.

@benbalter

Copy link
Copy Markdown
Contributor

Pending some of the tweaks above (and passing tests), 👍 to shipping this as is, but would love to go back and improve on the architecture a bit, especially with some of the possibilities 1.3.0 provides.

Specifically, would love to pull the families out as an object themselves (e.g., not hide the family description in one license which would prevent us from having a license-specific description for the "primary" license. Could theoretically do it in _config.yml now, but think _data is cleaner.

@benbalter

Copy link
Copy Markdown
Contributor
  1. new version is supposed to be an improved version and this is a small "competitive block" because it leads you to choose one of the oldies.

👍 to release date as determinative of order / primary link. I don't want Choosealicense.com to be in the business of encouraging holy wars or picking winners or loosers. GPLv2? GPLv3? Not our job to choose. If the people that make GPL, theoretically the foremost GPL experts release an updated version, we need to assume it's because they think it's better. When GPLv4 comes out... I don't want to have to rehash the debate. Newest should be 👑

@benbalter

Copy link
Copy Markdown
Contributor

@talniv that doesn't address the fact that the dots for permitted, prohibited, and forbidden might only apply to one of the choices.

I'd say dots should point to latest, with links to other versions. Think of it like a software release. The features page tells you the features of the latest version, but you still have links to prior releases.

@jasonlong

Copy link
Copy Markdown
Contributor

@haacked I like the tabbed idea. Would the description be different for each one or just the table?

I can try to put something together in the next day or two here.

@haacked

haacked commented Oct 30, 2013

Copy link
Copy Markdown
Contributor Author

@jasonlong Just the table. Though we could experiment with both.

@haacked

haacked commented Nov 5, 2013

Copy link
Copy Markdown
Contributor Author

@benbalter If @jasonlong has time to try it out, I'd like to experiment with the tab approach. What do you think?

@benbalter

Copy link
Copy Markdown
Contributor

@haacked I'd actually make them tabs :trollface:, but think the functionality is spot on. 😄

@haacked

haacked commented Nov 5, 2013

Copy link
Copy Markdown
Contributor Author

@benbalter heh, we'll let the designer come up with something great. But I think we all agree on the general functionality. 👍

@jasonlong no rush, but would love to see what you come up with. :)

@jasonlong

Copy link
Copy Markdown
Contributor

Word. This was actually on my list for today.

@jasonlong

Copy link
Copy Markdown
Contributor

I've got a branch where I've started down a path that looks like this. Before going much further, I wanted to run it by you guys. I think it was sort of hard to scan the colored bullet points horizontally, so I'm trying them vertically here. The "View full license" text would change along with the table and it might be a nice touch to change the href on the license family (e.g. "GPL") to point to the selected license variant.

Thoughts?
license-families

@haacked

haacked commented Nov 5, 2013

Copy link
Copy Markdown
Contributor Author

@jasonlong I love this! I actually think the removal of the tables makes it cleaner. Perhaps make the columns slightly closer together? They seem a bit wide. But other than that, I ❤️ this direction.

@jasonlong jasonlong mentioned this pull request Nov 6, 2013
haacked added a commit that referenced this pull request Nov 19, 2013
@haacked
haacked merged commit 3358f6e into gh-pages Nov 19, 2013
@haacked
haacked deleted the haacked/29-collapse-license-families branch November 19, 2013 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants