Homec4science

Add "buoyant" headers to Differential

Authored by epriestley <git@epriestley.com> on Feb 23 2012, 21:26.

Description

Add "buoyant" headers to Differential

Summary:
As you scroll through a diff, add a fixed-position header to the top of the
document to provide context. This is particularly useful with keyboard
navigation.

The technical implementation is that we seed the document with invisible
markers. When the user scrolls past one, we show a header with that text until
they scroll past another.

Test Plan:
Scrolled through a revision, was presented with context.

https://secure.phabricator.com/file/data/5xhh2jmoon6ukr5qjkh3/PHID-FILE-463ituscyhyw7utnox7m/Screen_Shot_2012-02-22_at_2.48.19_PM.png

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley

Maniphest Tasks: T696

Differential Revision: https://secure.phabricator.com/D1673

Details

Committed
epriestley <git@epriestley.com>Feb 23 2012, 21:26
Pushed
aubortJan 31 2017, 17:16
Parents
rPHcdd55eda142d: Use absolute widths for Maniphest task columns instead of "min-width" plus…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHbf3dd8663c00: Add "buoyant" headers to Differential (authored by epriestley <git@epriestley.com>).Feb 23 2012, 21:26