-
Notifications
You must be signed in to change notification settings - Fork 234
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
Example Tagging #27
Comments
Right on, that's what I was trying to get at here: #8 (comment) Could we just do a YAML list like this?
Then drop those tags into a data-tags attribute on the card? Just a little JS needed to filter visibility of cards without one active tag. Might be annoying enforcing the defined tags, but with a good start I think people will play along if the READMEs are clear. |
@brendanfalkowski ah yeah, that would be great! I'm not totally familiar with YAML so your code example is really helpful. I'll go through and populate the tags for the examples and start seeding more. |
@bradfrost That's how YAML works in Statamic — pretty sure Jekyll can parse the same. Looks about equivalent: http://stackoverflow.com/questions/23773873/jekyll-tag-list-on-a-page Actually like this list format more (haven't seen that before):
Maybe try with a handful before tagging them all? |
Alright, I've dropped in the tagging to |
+1, I like this list, helps add clarity to question, what is a style guide? |
I'll get the tags doing something cool in Jekyll soon. |
I've merged all the examples and guides together, so now they're just examples. I've also added an extra tag called "patterns", based on Brad's blog post. That'll help people find the pattern libraries from the code standards style guides. |
Ah whoops! I should have read this before creating #39 |
Updated the tag style a bit so it doesn't look like description text. Also, I used a #backend tag for my Gravity Department example because I have a style guide for PHP code. I know a few other places these exist. Pretty sure that's worth documenting, no? |
The tag styles look great! And yeah, if we're keeping the 'frontend' tag in there, I suppose backend makes sense. I thought 'frontend' was replaced by 'patterns' so frontend would be retired, but it does work in the context that's on the site now. I'm fine keeping it if you all are. |
Technically "code" (frontend or backend) + "ui" would cover all three cases. Not sure if others would find it useful to have "backend" code guides separated from "frontend". They're all in one place for most code guides. |
@brendanfalkowski: You're on fire! The tags look great! I'll make them links on Friday so people can filter examples by tag. I think a backend tag is useful, definitely. |
really like these! |
Yeah these are great. One of the things we'll want to make sure with the tagging functionality is that the URL is updated so that we can link to a specific flavor of styleguide. Not sure how hard that is, but maybe that's something I can help out with. |
So...wanted to add tag filtering a while ago. Check this out: http://styleguides.io/examples.html Think we could expand the use of tagging to cover #85. It's only implemented on that one page, and it's a little manual to configure but should be adaptable to use in single/multiple instances on page. Needs a bit of styling love, but it works well enough as-is because you can stack tags to narrow down. From a UX standpoint, it'd be nicer to have each button behave as a toggle so the reset button isn't really needed, but I want sleep now. Here's the CodePen I used for testing if you want to hack away: http://codepen.io/brendanfalkowski/pen/QwdKMK Yay prototyping! Let me know what you think. |
OMG! this is brilliant! I've been trying to do this for ages on another On 8 January 2015 at 08:33, Brendan Falkowski [email protected]
|
Sexy! Get it in there! hahaha |
AWESEOME! 👍 |
Before sinking my teeth in and committing a whole shitload of examples, I think it would be a good idea to get a taxonomy established to classify them. With the current infrastructure, is tagging possible? Tagging would be ideal since many style guides often incorporate multiple categories (some are both component libraries and coding guidelines, others are branding and writing documents, and so on).
I'm thinking a general list of tags can help people filter through the resources to hone in on examples that feature the things they're looking for. A proposed initial list of tags:
Thoughts? Level of effort?
The text was updated successfully, but these errors were encountered: