backdrop-contrib / tocbot

Builds a table of contents (TOC) from content headings.
GNU General Public License v2.0
2 stars 2 forks source link

Add a block description #53

Closed laryn closed 1 month ago

laryn commented 11 months ago

It might be nice to add a block description if we can think of a nice short one:

CleanShot 2023-12-15 at 13 40 09@2x

olafgrabienski commented 11 months ago

@laryn Thanks for your suggestion! A block description would be nice, indeed! What do you think of the following descriptions? Do you like a particular one, or do you have other ideas?

olafgrabienski commented 11 months ago

Voilà a mockup to see if one of the descriptions from above is short enough:


olafgrabienski commented 1 month ago

Coming back to this. @laryn What do you think about the description text ideas? As you see in the mockup, even the longer descriptions don't need very much space.

I like the one in the second screenshot:

A table of contents (TOC) built from your content headings.

Do you have a favorite (or other ideas)?

laryn commented 1 month ago

I like that one, too.

olafgrabienski commented 1 month ago

@laryn Thanks for your feedback! Are you maybe up to provide a PR? (Or a hint, where and how to add a block description?)

laryn commented 1 month ago

@olafgrabienski You can add a ‘description’ entry after the one for ‘info’ here:

https://github.com/backdrop-contrib/tocbot/blob/1.x-1.x/tocbot.module#L32

olafgrabienski commented 1 month ago

Thanks for the hint, @laryn! I've added a PR at https://github.com/backdrop-contrib/tocbot/pull/55 and merged it right away.

olafgrabienski commented 1 month ago

@laryn Are you interested to address one of the other open issues before I make a new release?

laryn commented 1 month ago

@olafgrabienski No, feel free to release, I don't think I'll be working on anything on this module in the near future. 👍