James Gatz
313d72c40d
Fix pinning a request with the keyboard shortcut ( #5034 )
2022-08-02 09:53:21 +00:00
kreosus
b9eaffe8fb
This commit removes the focus from sign out to sync workspaces when pressing enter ( #5028 )
2022-08-01 18:51:04 +02:00
James Gatz
9922366cae
only handle send on enter in request-url-bar ( #5031 )
2022-08-01 15:37:09 +00:00
James Gatz
e4e674df8f
move keyboard shortcuts to global listener in url-bar ( #5030 )
...
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Mark Kim <103070941+marckong@users.noreply.github.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Mark Kim <103070941+marckong@users.noreply.github.com>
2022-08-01 15:02:46 +00:00
James Gatz
250ffa49e4
update the dropdown-list style when the uniqueness key changes ( #5029 )
...
Co-authored-by: Mark Kim <103070941+marckong@users.noreply.github.com>
Co-authored-by: Mark Kim <103070941+marckong@users.noreply.github.com>
2022-08-01 14:37:14 +00:00
James Gatz
f2bf39a2d9
Use null value to set "No environment" ( #5027 )
2022-08-01 11:27:45 +00:00
Dimitri Mitropoulos
0aca9717d9
[INS-1711] regression: fixes lazyWithPreload types ( #5025 )
2022-07-29 12:10:16 -04:00
Dimitri Mitropoulos
a94d990f3b
INS-1713 fixes content-type editor sync ( #5024 )
2022-07-29 15:06:15 +00:00
Dimitri Mitropoulos
2ecd950122
[INS-1709] hotfix: fixes missing sync dropdown ( #5022 )
2022-07-29 10:39:18 -04:00
Dimitri Mitropoulos
892344db84
hotfix INS-1712 fixes duplicate request from dropdown ( #5023 )
2022-07-29 09:55:15 -04:00
Dimitri Mitropoulos
fedf3ecca4
INS-1692 removes document preview toggle ( #5020 )
2022-07-28 23:46:02 -04:00
James Gatz
892947e36a
Merge branch 'release/2022.5.0-beta.6' into develop
2022-07-28 15:55:59 +00:00
James Gatz
e76735c709
Bump app version to 2022.5.0-beta.6 and lerna package versions
2022-07-28 13:48:13 +00:00
Daniel Stone
fa7dd44d8c
Fix #4797 request switcher auto-focus from CodeMirror ( #5002 )
...
Fixes the input `.focus()` method call. The simplest fix was to revert the change in 3cf464d059
.
There do not seem to be any new problems in the current application from reverting this commit's relevant changes, indicating that the original cause of the bug is no longer present.
2022-07-28 11:13:01 +00:00
Jack Kavanagh
1a464446b0
[INS-1695] Fix Show Keyboard Shortcuts modal not opening ( #5016 )
...
* fix register
* fix modal register
* remove type
2022-07-28 10:38:47 +00:00
Jack Kavanagh
6399a971b3
Eliminate wrapperProps ( #4979 )
...
* unwrapper props
* undrill collapse and dupe group
* undrill togglePin
* chop up wrapper props
* eliminate more drills
* undrill generate code modal
* undrill setactiverequest
* undrill copyAsCurl
* undrill updateDownloadPath
* undrill setpreviewmode
* undrill sidebarsort
* undrill sidebarfilter
* undrill SetActiveResponse
* undrill bulk settings toggles
* remove handleShowRequestSettings dead code
* undrill show cookie modal
* undrill remove workspace
* undrill send and sendanddownload
* undrill body-editor
* reconcile name drift
* undrill updateRequest
* fix lint
* fix(?) request send hotkey
* push sidebarChildren and dlPath down the tree
* undrill activeworkspacemeta and environments
* fix rebase mistake
* remove comment
* fix ts ignore and naming
* fix keydown binder
* restore render hack and fix delete
* move setActiveEnvironment to wrapper
* forwardRef: true
* fix send request without env in redux
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-07-28 09:40:22 +00:00
Filipe Freire
78536b142a
chore: Fix package-locks ( #5015 )
2022-07-28 08:29:31 +00:00
dependabot[bot]
fae0bb40a9
Bump glob-parent from 5.1.1 to 5.1.2 in /packages/insomnia-inso ( #5014 )
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-28 07:27:42 +01:00
John Chadwick
585ad9e46d
Move login flow to accounts website. ( #4964 )
...
* INS-1562: Allow fetching data-uris for fast base64
* INS-1562: Add insomnia-api-client dependency.
* INS-1562: Implement delegated login flow
* import named react imports directly (like rest of app)
* Fixes.
* Error handling improvements.
* Revert to using @sentry/electron inside renderer.
* Add break in command switch.
* Better support for re-auth prompts.
* Minor styling improvement.
* Jest fixes.
* Simplifications, fix occasional weirdness
* Update package-lock.json
* *facedesk* Fix URL copy!
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: David Marby <david@dmarby.se>
2022-07-27 20:55:18 -04:00
Dimitri Mitropoulos
9df9b9a457
[INS-1517] adds GitHubStarsButton ( #5009 )
...
* adds GitHubStarsButton
* adds incognito mode functionality
* adds segment
* update: only show stars on dashboard
I missed a comment on the ticket
* cancel fetch if component is no longer mounted
* new design
* change footer link (per request) now that the same link's in the header
* inlines links components per review feedback
* adds caching for fetched value to overcome over-rendering
2022-07-27 13:25:33 -04:00
Mark Kim
f877b040c1
fix: return the input focus back after sending a request ( #4978 )
...
* fix focus back
* add fix for blur on dropdown trigger button in request url bar
* add useCallback
* add useCallback
* add useCallback
* fix handleSendAndDownload from prev itteration
* add requested changes
* fix focus back
* add fix for blur on dropdown trigger button in request url bar
* add useCallback
* add useCallback
* add useCallback
* fix handleSendAndDownload from prev itteration
* add requested changes
* fix string mistake
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-07-26 16:27:21 -04:00
James Gatz
199cc8abea
Chore/response viewer fc ( #5005 )
...
* update response viewer to fc
* use key to update the component instead of refreshing through refs
2022-07-26 15:50:12 +02:00
Pavlos Koutoglou
ae2e2058ed
Prompt button to fc component ( #4983 )
2022-07-26 14:24:06 +02:00
Marco
8202b2e59f
feat: add link to Azure DevOps access token docs ( #4973 )
...
* feat: add link to Azure DevOps access token docs
* fix lint
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-07-25 15:04:53 +00:00
Mark Kim
e648f15820
refactor: convert settings-modal to functional ( #4991 )
...
* add modal fc conversion
* clean up
* Update packages/insomnia/src/ui/components/modals/settings-modal.tsx
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
* Update packages/insomnia/src/ui/components/modals/settings-modal.tsx
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
* Update packages/insomnia/src/ui/components/modals/settings-modal.tsx
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
* add requested changes
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2022-07-25 10:35:25 -04:00
Jack Kavanagh
7ab8882729
speceditor-sidebar class->fc ( #4987 )
...
* first pass
* fix type
* eliminate state
2022-07-25 12:58:10 +00:00
Jack Kavanagh
224e5d0842
request-group-row/tree class->fc ( #4990 )
...
* first pass
* and tree
* inline incremented string
2022-07-25 12:07:24 +00:00
Jack Kavanagh
96bd20ad86
fix e2e test/consistent buttons ( #4999 )
...
* fix e2e test/consistent buttons
* fix checks
* double test timeout
2022-07-25 11:34:34 +00:00
Jack Kavanagh
9ef02c48cc
WrapperProps: decouple page layout ( #4994 )
...
* undrill pane and sidebar postions
* simplify sidebarHidden
2022-07-25 10:53:25 +00:00
David Marby
c15c05bdbb
Remove reference to Insomnia Plus ( #5000 )
2022-07-22 15:49:13 +00:00
Jack Kavanagh
e3857221c0
Refactor/shortcuts fc ( #4986 )
...
* first pass
* useCallback
2022-07-22 11:13:01 +00:00
Jack Kavanagh
ac166158c8
response pane class->fc ( #4982 )
...
* first pass
* remove old
* remove delete drill prop
* remove two more drills
* two more drills
* remove one drill
* constify
* two more drills
* remove preview mode get/set drills
* undrill exportAsHAR
* undrill debug response download
* undrill prettify option
* save ipc for next pass
* fix delete response
* make delete function uniform
* address feedback comments
2022-07-22 09:52:00 +00:00
Jack Kavanagh
4d82d4ddb7
account class-fc ( #4988 )
...
* first pass
* simplify
* use FormData as state
* address review comments
2022-07-22 10:25:00 +01:00
dependabot[bot]
30f3eb0520
Bump glob-parent from 5.1.1 to 5.1.2 in /packages/insomnia-testing ( #4996 )
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-22 09:53:52 +01:00
David Marby
a7af9ce473
Merge branch 'release/2022.5.0-beta.5' into develop
2022-07-21 19:30:11 +00:00
David Fluck
e930140bd0
Bump app version to 2022.5.0-beta.5 and lerna package versions
2022-07-21 17:33:22 +00:00
Dimitri Mitropoulos
4be33b6bbe
undoes hotKeyRegistry prop drilling ( #4984 )
2022-07-21 13:43:30 +02:00
Jack Kavanagh
581dd3d9eb
remove lazy ( #4981 )
2022-07-19 13:00:01 +00:00
Jack Kavanagh
e49cd9bf9c
sidebar children class->fc ( #4966 )
...
* transform
* nest components to remove drills
* sort props
* rename overloaded children prop
* check for the length of children in request-group-row
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-07-19 12:26:49 +00:00
James Gatz
526bfc35c8
Refactor the Dropdown into a function component ( #4932 )
...
* add unit test for dropdown component
* refactor dropdown to function component wip
* use useLayoutEffect for updating the position
* update types to use DropdownHandle
* remove unused forcedposition
* remove dropup
* add warning about dropdown container
* add useCallback/useMemo
* re-export the container id for tests
* split the state
2022-07-19 13:58:25 +02:00
Mark Kim
5f250334f6
refactor: convert markdown editor to functional ( #4903 )
...
* convert markdown editor to functional
* add requested changes
2022-07-19 00:16:03 -04:00
Pavlos Koutoglou
7447c30340
Refactor the Button into a function component ( #4945 )
...
* Refactored the button component to be function component
* Remove onDisabledClick prop
* Chang prop distraction and use PropsWithChildren type
2022-07-18 21:28:52 +00:00
Jack Kavanagh
d98d61d30c
gql explorer type class->fc ( #4958 )
...
* second pass
* fix lint
2022-07-18 10:38:37 +00:00
Jack Kavanagh
ddd09c64eb
Markdown preview class->fc ( #4956 )
...
* transform
* remove debounce prop and handle nulls
2022-07-18 12:12:11 +02:00
Jack Kavanagh
1bef8ac364
workspace dropdown class->fc ( #4948 )
...
* first pass
* simplify
* useCallback
2022-07-14 17:45:36 +00:00
kreosus
24deb98f79
Merge branch 'release/2022.5.0-beta.4' into develop
2022-07-14 14:56:39 +00:00
kreosus
68541bdab9
Bump app version to 2022.5.0-beta.4 and lerna package versions
2022-07-14 14:02:53 +00:00
Dimitri Mitropoulos
537b0bcb95
Removes indirection for key hotkey codes ( #4957 )
...
* removes defineHotKey
* removes keyBinds and keyComb wrapper functions
* fix properties of keyCombination being undefined break equality check
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-07-13 15:03:17 -04:00
Mark Kim
c6e0591c58
fix: add change method param on callback ( #4963 )
2022-07-13 14:01:52 -04:00
Jack Kavanagh
deb1038c28
remove unused component ( #4959 )
2022-07-13 19:08:20 +02:00