Improve file actions on mobile.

Review Request #14125 — Created Aug. 28, 2024 and submitted

Information

Review Board
release-7.x

Reviewers

On mobile, file actions were being displayed mostly off screen, to the
right or left of the file attachment thumbnail. This change fixes things
by displaying the file actions below the file thumbnail. We also make
sure to hide the actions if the user opens the caption editor.

  • Tested using file actions on mobile and desktop.
  • Tested opening the caption editor while file actions are open.
  • Tested tapping and hovering on multiple different thumbnails, opening
    and closing file actions for each.
Summary ID
Improve file actions on mobile.
On mobile, file actions were being displayed mostly off screen, to the right or left of the file attachment thumbnail. This change fixes things by displaying the file actions below the file thumbnail. We also make sure to hide the actions if the user opens the caption editor. Testing Done: - Tested using file actions on mobile and desktop. - Tested opening the caption editor while file actions are open. - Tested tapping and hovering on multiple different thumbnails, opening and closing file actions for each.
7bcefc085aa20343a4b5eed8a10b73bfe240da13

Description From Last Updated

Let's sort these alphabetically.

daviddavid

We only use this once. Can we just put it inline in the conditional instead of defining a variable for …

daviddavid
maubin
david
  1. 
      
  2. reviewboard/static/rb/css/pages/reviews.less (Diff revision 2)
     
     
     
     
    Show all issues

    Let's sort these alphabetically.

  3. Show all issues

    We only use this once. Can we just put it inline in the conditional instead of defining a variable for it?

  4. 
      
maubin
chipx86
  1. Ship It!
  2. 
      
david
  1. Ship It!
  2. 
      
maubin
Review request changed
Status:
Completed
Change Summary:
Pushed to release-7.x (c85a124)