Page MenuHomePhabricator

[web] Introduce navigation arrows
ClosedPublic

Authored by tomek on May 26 2022, 8:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 13 2024, 5:05 PM
Unknown Object (File)
Nov 13 2024, 5:05 PM
Unknown Object (File)
Nov 13 2024, 5:05 PM
Unknown Object (File)
Nov 13 2024, 5:05 PM
Unknown Object (File)
Nov 13 2024, 5:04 PM
Unknown Object (File)
Oct 25 2024, 12:09 AM
Unknown Object (File)
Oct 25 2024, 12:09 AM
Unknown Object (File)
Oct 25 2024, 12:09 AM

Details

Summary

Add arrows that allow users to navigate forward and backward in history.
https://www.figma.com/file/a1nkbWgbgjRlrOY9LVurTz/Comm-%2F-Desktop-app?node-id=1272%3A88750

arrows.png (468×812 px, 36 KB)

Test Plan

Open the app and check if arrows are displayed correctly.
Click right arrow - nothing should change.
Do a couple of tests by clicking left and right arrows, both in app and in the browser and by clicking some links. Everything should work.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.May 26 2022, 8:43 AM

Code looks good to go


I know these buttons are in the Figma designs, but isn't it redundant to include our own back/forward navigation buttons when the browser already provides a UI for that? I probably should have asked before work started/diffs were put up.

Left a note here on Linear: https://linear.app/comm/issue/ENG-1193#comment-d05aa9fb

This revision is now accepted and ready to land.May 27 2022, 10:12 AM

@atul's point is a valid one... we might want to hide these behind a flag for now, and reenable it for macOS / Windows when we get around to building out the Electron app

Hide arrows behind a flag

This revision was automatically updated to reflect the committed changes.