-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Insomnia Sync improvements #6738
Insomnia Sync improvements #6738
Conversation
942b955
to
855b774
Compare
471513b
to
242a424
Compare
return vcs; | ||
}; | ||
|
||
export default VCSInstance; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a rationale for using default export here?
}, | ||
{ | ||
id: 'revert', | ||
name: 'Revert Changes', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be useful to hae a tooltip here to indicate that its for reseting to latest commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should change to 'Revert to latest commit'
@@ -25,6 +26,8 @@ interface Props { | |||
gitSyncEnabled: boolean; | |||
} | |||
|
|||
const ONE_MINUTE_IN_MS = 1000 * 60; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what interval did sync update with previously?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should document the polling mechanisms in the app
d72640a
to
63f1763
Compare
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
* almost there * pending ui in sync dropdown * branches pending ui * fix snapshot staging issue * staging modal fixes * error handling on sync dropdown * remove unused path * switch to git repo button * branch modal ui update * change get method color * staging modal ui * onclose * update export data modal * fix websocket color * remove export all button from scratchpad * dropdown sections * fetch remote branch properly * test issue * restore changes now works properly * cleanup * cleanup vcs usage * cleanup sync items from workspace * cleanup vcs from modals * remove fragment * turn vcs to instance to avoid module import side-effects * fix e2e tests * poll sync updates every minute * change to named export * Add some docs about data fetching in the app (sse,polling,fetch) * improve revert changes copy
changelog(Improvements): Multiple improvements done to Insomnia Sync feature: Push/Pull status is reflected properly; Disabled states for actions that cannot happen; Added Pending UI for actions (push/pull/switch branch etc.); Accessibility improvements for all UI related to Insomnia Sync; Switching branches, Restore changes on history, and pulling should now properly reflect on the UI; Added consistent error handling and improved error messages.
Improvements in Insomnia Sync:
Closes INS-3278