Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Designing Badges #71

Open
abbycabs opened this issue Jul 13, 2015 · 33 comments
Open

Designing Badges #71

abbycabs opened this issue Jul 13, 2015 · 33 comments

Comments

@abbycabs
Copy link
Member

We currently have some assets from @akenall
help wanted: Designer, Input


Summary from @vazquez

Background

  • A scholar can earn a badge by writing a paper where they contribute a specific element portrayed in Badges. So, for example, if a scholar contributes data visualization work to a paper, they will earn the prestigious Data Visualization Badge.

Probem

  • Right now, the badges are far too big to accommodate to the layout of the article. A more simplified badge aesthetic is needed (similar to what @akenall showed).

Requirements

  • When visiting a paper such as this one, the Abstract needs to show the badge.
  • When visiting the author's ORCID page, the Badges need to show next to the papers published.

screen shot 2015-07-13 at 14 45 06

But we need to design badges that:

  • can be displayed scaled down
  • can be seen in different 'views'
    • all authors and their corresponding badges for a paper
    • all papers and corresponding badges for an author

Discussion / inspiration:

@akenall has started some discussion on updating the design to be simpler like the stack overflow badges
image003

Add any comments here! Looking for a contributor who wants to own this design (you don't need to be an actual designer!) -- we're looking to implement these visualizations by the August project call.

@abbycabs
Copy link
Member Author

Possible coloured dots solution (I'm sorry, I did this quickly):
screen shot 2015-07-13 at 15 07 04

@iamjessklein
Copy link

Hi @acabunoc I am a little confused by your requirements here, are you trying to view the badges by badge earner as well as by badge evidence?

Also, can you give an example of the context for these badges?

@abbycabs
Copy link
Member Author

Hey @iamjessklein, yes!

Context:

  1. On a paper (evidence) page:
    Example paper-
    http://www.genomebiology.com/2015/16/1/139
  2. On the ORCID (author / earner) page:
    Example ORCID:
    http://orcid.org/0000-0002-1825-0097

@vazquez
Copy link

vazquez commented Jul 22, 2015

@iamjessklein -

I just spoke to @acabunoc IRL to get a better sense of what is needed. Here's the 411:

Background

  • A scholar can earn a badge by writing a paper that contains a specific element portrayed in Badges. So, for example, a paper containing or discussing data visualization will earn the prestigious Data Visualization Badge.

Probem

  • Right now, the badges are far too big to accommodate to the layout of the article. A more simplified badge aesthetic is needed (similar to what @akenall showed).

Requirements

  • When visiting a paper such as this one, the Abstract needs to show the badge.
  • When visiting the author's ORCID page, the Badges need to show next to the papers published.

@abbycabs
Copy link
Member Author

Amazing @vazquez, thank you!
Slight clarification: the badges are awarded to scholars for their work on a paper. If a scholar contributes data visualization work to a paper, they will earn the prestigious Data Visualization Badge.

@akenall
Copy link

akenall commented Jul 23, 2015

I like the coloured dots solutions you've put up! We need something that would integrate well with any publisher platform. I think that does the job much better than the more traditional badge.

@lpaglione
Copy link

Hi -- ORCID has been thinking a little about the concept of Person Citations. I've independently (not officially!!!) been playing around a bit with how this might look:

screen shot - hope this displays inline!

I think in extending this concept of a person citation, it would be interesting to have the role names themselves link to/display the badge somehow. (Maybe a popup, tooltip-style?)

Related to displaying the badges in ORCID, I think this one is a little trickier. ORCID takes a "multi-source" approach to displaying publications on an ORCID Record. For example, a reference to one DOI may appear multiple times, and then are visually grouped in the interface, with the one from a preferred source displaying by default. Right now ORCID doesn't have any concept of something that displays on, say, a DOI for an ORCID record, but isn't tied to a set of publication metadata provided by an ORCID member. In some ways it would be easier for the badges to display in ORCID if the works were pushed into the ORCID record from paper badger. Could use a tech design session to figure this one out. I'll set up a time for us to discuss.

@Alicole
Copy link
Contributor

Alicole commented Aug 25, 2015

Alternatively you could use a tag cloud approach, where each badge is weighted by the count of badges of each type.

Also it's possible to have an author affiliated to multiple institutions, in some papers we can have up to 30 authors cited. How would you associate the orcid id in each case?

@drammock
Copy link

drammock commented May 17, 2016

have you folks considered using / extending an existing svg font for these badges? The work of optimizing for small display sizes would already be done for you, and you could enhance visual discriminability with fixed colors for each badge. Some possibilities:

  • conceptualization conceptualization
  • funding acquisition funding acquisition
  • writing writing
  • data visualization data visualization

@akenall
Copy link

akenall commented May 17, 2016

Wasn’t aware of this. Thanks! Will look into it.

Amye Kenall
Associate Publisher
Health Sciences and Open Data
Biomed Central
Part of SPRINGER NATURE
Floor 6, 236 Gray's Inn Road
London, WC1X 8HB
Tel: +44 20 3192 2768
Mobile: +44 07 7652 22039
@AmyeKenallhttps://twitter.com/AmyeKEnall

From: Daniel McCloy [mailto:notifications@github.com]
Sent: 17 May 2016 17:25
To: mozillascience/PaperBadger
Cc: Amye Kenall; Mention
Subject: Re: [mozillascience/PaperBadger] Designing Badges (#71)

have you folks considered using / extending an existing svg font for these badges? The work of optimizing for small display sizes would already be done for you, and you could enhance visual discriminability with fixed colors for each badge. Some possibilities:


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com//issues/71#issuecomment-219773203

@drammock
Copy link

@akenall here are two good starting places:

@akenall
Copy link

akenall commented May 17, 2016

Thanks!

Amye Kenall
Associate Publisher
Health Sciences and Open Data
Biomed Central
Part of SPRINGER NATURE
Floor 6, 236 Gray's Inn Road
London, WC1X 8HB
Tel: +44 20 3192 2768
Mobile: +44 07 7652 22039
@AmyeKenallhttps://twitter.com/AmyeKEnall

From: Daniel McCloy [mailto:notifications@github.com]
Sent: 17 May 2016 19:15
To: mozillascience/PaperBadger
Cc: Amye Kenall; Mention
Subject: Re: [mozillascience/PaperBadger] Designing Badges (#71)

@akenallhttps://github.com/akenall here are two good starting places:

  • academiconshttps://jpswalsh.github.io/academicons/
  • font awesomehttp://fontawesome.io/


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com//issues/71#issuecomment-219806170

@Alicole
Copy link
Contributor

Alicole commented May 31, 2016

SVG would be more preferable as it scales better on devices and browsers supporting it.

Also can lead to smaller downloads, but not in all cases. And may be faster to render.

Most latest crop of browsers now support SVG; although this wasn't the case in the past.

Would be good to use standard icons if they are well supported and understood by the target audience.

Well worth considering -- are there any other well accepted icons that can support the other badge types, not listed above?

@drammock
Copy link

drammock commented May 31, 2016

@Alicole I stuck in PNGs here just so everyone can see them at roughly the target size; all the icons are available as SVGs too. Here are some additional ideas:

  • conceptualization conceptualization
  • data curation database or server
  • formal analysis formal (this might be better with some greek letters?)
  • funding acquisition funding acquisition
  • investigation (no existing icon for microscope; could create one)
  • methodology methodology (not wild about this one, maybe box-arrow-box to symbolize a flowchart?)
  • project administration wrench (could add a crossed screwdriver) or cogs
  • resources flask
  • software software or terminal or filecode
  • supervision supervision
  • validation validation
  • data visualization data visualization
  • writing: initial draft writing
  • writing: review/editing editing (could add a comment ballon to the document make it more clearly represent "review") or maybe paragraph or strike

@Alicole
Copy link
Contributor

Alicole commented Jun 1, 2016

@drammock -- thanks all seems fairly comprehensive; interesting to see that there are PNG equivalents, which is good as this means we can have a fallback for those browsers still not 100% compliant with SVG.

Just a case of deciding on the merit of introducing them now or later. Also how we go about marketing them, after the others have been available for a while. I suppose this is something for a wider discussion with various partners of badge scheme.

@drammock
Copy link

drammock commented Jun 3, 2016

Here are drafts of a few of the missing or sub-optimal icons in a gist. They are created to be compatible with FontAwesome insofar as they are created with the same height/width/viewbox and are fairly visually consistent.

@Alicole
Copy link
Contributor

Alicole commented Jun 6, 2016

This sounds great in principle. However I'm always wary of all-inclusive solutions, especially as it's important to be mindful that in the process we don't trip up over intellectual property issues.

As I've noticed one of the fonts have glyphs for Mendeley and Google Scholar, as well as doi and others.

Sometimes a more measured minimalist approach is better -- following less is more.

So that we only include what is needed here for the issue in question, ensuring all glyphs comply with distributed licensing models that are intellectual property free. Creative Commons come to mind.

@drammock
Copy link

drammock commented Jun 6, 2016

@Alicole I'm not sure I understand the objections. Sure, FontAwesome and Academicons contain some official logos, but we don't have to use them for the badges (why would we?). Regarding the license issues, did you look at the license?

Font Awesome is fully open source and is GPL friendly. You can use it for commercial projects, open source projects, or really just about whatever you want.

If your mention of "minimalist approach" refers to file size, there are tools for subsetting Font Awesome (and adding in your own custom glyphs) so that load time would be very minimal.

@Alicole
Copy link
Contributor

Alicole commented Jun 7, 2016

@drammock -- that's fine in principle, but with compliance laws abound, it's important to be careful when approaching anything purporting to be open source.

Moreover why do we always approach everything through dev eyes? -- minimalist in this context, simply means to keep the contents to the bare minimum; just concentrating on what matters to the project or issue in question, without broadening the scope beyond of what is required.

@abbycabs
Copy link
Member Author

abbycabs commented Jun 7, 2016

While I do add font awesome to most of my projects (really liking this work, @drammock!), since this is a widget we load onto external sites, we should probably be more minimal than usual. Thanks for the reminder @Alicole!

I would actually prefer svg for our badges (for some of the excellent points you make @drammock), but I don't think that the whole font-awesome library is necessary. On some other mozilla projects we make a custom lightweight font for specialized icons -- Can we strip down font-awesome for just the badges?

@drammock
Copy link

drammock commented Jun 7, 2016

@acabunoc absolutely. Two tools I've used for subsetting Font Awesome down to just the glyphs I want are fontello and icomoon. Both allow adding your own custom icons into the mix.

@drammock
Copy link

@acabunoc I've finally gotten around to a complete draft of my proposed icon set (a subset of 9 fontawesome icons plus 5 custom ones). Here is a demo page and here are the fontello-generated fonts.

@abbycabs
Copy link
Member Author

This is amazing @drammock! thank you! @josmas any thoughts on migration to these new icons?

@josmas
Copy link
Member

josmas commented Oct 18, 2016

Very nice @drammock !

Is the idea to export them as PNG and use them instead of the current images?

@abbycabs
Copy link
Member Author

I think you can import them as a font instead of loading the PNGs

@drammock
Copy link

@jos the long-term idea is to have this as a webfont, that publisher websites can add to the pageload, and the icons would go in similar to what @acabunoc drew in the lovely colored dots mockup. Specifying colors in the CSS (so that, e.g., the funding icon was always green) could also aid visual differentiation.

@Alicole
Copy link
Contributor

Alicole commented Oct 19, 2016

@drammock -- nice set -- pretty succinct too -- good work.

Should be a massive improvement to existing images -- just need to ensure glyph is self-explanatory.

Have these been approved by other project partners?

@drammock
Copy link

@Alicole this is the only place I've posted it, so other project partners will only have seen it if they saw it here.

@drammock
Copy link

@Alicole regarding self-explanatory, I'm happy to hear opinions about which ones need improvement.

@Alicole
Copy link
Contributor

Alicole commented Oct 27, 2016

@drammock -- have looked at latest version of font awesome and cannot see any other glyphs that might be more appropriate.

So unless any other person objects, it should be OK to go with your selections.

Just a thought: as some publishers might not want to go with these yet, is there any way to provide an option to select the images (possibly as default) or new glyphs instead.

Might also enable some kind of fallback if the font fails to load.

@drammock
Copy link

drammock commented Oct 27, 2016

@Alicole you can see how fallbacks are currently handled by viewing the source of the demo page at lines 230-239: several different font file types are specified (svg, woff, woff2, eot, ttf) and the browser will try them in the specified order until it successfully loads one of them. This does not protect against the fonts being completely unavailable (i.e., if they are hosted on a different server than the web page that is loading them). Possible approaches include: each publisher hosts the fonts locally (hard to roll out updates/bugfixes); hosting the fonts on a CDN (probably not free); mozilla hosts them (vulnerable to route failures: page loads but font doesn't).

That said, there is nothing currently in place for, say, falling back to PNGs if all the fonts fail to load (though even with PNGs there's still the same question of where to host them, with the same ups and downs mentioned above). I also have nothing to say about giving publishers the ability to choose old vs new-style badges... it certainly complicates the deployment; if I were in charge I would only want to support one set of badges, not two, but I'm not in charge.

@abbycabs
Copy link
Member Author

@Alicole I like the option to select images -- this makes a lot of sense since Badgr needs an image to store by default. Images as a fallback also makes sense.

We can talk about this at the MozFest session this weekend. @Alicole, can you make it out to MozFest? (short notice...)

@Alicole
Copy link
Contributor

Alicole commented Oct 28, 2016

@acabunoc -- Just seen your message about MozFest, would be great to finally meet. But as you say this is quite short notice. Maybe next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants