component: TOC flags with tooltip
Context
There are three uses cases where a flag gets displayed on a book component on chapter-processed books:
Priority order:
- When the book component is excluded from the generated toc.xml (#1017 (closed))
- When the book component is missing the metadata value required to place it in correct order (also applies to books within a collection)
- When the book component is repeated in more than one part
Note: in future versions, the publish action should be blocked when a book component or book has the "TOC?" flag. This applies to manual and automatic publishing.
Design
See Figma design here