mapbox / batfish

A static-site generator for React and Markdown
ISC License
126 stars 17 forks source link

Second pass through examples #116

Closed davidtheclark closed 7 years ago

davidtheclark commented 7 years ago

The purpose of our first pass was to get more people than just me tinkering with Batfish and testing out the APIs. Now that that's done, we should make a second pass through examples with different goals.

No longer should we throw whatever we want into examples just to see what happens. We should build the examples with the intent to help users understand things. While developing locally we can mess with examples all we want to test what we're doing; but at some point we need to stop committing those messes to the repo.

Based on conversations with @colleenmcginnis @jfurrow @lshig and @samanpwbb, here's a little plan for this second pass:

What that plan in mind, here's a list of examples I think we should end up with after our second pass:

Miscellaneous examples — each with a sampling of features:

Focused examples — each sharply focused on the thing it's exemplifying:

If you're interested in building one of these, please put your name next to it.

cc @mapbox/frontend

jfurrow commented 7 years ago

@davidtheclark These examples sound good. I assigned a couple of them to myself.

lshig commented 7 years ago

I also assigned myself some examples! To clarify, we are implementing basic level examples for each of the focused examples right?

davidtheclark commented 7 years ago

@lshig: I was thinking they'd be like the existing "internal-routing" example — super basic, not even tainted by CSS — just focused on the particular feature.