thunder-client-support icon indicating copy to clipboard operation
thunder-client-support copied to clipboard

Improved TC collections merging

Open bombillazo opened this issue 9 months ago • 6 comments

Please describe feature/problem details and the solution you'd like.

When multiple devs make individual changes to a thunder client collection, at the time of merging and resolving conflicts, there are issues to keep the desired changes. At the moment, we manually resolve conflicts.

Describe alternatives you've considered

Ideally one can have a type of conflict resolver UI to see diff and in a smart intuitive way be able to keep or merge individual requests instead of doing it directly in the JSON code.

Are you using the free version/paid version/trial:

Paid

bombillazo avatar Nov 14 '23 18:11 bombillazo

Thanks @bombillazo for the feedback.

Did you try using the vscode 3 way merge editor?

rangav avatar Nov 14 '23 19:11 rangav

Hey, no I have not tried it. How can I try it out? Our main issues happen when we merge the main branch to our feature branch.

bombillazo avatar Nov 14 '23 19:11 bombillazo

See this link for details https://code.visualstudio.com/docs/sourcecontrol/overview#_3way-merge-editor

rangav avatar Nov 14 '23 19:11 rangav

Ahh, yes, we've used this, but it's still not a "smart" way to merge things in the context of API requests. One has to reconcile objects in the code manually...

This is for sure a nice to have since it's a bit complex to analyze the current vs incoming changes in a way that one can see the discreet request properties that changed instead of simply JSON code sections. I am thinking something like what Postman does: https://learning.postman.com/docs/collaborating-in-postman/using-version-control/reviewing-pull-requests/#viewing-the-diff

bombillazo avatar Nov 14 '23 23:11 bombillazo

Thanks for the feedback, Will review it.

You can also try the 4 way vscode editor as an alternative - https://github.com/microsoft/vscode/issues/155277#issuecomment-1283623303

rangav avatar Nov 15 '23 13:11 rangav

Hi @bombillazo

We have a feature request for splitting collection into multiple request files to reduce merge conflicts - https://github.com/rangav/thunder-client-support/issues/1507

Can you please let me know your feedback as its related to this

rangav avatar Mar 21 '24 13:03 rangav

@bombillazo

We have implemented a new database design to reduce merge conflicts.

Update extension to v2.23.0 and follow the instructions in the below link

https://github.com/thunderclient/thunder-client-support/releases/tag/v2.23.0

Please upgrade to the new format and let us know your feedback.

rangav avatar May 15 '24 11:05 rangav

@bombillazo any feedback?

rangav avatar May 16 '24 11:05 rangav

Hey, so far it works

bombillazo avatar May 16 '24 12:05 bombillazo

Thanks @bombillazo for the confirmation.

let me know if you have any issues with the new format.

rangav avatar May 16 '24 12:05 rangav