Page MenuHomePhabricator

Consider integration between sidebar and tabbed code sample gadget
Closed, ResolvedPublic


In the API Portal, I intended to use Jayprakash12345's excellent tabbed window gadget (T255483) for code samples. It works by looking for subpages with titles that start with Sample code: and uses that to build the tabbed window. Here's an example. The sidebar feature in the API Portal works by looking for subpages and assembling them into a sidebar. Because of this, code sample subpages will show up in the sidebar when we don't want them to.

To do: Choose a modification to either the sidebar or the gadget that will allow us to both have tabbed code samples and a sidebar that includes only non-code-sample pages

See also: Another requested change to the sidebar: T260310 Allow ordering within the sidebar