TransitionbyDesign / homemaker

GNU Affero General Public License v3.0
0 stars 1 forks source link

Summary text box for pop ups from forestry #50

Open Charlie-TbD opened 3 years ago

wu-lee commented 3 years ago

Can you clarify what this is asking for @Charlie-TbD?

Charlie-TbD commented 3 years ago

Whether it's possible for there to be a summary text entry for each article type which only appears in the pop up box. The first line of body text doesn't give enough of a hint about what the article is about. So the pop up has the hero image/audio/video and then a couple of lines of bespoke text and a button.

This would be entered into Forestry in a slightly different way. Perhaps even structured as a subtitle as per:

image

wu-lee commented 3 years ago

I think we can add an extra field - we can call it summary?

I infer it needs to be:

Although saying that, that "subtitle" field is neither... Let me know if you do mean you want non-formatted and/or single-line.

If the summary field is empty, shall I have it default to using an excerpt from the main text? Or shall I make it mandatory? (Otherwise some pins could have no text.)

wu-lee commented 3 years ago

Partially implemented. But currently it doesn't understand markdown in the summary field, because I can't quite get someone's code snipped to work as advertised. Waiting for a response on the forum in question, else I will find another way,

Charlie-TbD commented 3 years ago

Is the markdown issue sorted now?

wu-lee commented 3 years ago

Not so far, been tackling backlogs elsewhere. No response on the forum so far: https://github.com/gatsbyjs/gatsby/issues/5021

wu-lee commented 3 years ago

Ok, found and implemented a solution for this as part of the earlier work. Summary text is now converted from markdown properly.