bkardell / outline

3 stars 2 forks source link

Use case: Existing content #1

Open jakearchibald opened 7 years ago

jakearchibald commented 7 years ago

I have an existing CMS that is full of flat-outline content. I want to transition to using nested outlines from now on, but I don't want to have to support two models.

Ideally, with a template like this:

<h1>Important news!</h1>
{articles.forEach(article => 
  <article>{article}</article>
)}

…articles could be a mix of nested outlines and flat outlines without breaking usability.

bkardell commented 7 years ago

Yeah I agree existing, flat content is a use case that all proposals need to answer what is affected/how when fed this. I already created https://github.com/bkardell/outline/blob/master/use-cases/0.html which is just totally flat, but would you like to create a 1.html that shows a mix of some kind (or even several if you think that is apt) during what such a transition might look like?

It's pretty much doable through the gh web ui, but if you would rather just paste it here I can add it

bkardell commented 7 years ago

merged... do you think we close these and just say the items in the use case folder are the inputs you have to answer for or do we leave these open?

jakearchibald commented 7 years ago

My only concern is "success" might not be well captured by the use-cases.

bkardell commented 7 years ago

well, I'm all ears for thoughts and ideas. I'll leave this open for now.

bkardell commented 7 years ago

@jakearchibald I am not sure if you think that this belongs under 'existing content' or deserves it's own use case ('existing content' is a big umbrella as phrased) but I added a 3.html which contains another thing I've seen a lot, mismatch between what the DOM is saying and what the heading levels appear to be saying

bkardell commented 7 years ago

I feel like we also need some use cases which display:none some headings such that we have

h1 ... h2 ... h3 ... h2

and then the first h2 is hidden, etc... because if we are re-numbering, I'd like to know how that exposes to the AT tree.