Description
The sticky header is meant to be a configurable component that adapts to the needs of a given page/namespace, user, or project. The general behavior of the sticky header (showing once you've scrolled past the page header) will remain consistent; the elements inside of the sticky header should vary based on your context.
The purpose of this task is to imagine possible configurations so that we can build the sticky header with the necessary flexibility and constraints in mind.
The general structure of the sticky header:
Rough configuration requirements
The sticky header should have the ability to be configurable for up to X elements. This includes:
- The ability to add and remove functionality from the sticky header using gadgets and user scripts (ex: removing the language button, adding a watchlist button)
- The ability to add gadgets and other new functionality (ex: clock) to the sticky header
- The ability to set different functionality based on the wiki and page (for example, we should be able to configure the sticky header on a talk page differently than on the main page)
- icons/styling???
- Configurable elements on the sticky header must be either links and menus. No other elements are permitted.
Examples of configurations
Examples of how this might differ based on context:
main namespace | |
talk namespace | Page title is displaying section title, Languages replaced by New section (styled as a framed button), Talk replaced with Article, Edit and Edit source removed, Watch added |
gadgets | Section title removed, Watch, More tools, and Watchlist added, Languages replaced with Last modified gadget |
Commons | History removed, Languages replaced with Upload (styled as a primary button) |
Acceptance criteria
- Document initial requirements for sticky header configuration on wiki