insomnia/packages/insomnia-app/app/sync
Opender Singh be2c347cf1
Pull a project into the correct space (#3873)
* use selector and improve types

* Loading remote projects now requires a team id; it is no longer optional

* activate with workspace or workspace id

* extract helper

* normalize graphql return type for a remote project to include the team

* pull into the space as defined by the project team id, not by the active space. If the space doesn't exist, create it

* use helper

* make testing easier by putting the active space name as the first breadcrumb

* fix tests

* add the active space into the title

* refactor and add tests

* remove todo
2021-08-05 23:30:31 +00:00
..
__schemas__ Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
__tests__ Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
delta Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
git Ensure a base space always exists (+ fix gRPC sub-environments) (#3819) 2021-07-26 00:49:34 +00:00
lib use same array-type rule, project-wide (#3395) 2021-05-19 08:32:18 +12:00
store Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
vcs Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
ignore-keys.ts git clone into the active space (#3775) 2021-07-20 01:05:08 +00:00
types.ts Filter remote collections by the active space (#3456) 2021-06-15 04:21:06 +00:00