Skip to content

fix(Git Sync): Display up to date content in code editors when data change through git sync - #8851

Merged
gatzjames merged 1 commit into
Kong:developfrom
gatzjames:feat/git-sync-update-on-branch-changes
Jul 9, 2025
Merged

fix(Git Sync): Display up to date content in code editors when data change through git sync#8851
gatzjames merged 1 commit into
Kong:developfrom
gatzjames:feat/git-sync-update-on-branch-changes

Conversation

@gatzjames

Copy link
Copy Markdown
Contributor

Overview

Currently when content changes because of changes coming through git, the code editor doesn't reflect them immediately but requires another update to happen.

Highlights:

  • Updates the cachedGitLastCommitTime and cachedGitRepositoryBranch on all updates that change data from git
  • We construct an identifier in the code-editor key that updates it's state if it changes and therefore displays up to date content in these scenarios

Closes INS-5227, INS-5626

@gatzjames gatzjames self-assigned this Jul 9, 2025
@gatzjames
gatzjames requested a review from a team July 9, 2025 11:23
@gatzjames gatzjames changed the title Use the last commit time to indicate changes on the current repo fix(Git Sync): Display up to date content in code editors when data change through git sync Jul 9, 2025
@gatzjames
gatzjames merged commit 503acfa into Kong:develop Jul 9, 2025
10 checks passed
@gatzjames
gatzjames deleted the feat/git-sync-update-on-branch-changes branch July 9, 2025 12:37
RoamingLost pushed a commit to RoamingLost/insomnia that referenced this pull request Aug 6, 2025
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.

2 participants