Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,338
Community Members
 
Community Events
185
Community Groups

See the master branch's source of a file while reviewing a pull request

When i review PR,  I need an option to see the base code by having a hyper link on the "src/features...".

Example file

 

Screenshot from 2019-11-24 16-39-56.png

Of course the "Side-Side by compare helps". But i just want to see the code. Why what is the line count? Read to see what was there before.

The only way i can go check the current code as i want to see is > Source > Navigate to the file.

 

 

1 comment

Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 24, 2019

Hello @Kishorekumar Neelamegam,

Thanks for reaching out.

There's indeed no direct link to a file on the destination branch, however there's a faster way to navigate than switching to Source and searching for that file in the tree.

You can first navigate to that file on source branch by clicking on ··· > Open file. Then simply select the relevant branch in the dropdown just above the file.

Here's a screencast:

Base branch file.gif

Hope this helps.

Cheers,
Daniil

Cool. Thanks for tip

 

But wouldn't a direct href help an user ?

Taking directly to the code since the user already is in the master branch of the PR.

Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 25, 2019

No worries :)

But wouldn't a direct href help a user?

Well, it would definitely help in your use case. I guess we tried to balance the design to be functional enough but remain streamlined,  simple and easy to use, as in not overloaded with links and actions. I can't say that looking at the destination branch version of a file in a PR is a common use case, whereas sometimes the source branch version is helpful.

Anyways, please don't hesitate to raise a ticket in our public issue tracker so that we know about your workflow and consider improving it — this way you'll get notified when we do something about that ticket.

Cheers,
Daniil

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events