Commit Graph

1110 Commits

Author SHA1 Message Date
Nathan Bierema
63b5e656e3
chore(deps): clean up (#779)
* chore(deps): clean up

* prettierignore

* Remove

* Keep

* Unify @types/react
2021-08-26 19:20:13 -04:00
renovate[bot]
b893e07fd8
chore(deps): update dependency lerna to v4 (#777)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 18:29:54 -04:00
renovate[bot]
cc475a2f64
chore(deps): update dependency fork-ts-checker-webpack-plugin to v6 (#773)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 17:28:15 -04:00
Fabrizio Vitale
7d92a5e186
[feat][monitor] Add rkt-query-inspector-monitor - feat/rtk query monitor (#750)
* chore: copy rtk-query example from toolkit

* feat(rtk-query): complete initial setup of rtk-query

* feat: complete inspector layout and add initial JSONTree setup

* fix: unintentional removal of tsconfig

* feat(search): add search logic and refactor monitor state shape

* fix: inverted monitor theme inside  devtoop-app

Othetr changes:

* simplify monitor integration

* fix: rtk monitor reducer not working in  app

* refactor(rtk-query): simplify theme config

* feat(rtk-query-monitor): add query preview tabs

* fix: wip

* refactor(examples): add rtk-query-polling to workspace

Other changes:

* docs(rtk-query-polling): add README.md

* chore(rtk-query-inspector): add demo to monorepo

Other changes:

chore: increase isWideScreen polling interval to 300

refactor: add subscription as root node in QueryPreviewSubscriptions

* feat(rtk-query): add multiple filter options

* chore(rtk-queery): rename demo build script and add SKIP_PREFLIGHT_CHECK=true

* feat(rtk-query): display status flags in QueryPreviewInfo

* chore(rtk-query): update typescript versions in rkt-inspector-monitor & its demo

* docs(rtk-query): add proper README

Other changes:

* fix examples/rtk-query-poilling

* docs(rtk-query): improve rtk-query-inspector-monitor demo gif

* docs(rtk-query): clean up demo

* fix(rtk-query): clear button not updating redux state

* docs(rtk-query): add link to rtk-query-inspector-monitor demo site

* chore(rtk-query): run prettier after prettier upgrade (55e2284)

* docs(rtk.query): clean up readme add features, todo and development section

* docs(rtk-query): fix link href

* chore(rtk-query): clean up rtk-query-imspector-monitor-demo and add post example

* feat(rtk-query): add counters on tags & subs tab buttons

* fix(rtk-query): layering issue between queryPreview tabList and select

Other changes:

* clean up demo styles

* run prettier

* fix: revert accidental changes packages/redux-devtools-serialize/tsconfig.json

* chore: change QueryComparators.fulfilledTimeStamp label

* feat(rtk-query): display api stats

* refactor: remove rtk-query-polling example from monorepo

* chore: regenerate lock file and add @types/react as monorepo devDep

* chore: display apiState

Other changes:

* fix close button overflow

* minor responsive style tweaks

* display reducerPath in query tab

* fix(rtk-query): resolve CI errors

- fix(prettier:check): unformatted file
- fix(lint:all): fix accidentallly removed .eslintignore

* chore(rtk-query): rename package to '@redux-devtools/rtk-query-monitor'

* fix(rtk-query): lint:all error

https://github.com/reduxjs/redux-devtools/runs/2869729048?check_suite_focus=true

* feat(rtk-query): add fallback message if there are no rtk-query apis

* refactor(rtk-query): move Inspector & Monitor to containers clean up typings

Other changes:

* chore: improved type coverage

* chore: do not lint packages/redux-devtools-rtk-query-monitor/demo folder

* refactor: put sort order buttons inside a component

* chore: hopefully resolve mockServiceWorker formatting issues

* fix(rtk-query): incorrect link color

Other changes:

* fix: add missing anchor property value noopener

* refactor(rtk-query): simplify sort order control

* feat(rtk-query): add timings to apiStats sections

* feat(rtk-query): add slowest and fastest in timings section

* feat(rtk-query): improve formatting of timings and display average loading time

* fix(rtk-query): rtk-query imports

* refactor(rtk-query): reduce selector computations

Other changes:

* simplify TreeView props

* feat(rtk-query): add actions tab

* refactor(rtk-query): add custom logic for TreeView shouldExpandNode

Other changes:

* feat: added duration in QueryPreviewInfo tab

* refactor: TreeView component

* chore(rtk-query): improve demo visibility on small devices

* feat(rtk-query): do not display tree node preview

Other changes:

* improve visibility of demo devTools on small devices

* tweak QueryPreviewInfo labels

* chore(rtk-query): improve responsiveness

* refactor(rtk-query): move preview to containers remove unnecessary computation

* feat(rtk-query): display median of timings

Other changes:

* improved shouldExpandNode logic of QueryPreviewActions

* tweaked mean logic

* refactor(rtk-query-monitor): conform demo setup to repo standards

* chore(rtk-query-monitor): add option to select active devtools

* chore(rtk-query-monitor): remove redux-devtools/examples/rtk-query-polling

* refactor(rtk-query): improve UI of api tab

* feat(rtk-query): add regex search

* feat(rtk-query): display mutations in queryList

* refactor(rtk-query): track all fulfilled requests using actions

Other changes:

* refactor(rtk-query): rename tally properties

* chore(rtk-query): update @redux-devtools/rtk-query-monitor dependencies

* fix(rtk-query): demo build failing caused by a typing error
2021-08-26 15:33:06 -04:00
Nathan Bierema
6cdc18f2fa
chore(deps): update yarn to v3 (#770)
* chore(deps): update yarn to v3

* Update yarn.lock
2021-08-26 10:20:15 -04:00
renovate[bot]
9a77585dd7
chore(deps): update all non-major dependencies (#758)
* chore(deps): update all non-major dependencies

* Prettify

* Combine versions

* Downgrade knex

* Engine changes

* Only LTS

* Greater than

* Combine lodash

* Fix type

* Fix type

* Update snapshots

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2021-08-26 09:52:23 -04:00
renovate[bot]
ec7f9117f6
Configure Renovate (#757)
* Add renovate.json

* Update config

* Bump ranges instead of pinning

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2021-08-25 23:00:13 -04:00
Nathan Bierema
a418284a4a
chore(extension): convert to TypeScript (#756)
* Start work

* More work

* stash

* stash

* stash

* Eliminate relay

* Fix

* Define page script to content script messages

* Define ContentScriptToPageScriptMessage

* Not required

* Fill out more types

* More work on types

* More type fixes

* Add type

* More improvements to types

* More work on types

* Fix more type errors

* More changes

* More work

* Work

* Fix build

* Fix lint

* Fix more lint

* Fix bug

* Fix tests
2021-08-25 00:22:54 -04:00
Nathan Bierema
326cfdf217
chore(extension): add extension to yarn workspaces (#747)
* Add packages

* misc changes

* Work

* Fix missing package

* Remove lint for now

* Test differently

* Try no-sandbox

* Test

* Try that

* Try that

* Test

* Not headless?

* Test electron

* Try Windows

* lerna run test

* Update
2021-06-19 23:08:00 -04:00
Nathan Bierema
79e2d5298d
chore(extension): test in CI (#749)
* chore(extension): test in CI

* On Windows

* Use working-directory

* Increase timeout

* Try waiting 2 seconds

* Or 5

* Keep other parts of CI

* Add more to gitattributes

* Expand

* No yaml

* Long
2021-06-19 21:58:59 -04:00
Nathan Bierema
9d7aa4b62f
chore(extension): upgrade dependencies (#745) 2021-06-18 22:11:10 -04:00
Nathan Bierema
89c8d7759e
chore(*): upgrade dependencies (#744)
* Upgrade

* yarn.lock

* Combine

* Ignore

* Update snapshots

* All the cool kids are doing this
2021-06-18 21:47:26 -04:00
Nathan Bierema
55e2284a3d
chore(*): upgrade prettier (#743)
* chore(*): upgrade prettier

* Update snapshots
2021-06-17 23:56:36 -04:00
Nathan Bierema
b50af14542
chore(*): remove prettier plugin (#742)
* chore(*): remove prettier plugin

* Remove references
2021-06-17 23:26:53 -04:00
Nathan Bierema
0c77e4d457
chore(*): upgrade to TypeScript 4.3 (#741) 2021-06-17 23:17:29 -04:00
Nathan Bierema
a635c4bc6a
chore(*): upgrade to TypeScript 4.2 (#740)
* chore(*): upgrade to TypeScript 4.2

* Fix

* Ignore
2021-06-17 23:00:59 -04:00
Nathan Bierema
985b7b6a56
chore(*): upgrade to TypeScript 4.1 (#739)
* chore(*): upgrade to TypeScript 4.1

* Fix lint

* Fix tests
2021-06-17 21:41:41 -04:00
Nathan Bierema
698fdec21d
chore(*): upgrade to TypeScript 4.0 (#736)
* chore(*): upgrade to TypeScript 4.0

* Fix

* Fix

* trigger

* build

* More fixes

* Fix
2021-06-16 12:20:20 -04:00
Nathan Bierema
81916f6cb8
chore(*): use GitHub Actions for CI (#738) 2021-06-16 10:58:22 -04:00
Nathan Bierema
50653641a9
chore(extension): use Yarn 2 (#735) 2021-06-14 17:50:06 -04:00
Nathan Bierema
0d5d7d8357
chore(*): use Yarn 2 (#733)
* Migrate to Yarn 2

* Add peer deps

* Work

* prettify

* test

* this

* Clean up travis.yml

* Run prettier first
2021-06-13 17:14:23 -04:00
Nathan Bierema
2bc60b53eb chore(*): run prettier 2021-06-10 23:42:46 -04:00
Nathan Bierema
7ee5055037 Publish
- @redux-devtools/app@1.0.0-8
 - @redux-devtools/cli@1.0.0-9
 - @redux-devtools/inspector-monitor-test-tab@0.7.2
 - @redux-devtools/inspector-monitor-trace-tab@0.2.2
2021-06-10 23:28:21 -04:00
Nathan Bierema
30c6971d37
fix(app): fix dependency version of inspector (#732)
* fix(app): fix dependency version of inspector

* Update other package.jsons
2021-06-10 23:21:57 -04:00
Nathan Bierema
46f33a24b4 chore(*): run prettier 2021-06-10 22:50:56 -04:00
Nathan Bierema
2513c370a6 Publish
- devui@1.0.0-9
 - @redux-devtools/app@1.0.0-7
 - @redux-devtools/cli@1.0.0-8
 - @redux-devtools/inspector-monitor-test-tab@0.7.1
 - @redux-devtools/inspector-monitor-trace-tab@0.2.1
 - @redux-devtools/inspector-monitor@1.0.0
 - @redux-devtools/slider-monitor@2.0.0-8
 - slider-todomvc@0.1.2
2021-06-10 22:41:29 -04:00
Nathan Bierema
c4a8fa286c
fix(app): remove unimplemented reports tab (#731) 2021-06-10 22:27:58 -04:00
Nathan Bierema
0291f5c95e
fix(*): fix peer dependencies on inpsector monitor (#730) 2021-06-10 22:16:29 -04:00
Nathan Bierema
457a201232
fix(cli): fix starting Electron app (#729) 2021-06-10 22:00:00 -04:00
Nathan Bierema
dbc08ab1b4
fix(devui): clean up after fixing UI bugs (#728)
* fix(devui): clean up after fixing UI bugs

* Fix references to props

* Update snapshot
2021-06-10 21:48:13 -04:00
wang chenyu
ed25a72e99
fix(devui): Fix buggy UI behaviors with redux-devtools-app (#709)
* fix(devui): Always run updateTabs on UNSAFE_componentWillReceiveProps. Otherwise, the changes in property tabs might not be reflected on the UI.

* chore(*): Update devui version. Fix the container growing out of viewport when too many actions.

* fix(devui): Update snapshots

* Update Tabs.tsx

* Update package.json

* Update package.json

Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2021-06-10 21:19:56 -04:00
Nathan Bierema
fcd73ab043
fix(inspector): move immutable back to dependencies (#725) 2021-06-07 09:10:45 -04:00
Nathan Bierema
07e409de6a
fix(*): fix Select types and usages (#724)
* stash

* more

* stash

* Revert port change

* Fix test

* Fix

* Update snapshot
2021-06-07 00:54:05 -04:00
Nathan Bierema
e7477833f0
fix(inspector): fix z-index of tabs (#723) 2021-06-06 20:19:03 -04:00
Nathan Bierema
a8d99ee424
fix(devui): fix Select widget in Form (#722) 2021-06-06 17:40:55 -04:00
Nathan Bierema
bb72311e1c
fix(devui): fix style of Select (#721)
* fix(devui): fix style of Select

* Upgrade @types/react-select

* Update snapshots
2021-06-06 16:42:40 -04:00
Nathan Bierema
bc5523f14f
chore(app): move common devDependencies to root (#720) 2021-06-06 16:02:32 -04:00
Nathan Bierema
950021cf7b
chore(cli): upgrade Electron (#719) 2021-06-06 15:18:49 -04:00
Nathan Bierema
a304a2c1a8
chore(extension): upgrade Electron for tests (#718)
* mode: 'detach'

* Upgrade selenium-webdriver

* Temporarily use electron-chromedriver

* electron@3

* electron@5

* electron@8

* electron@11

* electron@12

* electron@13

* stash

* This works

* Cleanup

* Prettify
2021-06-06 15:04:43 -04:00
Tim Dorr
86ed9473d2
Bump extension version 2021-06-01 11:26:04 -04:00
zhuhaow
f4b9c4b057
fix(extension): polyfill chrome.storage.sync for Electron (#711)
`chrome.storage.sync` is not supported on Electron (https://www.electronjs.org/docs/api/extensions#chromestorage).

Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2021-05-17 11:03:56 -04:00
James Peters
9eb1644776
docs(*): update link to Devtools extension (#714) 2021-05-05 19:43:15 -04:00
Tim Dorr
d84e1f4d3a
Fix these compression scripts 2021-05-05 14:24:13 -04:00
Tim Dorr
5cd155f638
This permission is unused.
`tabs` is only needed if we're getting the url, title, or favIconUrl of a tab, which we are not.
2021-05-05 14:20:35 -04:00
Tim Dorr
74034ba4f0
Don't minimize extension code 2021-05-05 14:17:31 -04:00
Nathan Bierema
a094e3b42c chore(*): run prettier 2021-04-06 15:29:32 -04:00
Nathan Bierema
9cff7127de Publish
- @redux-devtools/cli@1.0.0-7
2021-04-06 15:26:51 -04:00
Nathan Bierema
95c8c5520d
fix(cli): include dist directory in publish (#707) 2021-04-06 15:24:34 -04:00
Nathan Bierema
511c974e63
docs(*): update docs for scoped packages (#704) 2021-03-06 13:56:00 -05:00
Nathan Bierema
984096ffde chore(*): run prettier 2021-03-06 10:51:16 -05:00