Page MenuHomePhabricator

Include the "Notices" icon within the sticky header (Vector 2022)
Open, Stalled, MediumPublic

Description

This task involves the work with including a button within the sticky header that would enable people to see the notifications they've received without having to navigate away from where they are on a given page.

Story

As someone who often navigates to a talk page to read the entirety of a message from a discussion I'm subscribed to and Echo has notified me about, I'd value a quick way of returning to a view (read: Echo notification "tray") where I can see all of the notifications I've received without having to navigate away from where I am on a given page , so that the "receive new comment notification --> review new comment in context --> decide what (if any) action to take --> move on to the next new comment notification --> " loop I often go through is more easeful.

Event Timeline

ovasileva triaged this task as Medium priority.Nov 2 2023, 12:06 PM
ovasileva moved this task from Incoming to Current Fiscal Year on the Web-Team-Backlog-Archived board.
Jdlrobson subscribed.

We originally didnt add Echo to the sticky header due to technical debt relating to the extension (T343838) and uncertainty around whether it will be ported to Codex. I'd say that's a subtask(blocker) for this task.

Jdlrobson changed the task status from Open to Stalled.Nov 20 2023, 11:04 PM

This works for me:

/* Vector 2022: Make the page header sticky instead of transitioning to the sticky header. This section is copied from Quiddity; see link above */
.mw-header {
  position: fixed; 
  background: white; 
  width: 99%;
  top: 0;
  left: 12px;
  padding: 0;
}
/* Nudge content down to account for no-default gap */
@media screen  {
  .vector-sitenotice-container {
   padding-top: 44px;
  }
}
/* hide the sticky header (different from Quiddity's mod, which floats a mini sticky header at the upper right, below the personal menu) */
@media (min-width: 300px) {
  #vector-sticky-header {
    display:none;
  }
}

/* End of sticky header section copied from Quiddity */

You can see more at https://en.wikipedia.org/wiki/User:Jonesey95/vector-2022.css