insomnia/packages/insomnia-app/app/ui/components
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
..
base fix: remove button nesting (#3100) 2021-02-23 09:16:56 +13:00
buttons Move share button and put settings on all pages (#3076) 2021-02-12 15:20:35 +13:00
codemirror Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
dropdowns style updates for core theme (#3134) 2021-03-02 11:14:19 -05:00
editors show inline reveal password option for auth (#2974) 2021-02-26 11:14:11 +13:00
export-requests Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
graph-ql-explorer Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
key-value-editor Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
modals Update workspace or api spec name as appropriate (#3122) 2021-03-02 10:32:32 +13:00
panes Prompt for import as collection or document (#3130) 2021-03-03 10:16:48 +13:00
proto-file
settings style updates for core theme (#3134) 2021-03-02 11:14:19 -05:00
sidebar Remove Core and Designer specific cases (#3034) 2021-02-03 12:19:22 +13:00
spec-editor Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
tags
templating Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
viewers Update the website links (#3120) 2021-02-26 10:33:38 +13:00
activity-toggle.js
check-for-updates-button.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
cookie-list.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
error-boundary.js
forms.stories.js
grpc-spinner.js
help-tooltip.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
help-tooltip.stories.js
hotkey.js
html-element-wrapper.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
keydown-binder.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
markdown-editor.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
markdown-preview.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
notice.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
notice.stories.js
onboarding-container.js Data migration workflow from Designer to Core (#3051) 2021-02-10 08:55:30 +13:00
page-layout.js Remove Core and Designer specific cases (#3034) 2021-02-03 12:19:22 +13:00
rendered-query-string.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
rendered-text.js
request-url-bar.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
response-timer.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
sync-pull-button.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
time-from-now.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
toast.js Portable windows builds (#3125) 2021-02-28 15:54:18 +01:00
tooltip.js Autobind replacement and react-hot-reload update (#3022) 2021-02-03 11:23:42 +13:00
tooltip.stories.js
unit-test-editable.js
workspace-page-header.js style updates for core theme (#3134) 2021-03-02 11:14:19 -05:00
wrapper-debug.js Prompt for import as collection or document (#3130) 2021-03-03 10:16:48 +13:00
wrapper-design.js Move config generators into workspace dropdown (#3079) 2021-02-16 15:16:45 +13:00
wrapper-home.js Prompt for import as collection or document (#3130) 2021-03-03 10:16:48 +13:00
wrapper-migration.js Add migration analytics events (#3123) 2021-03-02 12:13:51 +13:00
wrapper-onboarding.js Prompt for import as collection or document (#3130) 2021-03-03 10:16:48 +13:00
wrapper-unit-test.js Add initial segment events (#3121) 2021-02-26 20:57:19 +01:00
wrapper.js Prompt for import as collection or document (#3130) 2021-03-03 10:16:48 +13:00