In T306630, we are planning to add the table of contents for each search result to its special:search page quickview panel. This ticket is to determine how we handle situations where there are many sections, long section titles, etc. For example, do we want to collapse the table of contents after a certain number of sections? Do we only want to show top-level sections? Only show the first 10?
Proposed Design
Desktop
Mobile
Link to design in Figma
Desktop
Mobile
Refer to this ticket for full acceptance criteria