Page MenuHomePhabricator

Hovercards - don't let them run off the right edge of the viewport anymore
ClosedPublic

Authored by btrahan on May 7 2015, 9:49 PM.
Tags
None
Referenced Files
F13177812: D12759.diff
Wed, May 8, 7:58 PM
Unknown Object (File)
Tue, Apr 30, 5:19 PM
Unknown Object (File)
Tue, Apr 30, 5:19 PM
Unknown Object (File)
Tue, Apr 30, 5:19 PM
Unknown Object (File)
Tue, Apr 30, 5:18 PM
Unknown Object (File)
Mon, Apr 29, 2:35 PM
Unknown Object (File)
Thu, Apr 25, 12:45 AM
Unknown Object (File)
Apr 11 2024, 8:35 AM
Subscribers

Details

Summary

Fixes T7524.

Test Plan
  • made a task with a comment including another task. resized window so still desktop size and task reference on edge of window. invoked hovercard by bovering over task reference and noted the hovercard was completely visible.
  • opened the durable column and made a task reference. invoked hovercard by hovering over task reference and noted the hovercard was completely visible.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan retitled this revision from to Hovercards - don't let them run off the right edge of the viewport anymore.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.

add , 10 to parseInt call like the other cool kids

epriestley edited edge metadata.
epriestley added inline comments.
webroot/rsrc/js/core/Hovercard.js
102–107

Maybe toss this.

This revision is now accepted and ready to land.May 7 2015, 10:59 PM
This revision was automatically updated to reflect the committed changes.