Skip to content
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

only migrate local data under org #6660

Merged
merged 17 commits into from Oct 9, 2023

Conversation

jackkav
Copy link
Contributor

@jackkav jackkav commented Oct 6, 2023

changelog(Improvements): Allow local projects to be created and remove forced remote project migration

Motivation: Since we added social login to the insomnia website, we needed to migrate local and remote collections from:
project -> workspace to org -> project -> workspace
This creates a new cases where a user might log into a second account and not see workspaces that were visible in the first. This happens frequently in cases of forgotten password. After this change those users can recover those collections by reassigning their parentId to the logged in organization. Recovered remote collections will not support cloud sync features, as they were attached to the first account. However reinviting the second account to the remote collection from a team member with access will continue to work.

highlights

  • allow local projects to be created
  • remove forced remote project migration

todo

  • add local or remote create ui
  • loader and action

later

@jackkav jackkav marked this pull request as ready for review October 9, 2023 13:37
@jackkav jackkav requested a review from a team October 9, 2023 13:37
@jackkav jackkav merged commit b3a53ed into Kong:develop Oct 9, 2023
7 checks passed
@jackkav jackkav deleted the feat/migrate-only-to-orgs branch October 9, 2023 13:42
jackkav added a commit to jackkav/insomnia that referenced this pull request Nov 24, 2023
* first pass

* renaming and notes

* notes

* import-export ui improvements

* show unknown parentIds

* remove delete project

* can restore project

* local project logic

* can restore to local and create local

* check for selection

* some todos

* create project modal

* default value in project name

* only delete remote projects through the api

* only rename remote projects through the api

* move untracked projects and project move action to loader/action

* rename migrate

---------

Co-authored-by: gatzjames <jamesgatzos@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.

None yet

3 participants