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
Side-by-side diff view #1925
Comments
Thanks your feedback! But may take long long time... I am not sure.. 😅 |
No problem. 👍 Yeah, it seems harder than I thought. I know you take care of everything alone here. Thank you for your work! |
Hmmm... I don't think you need to close it, you can keep it open maybe one day this can be implemented. |
@unknwon 👍 |
I'm currently working on this, will claim the issue as soon as I'm in front of a computer again |
This is claimed to be implemented by merging #2296 |
shouldn't this be closed? as the feature was merged with #2296 :) |
@bkcsoft auto-close happens with commits are merged to |
Aah, that explains it :)
|
Close as fixed. |
just installed Gogs 0.9.115.0103 on the server, but can't find where to see the diff side by side, only Split View is available. Searched the discussions, but not found how to enable this function on our installation. Can anyone help me to get that working? |
@illyasv Split view is Side-by-Side view :) |
@bkcsoft but it doesn't work that way, please take a look at the attachment, when i click on Split View it just shows the same as on the screenshot, and there is no other option to change to other view. |
@bkcsoft one more adjustment to the issue: it appears when I want to compare branches, if I go to commit and open it's details, then the diff is shown side by side, but if I go to compare branches, the side-by-side option doesn't work. |
@illyasv Seems to work just fine on try.gogs.io |
@bkcsoft I've just created a TestRepo1 there and added you as a collaborator. If you go to the Source tab, then click on the green "Compare" button, choose master and branch1 to compare you will see there is an option there to see a Split View, but it doesn't work, if you click on it you'll stay with the same inline view. Okay, i think it works this way not only for this TestRepo1, but for all currently hosted on try.gigs.io. Please try and you'll see what I mean. |
Interesting, the compare-controller doesn't have any logic for split-view 😕 Should be relatively easy to add but I unfortunately don't have any time to work on it 🙁 @unknwon Maybe open this again? or a new issue for that bug. |
@bkcsoft I think file a new issue would be cleaner and more appropriate? |
* Switch to keybase go-crypto (for some elliptic curve key) + test * Use assert.NoError and add a little more context to failing test description * Use assert.(No)Error everywhere 🌈 and assert.Error in place of .Nil/.NotNil
I don't know how hard it would be to implement it. Feel free to close this issue if you don't intent to bring this to Gogs.
Side-by-side diff is supported by GitHub and GitLab, and I think it is much easier to see a what changed in a commit. Don't know what tool they use, though.
The text was updated successfully, but these errors were encountered: