Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve diff editor title when comparing files #4144

Closed
joaomoreno opened this issue Mar 14, 2016 · 10 comments
Closed

Improve diff editor title when comparing files #4144

joaomoreno opened this issue Mar 14, 2016 · 10 comments
Assignees
Labels
feature-request Request for new features or functionality ux User experience issues verified Verification succeeded

Comments

@joaomoreno
Copy link
Member

Related to #3954

Maybe we could use the subtitle part to show the folders, like:

tK4ZY9_monkey.txt ↔ monkey.txt - /private/var/folders/lr/b36df5dx0y7cy_mywg5r623800000gn/T, /Users/joao/Work/fakeproject

image

@joaomoreno joaomoreno added the ux User experience issues label Mar 14, 2016
@bpasero
Copy link
Member

bpasero commented Mar 14, 2016

I thought about replacing the path with something shorter if it is actually a substring of the tmp path (e.g. $tmp/).

@bpasero bpasero modified the milestones: April 2016, March 2016 Mar 14, 2016
@joaomoreno
Copy link
Member Author

Why 👎 when we are actually doing it across the product?

image

image

image

image

@bpasero
Copy link
Member

bpasero commented Mar 14, 2016

@joaomoreno we used to have what you suggest and I always felt it was hard to read what exactly is being compared so I chose the easiest thing that could possibly work and just show 2 full paths. the issue here is the ugly tmp path, I did not hear complaints otherwise.

@joaomoreno
Copy link
Member Author

That's cause no one uses the Compare with action 💃

Likewise, I think it looks awkward here:

image

@bpasero
Copy link
Member

bpasero commented Mar 14, 2016

Nah, how do you think I got so many points on SO: http://stackoverflow.com/questions/30139597/visual-studio-code-is-there-a-compare-feature-like-that-plugin-for-notepad

;)

@bpasero
Copy link
Member

bpasero commented Mar 14, 2016

I still think in any case it would help to replace the long tmp path with something short.

@bpasero bpasero modified the milestones: April 2016, March 2016 Mar 14, 2016
@bpasero
Copy link
Member

bpasero commented Mar 14, 2016

Examples where imho it does not work:

Comparing a workspace local file to out of workspace

image

Comparing root level file to other file

image

@stevencl @bgashler1 maybe you have some ideas

@bpasero bpasero modified the milestones: Backlog, April 2016 Mar 14, 2016
@bpasero bpasero added feature-request Request for new features or functionality workbench labels Mar 14, 2016
@bpasero bpasero changed the title Diff editor title is cryptic Improve diff editor title when comparing files Mar 14, 2016
@bpasero
Copy link
Member

bpasero commented Mar 14, 2016

@joaomoreno I also think in your case it makes no sense to show xyz_monkey.txt, I think it would make more sense to allow for the --diff parameter to set a label for the left hand side so that the context from where this file is from becomes clear (e.g. the commit hash or message).

@joaomoreno
Copy link
Member Author

+1 on labels, git even supports that such that it would appear as Theirs and Ours in the UI

@bpasero
Copy link
Member

bpasero commented Mar 24, 2016

Closing in favour of #4452

@bpasero bpasero closed this as completed Mar 24, 2016
@bpasero bpasero self-assigned this Mar 24, 2016
@bpasero bpasero removed this from the Backlog milestone Mar 24, 2016
@bpasero bpasero added the verified Verification succeeded label Apr 29, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality ux User experience issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants