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

Enhancement: deck diff viewer / merging tool #165

Open
moltencrux opened this issue Mar 14, 2022 · 2 comments
Open

Enhancement: deck diff viewer / merging tool #165

moltencrux opened this issue Mar 14, 2022 · 2 comments

Comments

@moltencrux
Copy link

I was thinking that it would be a really great tool for deck collaboration if there was some kind of tool to view at a glance the differences between two similar decks much like meld or other source code diff viewers. There could be one split screen to view differences on a deck level, something analogous to the directory level view:
Screenshot from 2022-03-13 22-09-19
Then there would be the split screen view for card level differences, analogous to the file content diff:
Screenshot from 2022-03-13 22-10-57

I realize something like this could potentially be a lot of work, especially if you wanted to do syntax highlighting or the differences between two HTML documents, however just the ability to view two cards side by side when choosing what changes to accept by the deck maintainer would be very powerful.

Also, if it were implemented as a standalone utility, the deck level differences would be made much simpler if CrowdAnki had the ability to store notes in individual files as previously proposed by EtzBetz in #163 .

@ohare93
Copy link
Contributor

ohare93 commented Mar 14, 2022

Also, if it were implemented as a standalone utility, the deck level differences would be made much simpler if CrowdAnki had the ability to store notes in individual files as previously proposed by EtzBetz in #163 .

Fully agreed. Splitting CrowdAnki exports into a whole folder would be fantastic. My comparison tool of choice is Beyond Compare 👍

@aplaice
Copy link
Collaborator

aplaice commented Mar 14, 2022

Yeah, I fully agree that a nice, easy-to-integrate diff/merge tool would be lovely!

I (still..) haven't actually tried it, but there already is a tool that is supposed to more-or-less fulfil that role:

https://gitlab.com/dodod/crowdanki-diff

(When I had briefly glanced at it a while ago, it looked great.)

See also: #75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants