fenix icon indicating copy to clipboard operation
fenix copied to clipboard

[UX] Contextual Menus

Open lime124 opened this issue 7 years ago • 11 comments

User Story: As a user I want options for manipulating things I find on the web including images, links, and text.

Current Design Status:

  • No Fenix specific work done on this
  • Have prior reference from Fennec and Focus

Design Priority: P1

┆Issue is synchronized with this Jira Task

lime124 avatar Jan 16 '19 23:01 lime124

Tif, please provide ETA for this (cc @brampitoyo)

bbinto avatar Jan 18 '19 13:01 bbinto

Guessing an M size, but @brampitoyo might disagree.

shorlander avatar Jan 18 '19 17:01 shorlander

@bbinto - Bram is out until the 28th. He can probably work on this when he returns, but he's also going to be joining Amazon TV/Show at that time. I don't feel comfortable providing a concrete deadline on his behalf without checking in with him first. Sorry I don't have a more concrete answer.

lime124 avatar Jan 18 '19 22:01 lime124

Thanks Tif - these are primary user controls, can somebody else pick this up? Seems pretty basic and needed for the MVP.

bbinto avatar Jan 21 '19 18:01 bbinto

@vesta0 and @shorlander , @st3fan to meet and discuss if current refbrowser implementation is acceptable for milestone 2.

bbinto avatar Jan 23 '19 19:01 bbinto

I’ve identified 4 different situations where a contextual menu can appear:

1. On tap + hold link

The context menu contains:

  • Open in new tab
  • Copy link
  • Copy link text
  • Share link

2. On tap + hold image

The context menu contains:

  • Open in new tab
  • Save image
  • Copy link
  • Share image

3. On tap + hold text

The text selection toolbar (note that it’s not a modal dialogue) contains:

  • Copy
  • Share
  • Select all

4. On tap + hold address bar

In this situation, Fenix should behave as if the address bar has been tapped. This means that:

  1. The URL is highlighted
  2. The keyboard is up
  3. A grey shade is shown over the web content

The text selection toolbar contains:

  • Cut
  • Copy
  • Paste
  • Share

brampitoyo avatar Jan 29 '19 03:01 brampitoyo

@colintheshots This issue is now ready for your feedback, and to estimate.

brampitoyo avatar Jan 29 '19 03:01 brampitoyo

Also see #264: This functionality is provided by a component.

Note that case 3 and 4 above are system level text selection toolbars.

pocmo avatar Jan 29 '19 08:01 pocmo

@lime124 is UX ok with the UI that has been done in A-C for the contextual menus? If so we can close this.

vesta0 avatar Mar 12 '19 17:03 vesta0

Looks good to me, thanks!

shorlander avatar Mar 12 '19 20:03 shorlander

This work forgot SEARCH, for both images and text.

uniquePWD avatar May 26 '19 04:05 uniquePWD