insomnia/packages/insomnia-app/app
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
..
__jest__ Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
__mocks__ Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
__tests__ [TypeScript] Phase 1 & 2 (#3370) 2021-05-12 18:35:00 +12:00
account Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
common [feat] Sort Dashboard Cards (#3850) 2021-08-05 20:38:58 +03:00
datasets [TypeScript] Phase 1 & 2 (#3370) 2021-05-12 18:35:00 +12:00
icons Remove more designer and APP_ID code (#3040) 2021-02-03 20:07:11 +13:00
main Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
models Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
network use optional chaining (#3867) 2021-07-30 15:32:08 +12:00
plugins Ensure a base space always exists (+ fix gRPC sub-environments) (#3819) 2021-07-26 00:49:34 +00:00
static Remove Core and Designer specific cases (#3034) 2021-02-03 12:19:22 +13:00
sync Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
templating Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
ui Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00
codemirror.d.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
global.d.ts [TypeScript] Phase 1 & 2 (#3370) 2021-05-12 18:35:00 +12:00
main.development.ts Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
mocha.d.ts adds mocha polyfill to clear it.each errors (#3383) 2021-05-13 16:45:17 -05:00
renderer.html [TypeScript] Phase 1 & 2 (#3370) 2021-05-12 18:35:00 +12:00
renderer.ts [TypeScript] Phase 1 & 2 (#3370) 2021-05-12 18:35:00 +12:00
test-utils.ts Pull a project into the correct space (#3873) 2021-08-05 23:30:31 +00:00