* fix ts-expect-error
* removes useless await
see https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/await-thenable.md
We're not quite ready to have this rule on everywhere, but in this case I can see that it's correct to follow.
* add comment about magic number
and moves the assignment to the one place it's used
I opted not to make a ticket because we are recently running out of tickets and this seems to be a relatively small thing @reynolek please confirm this is the correct course of action.
* initialize ref to reflect reality (and include actual type)
* fixes root cause of error, inlines one-liners
the error with the type of `_handleInputColorChange` was due to `onChange` being the wrong prop to use (where `onChange` is the one we want).
* use onChange instead of onInput to access correct types
ultimately, since react's behavior diverged from the DOM behavior to match onInput, this should have no effect on any functionality since react assigns this event to `onChange` anyway. see https://github.com/facebook/react/blob/master/fixtures/attribute-behavior/src/attributes.js#L2089
* clears remaining ts-expect-errors in file
* updates fallback call per review feedback
* use jest-preset for all but app
* separate properties that are the same as the preset
for some reason, it doesn't work. you get:
```
Preset ../../jest-preset.js not found.
```
This needs to be investigated.
* removes unused/unneeded npm script in `app`, `test:jest`
* fix: tooltip with an initial empty message causes issues
* test: add failing test
* fix: breaking test is fixed with the fix
* test: expand on tests
* chore: rename test
* test: add checks for the child element
* test: add comments
* chore: spacing
* fix: oopsie
* feat(insomnia-components): add async-button
* feat: show error if parsing protofile fails during upload/add
* chore: flow is poop
* feat: use try-finally
* Moving click handler up to parent item, preventing dupe calls on checkbox
* Alignment and setting CBs to read only
* Label alignment when sibling of input
Co-authored-by: Opender Singh <opender94@gmail.com>
* Set cursor focus on active filter
* Click targets and info panel fix
Fixing inconsistently treated click targets and info panel items.
* Font (for SVGs) sizing and layout fixes.
* Layout & alignment fixes
* Update packages/insomnia-components/components/sidebar/sidebar-info.js
Co-authored-by: Opender Singh <opender94@gmail.com>
* Spacing increase on first child elment in panel, click specificity
Co-authored-by: Opender Singh <opender94@gmail.com>
* Adding list group component with stubbed badge & list item
* Cleaning up stories, error padding tweak
* Results list item padding fix
* Review feedback and component provisioning
Shift to functional components
Abstract both list and list item away for re-use
Roll unit test result specific styling into UT source
Roll supporting UI over including badges > extend SC for flavors
Shift timestamp to render the value, JSX handling formatting
* Renaming UT specific badges
* List group and unit test wrapper component updates
- Pulled unit test results list item into SB
- All unique aspects of UT results are bundled in the IC which extend base item
- Cleansed UT wrapper of inline components
- Setting up list group and list group item base for middle area
* Abstrating badges, timestamp and updating unit test wrapper
* Update packages/insomnia-components/components/list-group/unit-test-result-badge.js
Co-authored-by: Opender Singh <opender94@gmail.com>
* Update packages/insomnia-components/components/list-group/unit-test-result-item.js
Co-authored-by: Opender Singh <opender94@gmail.com>
* Dep cleanup, PR feedback
Co-authored-by: Opender Singh <opender94@gmail.com>
* Start working on insomnia-testing package to generate Mocha code
* Moved some things around
* Integration tests and ability to run multiple files
* Fix integration tests
* Rename runSuite to runMochaTests
* Add types for test results
* Fix lint errors
* Play with Chia assertions
* insomnia and chai globals, plus a bunch of improvements
* Stub chai and axios Flow types
* Ability to reference requests by ID
* Fix chai flow-typed location
* Address PR comments (small tweaks)
* Basic UI going
* Lots and lots and lots
* Pretty-much done with the unit test UI
* Minor CSS tweak
* Activity bar triple toggle and more
* Minor tweak
* Unit Test and Suite deletion
* Bump Designer version
* Fix eslint stuff
* Fix insomnia-testing tests
* Fix tests
* lib@2.2.9
* Remove tests tab from response pane
* Hook up Insomnia networking
* Fix linting
* Bump version for alpha
* Remove extra ActivityToggleSwitch
* Remove unused import
* Add test:pre-release script that excludes CLI tests
* Less repetition
* Clean some things up
* Tweaks after self-cr
* Undo request ID tag
* Swap out switch for new activity toggle component
* Extra check
* Remove dead code
* Delete dead test
* Oops, revert example code
* PR feedback
* Unit test UI tweaks
* More PR comment addresses
* Change test name
* Start working on insomnia-testing package to generate Mocha code
* Moved some things around
* Integration tests and ability to run multiple files
* Fix integration tests
* Rename runSuite to runMochaTests
* Add types for test results
* Fix lint errors
* Play with Chia assertions
* insomnia and chai globals, plus a bunch of improvements
* Stub chai and axios Flow types
* Ability to reference requests by ID
* Fix chai flow-typed location
* Address PR comments (small tweaks)
* Basic UI going
* Lots and lots and lots
* Pretty-much done with the unit test UI
* Minor CSS tweak
* Activity bar triple toggle and more
* Minor tweak
* Unit Test and Suite deletion
* Bump Designer version
* Fix eslint stuff
* Fix insomnia-testing tests
* Fix tests
* lib@2.2.9
* Remove tests tab from response pane
* Hook up Insomnia networking
* Fix linting
* Bump version for alpha
* Remove extra ActivityToggleSwitch
* Remove unused import
* Add test:pre-release script that excludes CLI tests
* Less repetition
* Clean some things up
* Tweaks after self-cr
* Undo request ID tag
* Swap out switch for new activity toggle component
* Extra check
* Remove dead code
* Delete dead test
* Oops, revert example code
* PR feedback
* More PR comment addresses
* Add multi-switch component, refactor radio group, and add succeess icon
* Fix dark theme for storybook
Co-authored-by: Mike Ellan <52717970+sonicyeti@users.noreply.github.com>
* Add
* Update
* Remove extra peer dep
* Remove extra peer dep undo
* Undo stuff
* Convert two components (validation)
* Undo packed dep change
* Fix for react-dom alias to @hot-loader/react-dom (#2292)
Co-authored-by: Gregory Schier <gschier1990@gmail.com>
* deps: bump node-libcurl to latest prerelease version
* Add .npmrc, bump Electron to 3.1.13, remove electron-rebuild
* Minor tweaks
* package locks
* Bump version
* Switch to font-manager and fix fsevents rimraf
* Try generating npmrc inside build/
* Try uninstall of fsevents instead
* Bump
* Try npm env vars
* Extra .npmrc
* Try npm env vars in all CI
* Fix insomnia-cookies dependencies
* Fix typo
* Loosen nvmrc version
* Remove npm uninstalls
* Build outside of Docker
* Remove Docker, build all on GH Actions
* Bump Core version
* Disable Snapcraft for now
* Bump
* Disable snap for Designer too
* Update product name for Core
* Update test.yml
* Remove Travis file
* Make userData folder explicit and add Curl types
* Remove old Kong icon
* Remove curl.js adapter
* Revert productName
* Fix release date
* Try remove windows build tools from CI
* Add comment about Snap deploys
* Remove the pane border on Windows (no longer necessary)
Co-authored-by: Jonathan Cardoso Machado <me@jonathancardoso.com>
* component migration to new SB instance
Migrating help tooltip to new SB instance at /insomnia-components/ also styling component directly via styled components
* Adding stories for positions and info vs. question
* lint fix
* Pulling left positioning out of delay story
Co-authored-by: Gregory Schier <gschier1990@gmail.com>