Commit Graph
2979 Commits
Author SHA1 Message Date
Dimitri Mitropoulos f3bfbf76aa removes usage of deprecated graphql constant (#3926)
see: https://github.com/graphql/graphql-js/pull/2124/files
2021-08-18 16:38:38 -04:00
James Gatz 0ef92797cd remove extra symbol (#3921) 2021-08-17 15:42:44 +02:00
Opender Singh 0ec5024578 Merge branch 'release/2021.5.0-alpha.1' into develop 2021-08-17 17:56:24 +12:00
Opender Singh 1dd421e4f0 version packages lib@2.3.1-alpha.2 lib@2.3.1-alpha.2 core@2021.5.0-alpha.1 2021-08-16 12:59:26 +12:00
Opender Singh bbdd77d795 bump version 2021-08-16 12:57:29 +12:00
Opender Singh afbbb0eaa3 Update mock implementation and move the segment event enum (#3913) 2021-08-12 22:35:43 +00:00
Dimitri Mitropoulos 407432aa02 adds eslint-config-helpers (#3912) 2021-08-12 18:01:54 -04:00
James Gatz 9b7dbe5011 Display the settings modal for remote spaces and update the copy for … (#3885)
* Display the settings modal for remote spaces and update the copy for deleting a remote space

* Improve confirmation dialog copy

* Replace baseSpace check with spaceHasSettings

* Use the strings constant for the space word copy

* Use the strings constant for the space word copy in the modal
2021-08-12 20:14:48 +00:00
Opender SinghandDimitri Mitropoulos 5a50b19595 Introduce segment event enum (#3904)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-08-12 19:37:33 +00:00
James Gatz 82629046e9 Use markdown-preview__content classname in the compiled html container (#3910) 2021-08-12 20:56:23 +02:00
James Gatz d3738df992 Fix footer subtext alignment in modals (#3908) 2021-08-12 16:52:30 +02:00
Opender Singh 63fd9bc3a5 Add segment metrics for plugin data context (#3903) 2021-08-12 03:04:48 +00:00
Opender Singh 18e7f49b43 Lint rules for equivalence and arrow func spacing (#3897) 2021-08-12 01:25:34 +00:00
Dimitri Mitropoulos bac09280ee adds operator spacing rules (#3905) 2021-08-11 19:19:48 -04:00
James GatzandOpender Singh 632b8020f7 Display a checkmark for the selected sort option in the SpaceSortDropdown (#3896)
* Display a checkmark for the selected sort option in the SpaceSortDropdown

* Update packages/insomnia-app/app/ui/components/dropdowns/space-sort-dropdown.tsx

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

* Move the placement hacks for the dropdown icon and tooltip into a separate file

* Fix lint errors

Co-authored-by: Opender Singh <opender94@gmail.com>
2021-08-11 14:23:29 +03:00
Opender Singh 251287062d Use useAsync (#3888) 2021-08-10 23:57:13 +00:00
Opender Singh 6a1abbf3db Migrate collections into their remote space (#3876)
* initial implementation

* take vcs as a parameter (so it's easier to mock and test)

* update console log and exit early if not logged in

* add unit tests for migration

* add async filter and replace vcs find by root document

* lint fix

* fix memory driver and add test for hasProjectForRootDocument

* setup check on interval

* move migration logic and interval from main process to render process, because session state and a VCS instance dont work in the main process yet

* update test

* replace constructor with static class creator

* replace interval with login logout hook

* remove effect helpers

* empty commit to trigger CI
2021-08-10 23:35:05 +00:00
James Gatz 7cb1cbef0d Prevent opening new windows in the app (#3874)
* Force auxclick (middle-click) events to be handled as click events

* Prevent opening new windows

* Formatting: Remove parentheses from arrow fn
2021-08-10 12:28:12 +03:00
Opender Singh adcbeac613 Merge branch 'release/2021.5.0-alpha.0' into develop 2021-08-10 20:35:30 +12:00
Opender Singh 0debbe9c9c version packages lib@2.3.1-alpha.1 core@2021.5.0-alpha.0 lib@2.3.1-alpha.1 2021-08-10 16:17:55 +12:00
Opender Singh 72de1c2d8b bump version 2021-08-10 16:14:15 +12:00
Opender Singh 1663840320 convert scripts to use alpha dist tag 2021-08-10 16:14:00 +12:00
Paul JohnsonandOpender Singh 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
Dimitri Mitropoulos 8478fbc27f adds descriptors to ordering labels (#3892) 2021-08-09 15:34:46 -04: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
Opender Singh 4dda066254 Update help text to disable cert validation (#3875)
* update help text

* fix snapshots
2021-08-05 10:39:26 +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
Ben Walker b8cc881d36 Populate refresh token from a client credentials OAuth2 call (#3794) 2021-07-29 05:35:03 +00:00
Opender Singh 8b011d68cf Types for DnD, reuse and connect sidebar components to redux (#3853) 2021-07-29 05:12:59 +00:00
Opender SinghandDimitri Mitropoulos 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
Dimitri Mitropoulos c29f577616 adds 'brace-style' and 'keyword-spacing' rules. (#3859) 2021-07-29 04:12:39 +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