Page MenuHomePhabricator

Make actions menu sticky
Open, LowPublic

Description

User story

As an advanced editor, I want easy access to the actions menu so that I can perform the actions I want (like editing or selecting the history of a page) without having to scroll all the way to the top of the page

Acceptance criteria

  • While in AMC mode, the actions menu will be sticky and appear upon scrolling up
  • All items on the actions menu and overflow menu will function as expected

Prototype

@alexhollender's prototype https://mobile-contributions.firebaseapp.com/nav4.html
@Jdrewniak's POC https://drive.google.com/file/d/11EoCJDBiyiqq-vO9-xOLm00b-0wTCziL/view

Dev notes

  • Test with CentralNotice and subtitles
  • {{{pageactionshtml}}} must be moved outside of pre-content heading-holder container in minerva.mustache.
  • Add the following CSS:
.minerva--amc-enabled .page-actions-menu {
	position: sticky;
	top: 0;
}

Event Timeline

ovasileva triaged this task as Normal priority.Apr 15 2019, 5:48 PM
ovasileva created this task.
ovasileva moved this task from Backlog to Stage 2 on the Advanced Mobile Contributions board.
Niedzielski updated the task description. (Show Details)Apr 15 2019, 6:26 PM
Niedzielski added a subscriber: Jdrewniak.
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptApr 15 2019, 6:26 PM
ovasileva lowered the priority of this task from Normal to Low.Aug 28 2019, 3:13 PM