Commit Graph

2715 Commits

Author SHA1 Message Date
Nijiko Yonskai
8efa70c726
chore: fix labels and remove title (#3227)
Fixes labels for feature request template and removes placeholder title in an attempt to improve title names
2021-03-23 10:34:10 -07:00
Nijiko Yonskai
4fdb9bc473
feat: add config for GitHub issues (#3224) 2021-03-23 10:27:11 -07:00
Nijiko Yonskai
c0af01498a
chore: remove question template (#3225)
Remove template in favor of config.yml that promotes the slack community for asking / answering questions.
2021-03-23 10:26:36 -07:00
Mike Ellan
1052e2c489
Updating cards to display accurate latest change timestamp (#3201)
Updating cards to display accurate latest change timestamp
2021-03-22 14:58:30 -04:00
Mike Ellan
fd46942a6f
Integrating loading state, refreshing props > re-paint (#3208)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-22 14:39:33 -04:00
David Marby
05dfa7fa48
Replace Netlify with Vercel for Storybook (#3212) 2021-03-19 14:52:45 +01:00
Opender Singh
eff9cda1b2
Use workspace scope enum everywhere appropriate (#3199) 2021-03-18 11:37:32 +13:00
Opender Singh
7ca6c09c44
Deploy to portal smoke test works again (#3198) 2021-03-18 10:11:13 +13:00
Opender Singh
42aff871b3
Fix password editor props (#3200) 2021-03-18 10:10:44 +13:00
outils-tiers-metafactory
224cb13aa6
Closes stream to unlock file (#3015)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-18 10:09:30 +13:00
Mike Ellan
8c724a30ed
Updating readme for single app merge (#3197) 2021-03-17 12:30:21 +13:00
Mike Ellan
47dd90a22b
Rename workspace scope from designer to design (#3194)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-17 12:28:12 +13:00
Yunyu Lin
04d04850e8
Upgrade Electron to 9.3.5 (#3000)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-16 09:23:56 +13:00
Florian Stellbrink
565f389d36
Add OS dark mode support (#2868)
* Add settings for color scheme detection and themes

Default light and dark themes can still be changed.
For now its studio-light and default for core, and studio-dark and studio-light for designer.

* Add color scheme type and supporting methods

The detection of dark scheme is based on the background color at the moment.
This seems to work pretty well, but is not an ideal solution.
I think themes should at least get to override this.

* Add support for choosing light and dark theme to settings

This adds a checkbox to the theme settings that determines whether we use the OS color scheme.
If we don't (default) everything stays the same as before.
If we do, themes are rendered in two groups. One for the light themes and one for the dark themes. They can be chosen independently. None of this overrides the default theme choice.

* Add padding to the theme settings tab

Themes are still aligned by adding negative margin.
A bit of a hack, open for suggestions.

* Update theme on OS color scheme change

* Replace usages of setTheme with applyColorScheme

This makes sure that we don't override the user's choice.

* Update packages/insomnia-app/app/plugins/misc.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Remove dark mode heuristic

* Remove unused button value

* Update theme settings design

* Update packages/insomnia-app/app/ui/components/settings/theme.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Update packages/insomnia-app/app/ui/components/settings/theme.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Replace object literal lookups

Do not use object literal lookups to make code more readable

* Remove unused parameter

* Disable default theme select when auto detection is enabled

* Fix imports after rebase

* Update packages/insomnia-app/app/ui/components/modals/settings-modal.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Update packages/insomnia-app/app/ui/components/modals/settings-modal.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Remove theme header

* Disable hover animation and border on disabled theme buttons

* Clean up double negation in css

Replace :not(:disabled) with :enabled. Not sure what I was thinking there.

* Update index.js

Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-13 16:38:54 +13:00
Opender Singh
7aa56ef7f6
chore: remove redundant code (#3146) 2021-03-11 10:46:09 +13:00
David Marby
98c4e68a8e Merge branch 'release/2021.1.1' into develop 2021-03-10 17:35:20 +01:00
Mike Ellan
84b9b84fdf
Card order by date modified (#3170)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-10 17:33:38 +13:00
Mike Ellan
f1539e2b40
On create nav to new (#3174) 2021-03-10 11:55:45 +13:00
Opender Singh
19d5a28e9e
Fix saving of number preferences (#3165) 2021-03-10 10:50:35 +13:00
Opender Singh
dc150ff015
Better handling of .DS_Store files during migration (#3164) 2021-03-10 10:45:59 +13:00
Opender Singh
2d5a78687e chore: bump version 2021-03-09 17:34:03 +13:00
Opender Singh
3a16a9daca lib@2.2.30 2021-03-05 08:56:48 +13:00
David Marby
dbb4070c7a Stop marking inso as private 2021-03-04 20:00:04 +01:00
David Marby
460ab0168f Bump the version 2021-03-04 19:59:56 +01:00
Opender Singh
2c9bffd84c
Rename Workspace verbiage (#3145) 2021-03-04 19:09:34 +01:00
Opender Singh
d68509e81d
chore: update documentation links (#3144) 2021-03-04 14:33:46 +01:00
Opender Singh
23c05c4bb9
Pluralize document count label (#3143) 2021-03-04 11:51:38 +13:00
Dimitri Mitropoulos
c28aad3d8e
fix for sparse array in diff (#3142)
* fix for sparse array in diff

* updates test
2021-03-03 17:27:04 -05:00
Opender Singh
a7784d4160
Fix & add smoke tests (#3136)
* chore: refactor

* chore: fix one test

* chore: fix all tests

* chore: fix all existing tests

* chore: add prompting tests

* chore: ignore flaky test for now
2021-03-04 09:00:56 +13:00
David Marby
4dd6fc476a Bump version 2021-03-03 19:55:56 +01:00
Opender Singh
da3305cb42
Validate migration directories exist (#3137) 2021-03-03 19:43:17 +01:00
SaintAPI
f1dbd4fdd3
fix: only change environment on fresh import (#2979)
Co-authored-by: SaintAPI <comfygangsta@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-03 10:22:12 -08:00
SaintAPI
a2bc704f80
Differential (Additive/Removal) patching when switching between design / debug (#3124)
* fix(import) do differential patching for design activity imports

This patch adds differential patching for imports that occur during the switching between
design and debug tabs inside of Designer. As reported through #2971, and others, this patch
favors existing data over imported data, values that exist already on the document will remain
unchanged, only new values (including array based values) will be added / removed.

This also includes a bypass feature for urls, currently these options are not exposed through
the interface but could be. This feature is an object to allow for future properties for
preference-based patching.

- Adds `options.enableDiffBasedPatching` and `options.enableDiffDeep` to `importRaw` for backwards compat.
- Adds `options.bypassDiffProps.url` for url bypassing and use an object for future items.
- Adds `diffPatchObj` based on differential patching for objects (works with arrays as well).

Future ideas:

- `hasBeenModifiedByUser` property map object to allow changing properties that haven't been touched by the user with options.

fixes: #2971, #2882, #3038, #2442

* adds some basic tests

- also adds jest (which was (mistakenly) not there before)
- does not call `.hasOwnProperty` directly, per https://eslint.org/docs/rules/no-prototype-builtins (which, we will add more formally at a later date)

* don't special-case workspaces

this ensures the behavior of the initial PR is more preserved

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-03-03 12:57:09 -05:00
Mike Ellan
4e09e684d2
Migration flow stylistic updates (#3132) 2021-03-03 15:43:37 +13:00
Opender Singh
847bb58aec fix: add back app to the build context 2021-03-03 11:41:23 +13:00
Opender Singh
5ba91ceb21 lib@2.2.29 2021-03-03 11:12:19 +13:00
Opender Singh
8de837bc05 Bump version 2021-03-03 11:09:25 +13:00
Opender Singh
01797751ac Ignore inso publish and update package-lock 2021-03-03 11:09:16 +13:00
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
Dimitri Mitropoulos
4b993a7762
style updates for core theme (#3134)
[INS-452]
2021-03-02 11:14:19 -05:00
Opender Singh
edd447f38e
Add migration analytics events (#3123) 2021-03-02 12:13:51 +13:00
Opender Singh
00084b65f9
Update workspace or api spec name as appropriate (#3122) 2021-03-02 10:32:32 +13:00
David Marby
f445034738
Portable windows builds (#3125)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-02-28 15:54:18 +01:00
David Marby
e1812efdb3
Add initial segment events (#3121) 2021-02-26 20:57:19 +01:00
David Marby
3ea65b4240
Use the correct the application data directory for inso (#3114) 2021-02-26 18:41:15 +01:00
Opender Singh
6f3d2666f8
Add option to disable migrating workspaces (#3108) 2021-02-26 12:01:46 +13:00
Tharun Rajendran
3b81808e1d
show inline reveal password option for auth (#2974)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-02-26 11:14:11 +13:00
Forrest
ff1c70f437
Set a minimum value for fontSize setting (#3042)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-02-26 10:48:23 +13:00
David Marby
1b718165d7
Update the website links (#3120) 2021-02-26 10:33:38 +13:00
Opender Singh
b8f76deff9
Add plugin bundle to default config (#3092) 2021-02-26 10:10:21 +13:00