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
Unknown Object (File)
Sat, Jan 25, 7:46 PM
Unknown Object (File)
Fri, Jan 24, 4:14 AM
Unknown Object (File)
Fri, Jan 24, 4:14 AM
Unknown Object (File)
Fri, Jan 24, 4:14 AM
Unknown Object (File)
Fri, Jan 24, 4:14 AM
Unknown Object (File)
Fri, Jan 24, 4:14 AM
Unknown Object (File)
Tue, Jan 21, 10:35 AM
Unknown Object (File)
Sun, Jan 19, 5:53 PM
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.