question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RBB] Ahead/Behind Toggle

See original GitHub issue

This is part of #3956 and shows how your branch has diverged from your target branch (ex: master). This will help you understand what changes can be brought into your branch (behind) and what commits are unique to your branch (ahead).

User Flow to check functionality:

  • go to compare view with no toggle showing
  • click on compare tab, click into the “compare a branch…” input, and click on “master” and see:
    • the toggle appear in the compare view
    • Behind (x) selected by default where x is the # of commits your branch is behind “master” (old view showed commits ahead of master)
    • the commits that are missing from your branch that exist in the target branch
  • click on Ahead (y) in the toggle where y is the # of commits your branch is ahead of “master” and see:
    • the commits that exist only in your branch and not the target branch
  • press “x” in the branch input, select another target branch, and see:
    • the compare view where you can toggle behind/ahead
    • the respective commits listed

Changes:

  • create toggle
  • Behind (x) & Ahead (y) counts
  • Behind (x) is selected by default
  • default view shows the commits that your branch is behind (relative to the target branch)
  • clicking Ahead (y) shows commits
  • clicked Ahead (y) shows the commits that your branch is ahead (relative to the target branch)

Other pieces:

  • merging into my branch is in #3998

Before (shows “ahead” by default): screen shot 2018-02-08 at 2 11 27 am

After: image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
shiftkeycommented, Feb 21, 2018

@donokuda @nerdneha I’m happy to proceed as-is and address the UX feels later - whether it’s as part of a PR or end-user testing/feedback

3reactions
shiftkeycommented, Feb 15, 2018

@donokuda mentioned in chat that he’d like to experiment with this toggle against real repository data, so I’m gonna see if I can get a branch together to mimic this experience while we’re wrapping up 1.1, even if we throwaway the resulting code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Method and structure for short range leakage control in ...
... pipeline with improved deactivation logic with look ahead/behind feedback; ... Used with forward body biasing/reverse body biasing (FBB/RBB) threshold ...
Read more >
NPCC REGIONAL STANDARDS COMMITTEE
Registered Ballot Body (RBB) members and others interested in NERC Reliability Standards are encouraged to submit nominations for industry.
Read more >
https://git.jonathanh.co.uk/jab2870/Dotfiles/commi...
if commits.size > max + end +end + +def ahead_behind_string ahead, behind + ... zPu0e_V#?ht){$DKp~CK$8&|rbB#k_}fRDoej}t&t7Qu5zQAjJDm6x_HLp+|Tj0dO( ...
Read more >
Kalou handshake video 'shocked' German politicians - Devdiscourse
... Germany's regional sports ministers, told radio station RBB on Wednesday. ... the TFF came under fire for insisting games go ahead behind...
Read more >
Untitled
Alle mitglieder der avengers, Antique copper light switch covers, ... Tren electrico lima estaciones, Look straight ahead, Behind the scenes mockingjay part ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found