Commit Graph

696 Commits

Author SHA1 Message Date
Paul Johnson
366a54f630
Allow optional specification of Origin header for Auth Code flow + PKCE (#3783)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-08-09 22:30:32 +00:00
Opender Singh
f48cef02bd
Update some ESLint rules (#3883) 2021-08-08 05:08:56 +00:00
Opender Singh
853cefca75
React ESLint rules (#3884) 2021-08-07 08:03:56 +00:00
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
James Gatz
e683a02b16
[feat] Sort Dashboard Cards (#3850)
* Add sort order for space items

* Add ability to sort dashboard cards

* Fix TS errors

* Fix lint errors

* Add sort options for modified time

* Move workspace-card to a new file and use redux global state for persistence

* Remove ordering from the space model

* Use currying for the workspace mapping function and clean up types

* Expand testcase for activespace initialization

* Fix lint errors

* Remove date defaults and check if modifedLocally is defined

* Fixup: Use global selector for space order

* Fixup: Decouple space order initialization from active space

* Fixup: Use named exports in SpaceSortDropdown and rename handler in WrapperHome
2021-08-05 20:38:58 +03:00
Giuseppe B
bae8195dfd
Fix for GraphQL - now autocomplete does not reset anymore (#3468) 2021-08-02 10:12:58 +00:00
Dimitri Mitropoulos
70d5797d94
use optional chaining (#3867) 2021-07-30 15:32:08 +12:00
Opender Singh
706b0f076a
Disable cert validation option while running tests in inso (#3492) 2021-07-30 03:10:19 +00:00
Dimitri Mitropoulos
5e00656807
adds jsx indentation rules (#3860) 2021-07-29 08:52:17 -07:00
Opender Singh
8b011d68cf
Types for DnD, reuse and connect sidebar components to redux (#3853) 2021-07-29 05:12:59 +00:00
Opender Singh
7397370f4b
Use activateWorkspace action to activate a workspace (#3856)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-07-29 04:55:31 +00:00
NAVAL
21b02cc61a
add: support for plain PKCE challenge method (#3843) 2021-07-29 04:31:02 +00:00
Opender Singh
37815afd2e
Duplicate from dashboard and from settings (#3820) 2021-07-28 21:49:02 +00:00
Dimitri Mitropoulos
6431378392
[followup] Local GraphQL schema UX improvements (#3847) 2021-07-28 19:26:55 +00:00
David Marby
cecd95f0d7
Correctly log uncaught errors/unhandled promises (#3857) 2021-07-28 14:57:52 -04:00
Opender Singh
a12ccc3faf
Use strings in Space Dropdown (#3835) 2021-07-26 16:05:37 +00:00
Opender Singh
9eba2867a3
Create VCS instance even if no active workspace (#3836) 2021-07-26 15:18:12 +02:00
Opender Singh
2cfaab472d
Remove the share modal (#3846) 2021-07-26 22:05:45 +12:00
Opender Singh
7abde2a017
Ensure a base space always exists (+ fix gRPC sub-environments) (#3819) 2021-07-26 00:49:34 +00:00
John Chadwick
eb67958846
Refactor markdown preview to minimize unsafe HTML. (#3842)
Fixes INS-805.
2021-07-23 12:55:47 -07:00
Dimitri Mitropoulos
0178533e52
Feat/eslint import order (#3782) 2021-07-23 11:04:56 +12:00
Dimitri Mitropoulos
92206c4f93
UI for Local/Remote spaces (#3824) 2021-07-22 10:56:14 -04:00
Opender Singh
fcd546b005
clear models (#3830) 2021-07-22 12:21:41 +00:00
Opender Singh
b7ca6366d0
git clone into the active space (#3775) 2021-07-20 01:05:08 +00:00
Daniel H
45000573c4
Add text/plain body type (#3793)
Co-authored-by: Daniel H <>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-07-19 22:34:01 +00:00
Grégoire Lodi
7831682278
Load local GraphQL schema (#3803)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-07-19 22:02:12 +00:00
John Chadwick
10c9940628
Implement color scheme badge artifact workaround. (#3823)
* Implement color scheme badge artifact workaround.

Color scheme badges have a small gap artifact caused by an interplay
between anti-aliasing and alpha blending. Here, we use pseudo-classes to
ensure one opaque pixel of intersection between the shadow border and
the color badge.

* Improved workaround for color badge bug.

This improved workaround has fewer limitations and reduces visual
artifacts during transitions.

* Don't fade ring when hovering in OS theme mode.

This tiny change makes the transition look a lot better.
2021-07-19 12:44:24 -07:00
Opender Singh
d241093ec2
Import into the active space (#3795) 2021-07-14 00:10:49 +00:00
Dimitri Mitropoulos
ca0f6eb9d0
Improvements to theme selection (#3506) 2021-07-13 23:49:32 +00:00
Opender Singh
769d6c16d4
Remove checkbox background (#3812) 2021-07-13 14:45:47 -07:00
Florian Hämmerle
92e0970281
response-timer: use tabular-nums for uniform width (#3800) 2021-07-09 17:03:11 -07:00
Opender Singh
bbadeac090 Merge branch 'hotfix/INS-782-exportFormat' into develop 2021-07-08 09:16:59 +12:00
Opender Singh
ff49cb3093 don't call done callback unless it exists 2021-07-07 11:47:54 +12:00
Opender Singh
d5a1f44f15
Don't auto create a workspace if none exist (#3776) 2021-07-07 08:30:50 +12:00
Opender Singh
3e8b5b1c20
Force to design workspace when coming from git (#3774) 2021-07-05 21:22:27 +12:00
Opender Singh
17de9ef556 convert from map to find 2021-07-02 09:04:06 +12:00
Dimitri Mitropoulos
9f3705a8a8
adds eslint rule for requiring default case statements (#3779) 2021-07-01 20:47:10 +00:00
Opender Singh
b84bb5d6e7
Update packages/insomnia-app/app/ui/redux/modules/global.tsx
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-07-02 08:20:30 +12:00
Opender Singh
4233f1565c
Update packages/insomnia-app/app/ui/redux/modules/global.tsx 2021-07-02 08:06:39 +12:00
Dimitri Mitropoulos
ef840cd516 hotfix - INS-782 2021-07-01 15:52:35 -04:00
Dimitri Mitropoulos
d87612c032
removes storybook (and related dependencies) from insomnia-app (#3502) 2021-07-01 08:15:19 -04:00
Dimitri Mitropoulos
9c0f7660dc
Base Space export (#3479) 2021-06-30 15:33:02 +00:00
Ross McDonald
c24d08ad66
Update Spectral to latest release (#3179) 2021-06-30 15:11:20 +00:00
Opender Singh
837cadebaf
Remove the need for an active workspace to always exist (#3494) 2021-06-30 07:47:17 +00:00
Opender Singh
5c32700344
ensure teamId is sent for push and pull (#3477)
* ensure teamId is provided for push and pull

* refactor

* Fix tests

* fix build

* fix lint

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-06-26 07:32:29 +12:00
Nick Hackman
a03c098974
feat: introduce request group settings (name, description, and move/copy) (#3350) 2021-06-25 10:21:07 -04:00
Darren Jennings
5ddd5420b3
doc(code-snippets): update link to use Kong org (#3504) 2021-06-24 09:35:48 +12:00
Opender Singh
0c97fd7a88
Use safe state and reducer dispatch hooks (#3483) 2021-06-23 12:40:48 -04:00
Giuseppe B
062167a9d6 Introducing tooltip helper for Vim mode on MacOS (#3476)
* Introducing tooltip helper for Vim mode on MacOS

* Fix article link and update tooltip text

Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-06-23 11:36:55 +12:00
Dimitri Mitropoulos
bcad8691a7 fix CodeMirror crash (#3451) 2021-06-23 11:33:18 +12:00