We need to find the right order for the elements in the sitelink sections when viewing and editing. They need to be nicely aligned and not jump around too much. The elements are:
- site id
- remove button
- badges
- input field
- line for new sitelink
| Lydia_Pintscher | |
| Nov 28 2014, 11:49 AM |
| F21248: sitelinksorder.png | |
| Dec 15 2014, 10:25 AM |
We need to find the right order for the elements in the sitelink sections when viewing and editing. They need to be nicely aligned and not jump around too much. The elements are:
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Jdlrobson | T78430 [Epic] Getting Wikidata to render nicely on mobile web | |||
| Open | None | T158181 Aim for workflow equivalence for MediaWiki on desktop and mobile web | |||
| Open | None | T95878 [Story] Make Wikidata editable on mobile web | |||
| Open | None | T95649 Create and document a stable framework for extending the Wikibase UI | |||
| Stalled | None | T40968 Keyboard-navigability of the repo UI | |||
| Open | None | T54136 [Epic] Redesign Item UI for Wikidata repo | |||
| Invalid | None | T70903 [Story] Implement new SiteLink UI | |||
| Resolved | Tobi_WMDE_SW | T76215 find the right order for the elements in the sitelink section |
As to the mock-up, the plan is to have the badges at the end of a line / after the page name input box in order to be able to prevent jitters when toggling edit mode. This, of course, is effective only if the space for the "remove" button is reflected by white space in non-edit mode. However, applying that order involves some technical complexity.
Using CSS flexbox, the mock-up could just be adapted "as is". However, due to the lack of compatibility, this options is disregarded. (Sensible) options from a technical perspective:
The decision should, of course, also depend on where the badges actually make most sense to put. Before the page name, the badges might be easier to scan/read as their offset does not depend on the length of the page name. However, badges are applied TO pages. The flow of specifying the page first and assigning badges afterwards probably feels more natural.