Page MenuHomePhabricator

Diff single revision - implement up/down buttons in toolbar
Closed, ResolvedPublic

Description

We should implement up/down buttons in toolbar - up goes to the next later revision in history and down goes to an earlier revision in history. We also might need a special transition when pushing on the next revision.

This is partly implemented already with the tappedUp() and tappedDown() methods in DiffContainerViewController.

Event Timeline

Per our conversation at sync yesterday:

I was playing around with the up and down arrows in the Mail app, anyway that we could do a similar transition for the individual revision view? It looks like they’re keeping the container / view and just updating the content, that way also it doesn’t create a new stack and going back to the previous page is a single tap. It’d be great if we could do this too, but if not I’m okay with moving to left and right arrows (already mocked up on Zeplin if we need it)

@Tsevener this is looking and behaving so well! I love the animations, they feel so polished and natural!

One small tweak, and this could very well be a design bug, but the up arrow tap target seems a bit smaller than the down arrow tap target, could we increase it by a few points in width?