Skip to content

Conflict view - #5894

Closed
ckamm wants to merge 2 commits into
masterfrom
conflict-view
Closed

ckamm wants to merge 2 commits into
masterfrom
conflict-view

Conversation

@ckamm

@ckamm ckamm commented Jul 12, 2017

Copy link
Copy Markdown
Contributor

Shows new and old conflicts in the issue tab:

spectacle n29588
spectacle x29588

ckamm added 2 commits July 12, 2017 14:50
Incidentally fixes a potential issue where conflicts were silently-
ignored and thus deleted if the parent folder was deleted.
@ckamm ckamm added this to the 2.4.0 milestone Jul 12, 2017
@ckamm ckamm self-assigned this Jul 12, 2017
@ckamm
ckamm requested a review from ogoffart July 12, 2017 12:53
@ogoffart

Copy link
Copy Markdown
Contributor

Looks good to me.

Just wondering if the user will understand how to resolve the conflict

@ckamm

ckamm commented Jul 12, 2017

Copy link
Copy Markdown
Contributor Author

@ogoffart Indeed. Maybe we want to give a link to a page that explains conflicts and ways of resolving them nearby? I thought about whether there should be any buttons on this item, but having "quick resolution" buttons would most likely be dangerous.

Also: I think I'll update the message to include a "Click for details." sentence, to make it clearer that one can click the box to go to the issues tab.

@SamuAlfageme

Copy link
Copy Markdown
Contributor

Once again, really amazing feature to ship in 2.4 ☺️

I have a couple of doubts:

  1. What will happen with non-writable folder conflicts*? Could this be extended to support those too? - see related read-only share: locally modified file mutliple times should create multiple conflict files (?) #5273
  2. Maybe we could adapt something similar as the webUI for conflict resolution?

(*) -> not really "conflicts" 😁

@ckamm

ckamm commented Jul 13, 2017 •

Copy link
Copy Markdown
Contributor Author

@SamuAlfageme Can you be more specific about 1. #5273? I don't see how it relates. All existing conflict files will now lead to this message and will be listed in the issues tab.

About 2.: Indeed, we could now provide a better conflict resolution user interface. It needs discussion and design though. The webui like dialog wouldn't be particularly useful in most cases though: Usually users will need to look at both files and create a merge manually.

I'll make a new ticket for that.

@SamuAlfageme

Copy link
Copy Markdown
Contributor

@ckamm - about 1 - I was just wondering if it might be useful to offer the user the chance to see all the "conflict" files (e.g. each save he did on the file) that were created (in this same tab) and maybe the count/list of local "conflicts" (versions). As I write it, I realize that could be a bit overkill though.

I can imagine a scenario when the user does not care about having a local file unsynced on a read-only folder and making edits leads him to many of these files.

Cool ideas in #5896!

@ckamm

ckamm commented Jul 13, 2017

Copy link
Copy Markdown
Contributor Author

Merged

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

Successfully merging this pull request may close these issues.

3 participants