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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep track of brand guidelines/presskits/etc. explicitly #2846
Keep track of brand guidelines/presskits/etc. explicitly #2846
Conversation
My suggestion would be to keep the |
Do you mean My motivation for |
馃憤 A fair point
Ah, now I get it. In that case, then, I agree with this as-is. We just need to make sure it's clear enough that the new entry should only be included when the URL for the brand guidelines differs from the source URL so we'll need a better example (e.g., Corona Engine) for |
Not 100% sure if we're on the same page yet. The example in Either way, I'm not against updating the example to Corona Engine. I'm not sure what serves as a better example: one where the |
Fix "and/r" to "and/or" Co-Authored-By: Peter Noble <PeterShaggyNoble@users.noreply.github.com>
My suggestion is that we only use the |
Let me ask you something first. Do you agree that it would be nice if we could link to the brand guidelines in on the website? If not: sure, that works just fine. If so, how would you reckon we achieve that if we only use the
If you agree with the above, then how do you distinguish 1 from 3 if Alternatively, we could allow |
Ah, OK, I get you now; I was coming at it from a completely different perspective. Although not ideal, the potential duplication between the two is definitely more straightforward than the Boolean option. One thing I'd still suggest for the new website is that if |
After your last comment I realized I should have been more specific about my idea behind adding the field 馃槂
That should be doable when we implement this on the website 馃憤 Just FYI, I had not yet thought of having a link to the Source as well but that could certainly be useful! |
Any input regarding this from newer @simple-icons/maintainers? (it would be cool if I could include these links in the redesign) |
I imagine 9/10 times if there are brand guidelines, that is where we've extracted the logo from in the first place - though I know (in cases such as some of these Google icons) that may not always be the case. In an ideal world, I'd say we should be showing |
I will state again that I would be strongly against adding a Also, just to clarify, I don't think we as maintainers need to take any action in adding brand guidelines for existing brands beyond those we are interested in ourselves. Contributors are welcome to do the same for existing brands they're interested in. The only thing we ask now is of new contributions and updates to existing icons to consider this field. As for the duplication, I guess that is the main point of discussion here (beyond whether we want this to begin with). |
I totally agree with @adamrusted. Actually, how much would "bloating up the JSON file" really be a problem? Concerning the different attributes: And in my opinion adding new rules like "only add a How about just always adding a If there are no brand guidelines, we could just add a NaN/None value or an empty string (not sure what the JSON equivalent is). E.g. No brand guidelines: Source & guidelines are the same: |
Looking at the JSON linter, there just wouldn't be a value, and on the front-end it's just a simple check of whether the data exists before displaying it. I think you've perfectly captured what I was trying to say above with the two different links, and fully get @ericcornelissen's point about not wanting to include links to just homepages etc. At a cursory glance, the PR covers that perfectly - but will look at it again when back in front of my PC tomorrow. |
To not mix up vocabulary: By So mostly this will benefit us maintainers and maybe not the average user. I don't think we necessary need to include an attribute that will link to the "Do's and don'ts" of using a specific icon. |
That is exactly what the intention of this PR s @fbernhart. It should benefit the average user to the extend that they should care about the guidelines of the brand, though admittedly many will not. And indeed, the JSON equivalent of None/NaN/empty string is to just leave the value out, this is captured by making the field not-required in the JSON scheme (
I expect this to usually be the same page/set of pages, but of course that depends the brand. I think this should really be decided on a case-by-case basis. Though it is useful for reviews to have this page, this page can (and should) be linked in the PR description, whereas the JSON data is ultimately for users of Simple Icons. In this regard, if you ever wonder why the original color in the JSON data is as it is, check out the PRs for that brand! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Is it worth updating the Issue template for new / outdated icons, to request the second link?
I'd say this falls under the part:
But if you have suggestions for making it more clear/explicit, I'm all ears 馃檪 |
You're right. I thought our Issue template asked for a link to the SVG separately, it doesn't 馃檭 |
I really like to see this one merged. |
I'll fix these momentarily 馃檪
From my point of view, no unless someone doesn't want this (e.g because of duplication). It's a non-required request for adding a link to the brand guidelines. As for size concerns, the only file whose size will be significantly increased is the generated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging as only difference is addition of 'guidelines' data. Thanks for your work on this @ericcornelissen 馃挴
Cool, than I can look into integrating this into the redesign (#980) as well! 馃槃 |
# New Icons - Acclaim (#4820) - Alitalia (#4808) - Amazon DynamoDB (#4780) - Bookmeter (#4829) - Cachet (#4822) - Corsair (#4798) - Crystal (#4779) - Eagle (#4809) - Foxtel (#4784) - IBM Watson (#4634) - Kongregate (#4733) - Lydia (#4836) - Namecheap (#4811) - OPNSense (#4557) - Solidity (#4740) - Songoda (#4810) # Updated Icons - AliExpress (#4815) - Alipay (#4815) - Bing (#4758) - Corona Engine (#2846) - Corona Renderer (#2846) - Delicious (#4499) - Firebase (#2846) - Firefox (#2846) - GitHub (#2846) - GitHub Actions (#2846) - Gmail (#4470) - Google Assistant (#4401) - Google Calendar (#4522) - Klook (#4724) - LG (#2846) - LGTM (#2846) - Taobao (#4815) - Toyota (#2846) - Umbraco (#4795, #4794)
The redesigned website now provides a link to the guidelines (if available), see e.g. the Corona Engine 馃帀 |
Issue: Closes #755
Description
This is a candidate implementation of the feature proposed in #755. It adds an option field to the data file called
guidelines
which is used to link to the brand guidelines/presskit/similar if they exists. I also added a couple of guidelines as examples.Note that this data will not be added to the NodeJS package!
This approach feels a bit awkward because in many cases the
source
andguidelines
will be the same exact URL. However, for the website redesign (#980) I think it would be nice if we could link to the guidelines explicitly (if they exist), as seen on the BrandColors webpage:An alternative approach could be to make one of
source
orguidelines
required? However, the existing data would need to be updated for that, which is quite a lot of work 馃槄