insomnia/packages/insomnia-app/app/plugins/context
Opender Singh 049964bb9b
Prompt for import as collection or document (#3130)
* feat: add prompt and update import logic

* feat: update usages and plugin api

* chore: WIP

* chore: convert to options

* chore: don't create workspace model until needed

* chore: add OR condition

* chore: add workspace name and don't change scope

* feat: prompt with appropriate name

* chore: rename

* chore: rename type

* chore: update signature

* chore: properly type the import functions

* feat: don't activate the workspace after importing

* chore: show loading on homepage

* fix: typo

* chore: fix tests and rename

* Update packages/insomnia-app/app/common/__tests__/import.test.js

Co-authored-by: David Marby <david@dmarby.se>

Co-authored-by: David Marby <david@dmarby.se>
2021-03-03 10:16:48 +13:00
..
__fixtures__ [Feature] Added request-specific followRedirects setting (#1737) 2019-10-31 12:02:03 -04:00
__tests__ Update workspace or api spec name as appropriate (#3122) 2021-03-02 10:32:32 +13:00
app.js Upgrade Electron (#2403) 2020-07-27 22:18:26 -07:00
data.js Prompt for import as collection or document (#3130) 2021-03-03 10:16:48 +13:00
index.js Remove Core and Designer specific cases (#3034) 2021-02-03 12:19:22 +13:00
network.js Scope responses to active environment (#1905) 2020-01-22 14:23:19 -05:00
request.js Expose the request body for plugins (#2003) 2020-04-23 11:44:54 -07:00
response.js Add trailing commas to ESLint + Prettier 2018-12-12 12:36:11 -05:00
store.js Allow prompt values to be clear + add actions to template tag plugin API (#2736) 2020-12-01 12:15:17 +13:00