Skip to content

fix(git): Sync repo data on collection/repo updates #6922

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

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

gatzjames
Copy link
Contributor

@gatzjames gatzjames commented Dec 13, 2023

Using an action to sync doesn't update the sync dropdown on collection/repo changes.

This PR moves the logic to a loader instead to make sure the data get updated when the repo gets updated or when there are updates in the repo (new branches etc.)

TODO:

  • Make sure performance is not affected by this change

Closes INS-3336
Closes #6896

changelog(Fixes): Fixed issues when using Git and switching between branches or making changes to the repo were not reflected properly in the dropdown

@gatzjames gatzjames requested a review from a team December 13, 2023 12:18
@gatzjames gatzjames self-assigned this Dec 13, 2023
@gatzjames gatzjames merged commit 19fc3d1 into Kong:develop Dec 18, 2023
@gatzjames gatzjames deleted the fix/git-sync-issue branch December 18, 2023 12:50
jackkav added a commit to jackkav/insomnia that referenced this pull request Mar 13, 2024
* use loader to revalidate the data

* formatting

---------

Co-authored-by: jackkav <jackkav@gmail.com>
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.

UI - In Git Sync, checkout a branch does not update in UI so I think I am still in main
2 participants