Commit Graph

43 Commits

Author SHA1 Message Date
Nathan Bierema
b3e8f209fd
Remove more unnecessary use of lodash (#1734) 2024-08-30 19:07:05 -04:00
renovate[bot]
238a38fb21
fix(deps): update dependency @rjsf/core to v5 (#1409)
* fix(deps): update dependency @rjsf/core to v5

* redux-devtools-ui

* Update

* Update

* Update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2024-08-26 03:16:10 +00:00
Nathan Bierema
8682d05b0b
Update Redux packages (#1583)
* Update Redux packages

* Fix instrument build

* Fix some test type errors

* Fix redux-devtools build

* Fix rtk-query-monitor build

* Fix redux-devtools-app build

* Fix redux-devtools-extension build

* Fix redux-devtools-remote build

* Fix extension build

* slider-monitor-example

* test-tab-demo

* inspector-monitor-demo

* rtk-query-monitor-demo

* counter-example

* todomvc-example

* Fix lint

* Fix instrument test types

* Fix core tests

* Fix rtk-query-monitor tests

* Updates
2024-08-05 23:11:13 -04:00
Matt Oakes
96ac1f291a
Move the logic from @redux-devtools/app into @redux-devtools/app-core (#1655)
This change splits out the main logic from the Redux Devtools App into a new
core package but keeps the socket connection management in @redux-devtools/app.
The aim is to allow for easier reuse of the rest of the app in other envioronments
with their own transport methods, such as React Native or Electron.
2024-06-12 09:18:46 -04:00
renovate[bot]
9e4e054f8b
fix(deps): update dependency jsondiffpatch to ^0.6.0 (#1586)
* fix(deps): update dependency jsondiffpatch to ^0.6.0

* Cleanup renovate.json

* Code updates

* Update test config

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2024-01-23 21:48:11 -05:00
Nathan Bierema
b79b2c3bbc
Fix some unbound-method ESLint errors (#1576)
* Fix some unbound-method ESLint errors

* Keep that one
2023-12-17 22:03:02 -05:00
Nathan Bierema
b54bc75cbb
Remove prop-types (#1557) 2023-12-10 00:50:15 -05:00
Nathan Bierema
65205f9078
Replace Action<unknown> with Action<string> (#1525)
* Replace Action<unknown> with Action<string>

In anticipation of Redux 5 type changes

* Fix lint errors

* Create yellow-steaks-marry.md
2023-11-04 21:04:23 +00:00
Nathan Bierema
e57bcb3933
Build @redux-devtools/app UMD using esbuild (#1494)
* Build @redux-devtools/app UMDs using esbuild

* Fix variable being exported

* Remove module.hot

* Include CSS

* Cleanup

* Cleanup

* Create slow-paws-beg.md
2023-09-17 00:13:50 +00:00
renovate[bot]
922985f9ea
chore(deps): update dependency prettier to v3 (#1434)
* chore(deps): update dependency prettier to v3

* Format

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2023-07-12 18:03:20 +00:00
renovate[bot]
bca3cb5db9
chore(deps): update dependency typescript to v5 (#1374)
* chore(deps): update dependency typescript to v5

* Fix

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2023-04-15 17:14:32 +00:00
kentkwee
d54adb76f8
feature(redux-devtools-inspector-monitor): add option to sort state tree alphabetically and/or disable collections (#1264)
Co-authored-by: Kent Kwee <kent.kwee@tngtech.com>
2023-04-11 08:21:40 -04:00
Nathan Bierema
b323f77d31
Upgrade D3 to v4 (#1307)
* Update packages

* Fix after update

* Update some types

* Remove attr

* Finish d3tooltip

* Update style option

* Updates

* Zoom

* Update

* Update

* Update

* Fix

* Update

* Update

* Update

* Update

* Update

* Fixes

* Update id type

* Fix enter + update selections

* Use this

* Fix stringifying

* Remove InputOptions

* Use data.value

* Updates

* Remove UMD builds

* Fix exit

* No need to re-assign

* Simplify d3tooltip API

* Update redux-devtools-chart-monitor

* Update redux-devtools-app

* Update

* Update

* Remove @types/prop-types

* Update prop types

* Update d3tooltip docs

* Update d3-state-visualizer docs

* Update chart-monitor docs

* Create weak-kings-brake.md

* Create spicy-olives-compete.md

* Create friendly-coats-trade.md

* Create slimy-elephants-flash.md

* Fix empty arrays
2023-01-02 14:19:13 -05:00
renovate[bot]
6c9ae2713f
chore(deps): update socketcluster to v16 (major) (#1167)
* chore(deps): update socketcluster to v16

* Use the right packages

* stash

* stash

* stash

* Fixes

* Fixes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2022-06-13 11:35:11 +00:00
renovate[bot]
e60c2d37dd
chore(deps): update dependency typescript to ~4.7.3 (#1174)
* chore(deps): update dependency typescript to ~4.7.3

* Fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2022-06-06 13:52:37 +00:00
Nathan Bierema
ab3c0e29dc
Avoid persisting the selected action between sessions (#1122)
* Avoid persisting the selected action between sessions

* Create giant-oranges-report.md
2022-04-03 22:05:14 +00:00
Nathan Bierema
1388a2248e
Update donation link
Now that I have access to the OpenCollective again
2022-02-13 16:07:21 -05:00
Nathan Bierema
c8f36e9c26
Default monitors to a monospace font (#1051) 2022-01-24 19:18:59 +00:00
Nathan Bierema
b82de74592
Add ESM builds (#997)
* Use rollup for d3tooltip

* Use rollup for map2tree

* Set moduleResolution

* Use rollup for d3-state-visualizer

* Use rollup for react-base16-styling

* Use rollup for react-dock

* Use rollup for react-json-tree

* Use rollup for redux-devtools

* Use rollup for redux-devtools-intrument

* Use rollup for redux-devtools-chart-monitor

* Update export

* Use rollup for redux-devtools-dock-monitor

* Use rollup for redux-devtools-inspector-monitor

* Fix inspector demo

* Fix invalid eslint config

* Use rollup for inspector-monitor-test-tab

* Use rollup for inspector-monitor-trace-tab

* Use rollup for redux-devtools-log-monitor

* Use rollup for redux-devtools-remote

* Use rollup in redux-devtools-rtk-query-monitor

* Use rollup for redux-devtools-serialize

* Fix redux-devtools examples

* Use rollup for redux-devtools-slider-monitor

* Fix slider examples

* Use rollup for redux-devtools-ui

* Use rollup for redux-devtools-utils

* Use rollup for redux-devtools-extension

* Use rollup for redux-devtools-app

* Fix Webpack app build

* Fix extension build

* Turn on minimization

* Update CLI
2022-01-10 15:41:53 +00:00
Nathan Bierema
3c0fb90b38
Update buttons (#992) 2022-01-08 00:56:13 +00:00
Nathan Bierema
06ba7575bc
Update links in header (#990) 2022-01-07 05:01:50 +00:00
Nathan Bierema
b4f2958dda
Fix usage of filtered actions with slider-monitor (#983)
* Use jumpToAction instead of jumpToState

* Jumping to action is time traveling

* Fix bad null check

* Fix types

* Fix JUMP_TO_ACTION handling

* Use indexOf
2022-01-07 04:27:50 +00:00
Nathan Bierema
1de7e11a0a
Integrate color scheme preference into ui library (#950) 2021-11-06 17:28:35 +00:00
Fabrizio Vitale
90cde4cfdf
Feat/use dark mode preference to set initial theme.light (#861)
* feat(redux-devtools-app): use `prefers-color-scheme` to set `theme.light` if user has not set a preferred theme

* chore(@redux-devtools/app): fix lint error

Error message:

0:0  error  Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: test/__mocks__/styleMock.ts.
The file must be included in at least one of the projects provided

* chore: run prettier

* feat(app): add theme color dropdown

* refactor(rename): system preference option from default to auto
2021-11-06 09:52:43 -04:00
renovate[bot]
7e4cea6fa9
chore(deps): update typescript-eslint monorepo to v5 (major) (#907)
* chore(deps): update typescript-eslint monorepo to v5

* Update

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2021-10-21 19:08:35 +00:00
renovate[bot]
7e01b693ad
chore(deps): update dependency typescript to ~4.4.3 (#833)
* chore(deps): update dependency typescript to ~4.4.3

* Fix instrument

* Fix app

* Fix cli

* Fix extension

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2021-10-05 02:32:03 +00:00
Nathan Bierema
f454ac8a7f
chore(*): switch to Yarn Plug'n'Play (#871)
* Build all

* Lint all

* Test (almost) all

* Test CLI

* Format

* Make styled-components a peer dependency

* Add missing peer dependencies

* Fix electron fixture
2021-09-19 21:59:01 +00:00
Nathan Bierema
17314ccf70
chore(*): rename devui to redux-devtools-ui (#868) 2021-09-18 14:00:58 +00:00
Nathan Bierema
6b2ad1ebaa
fix(app): update links (#849) 2021-09-06 20:31:10 +00:00
Nathan Bierema
5f1b7e9de5
fix(app): remove remotedev option (#845) 2021-09-06 18:29:41 +00:00
Nathan Bierema
370b5e6df3
fix(extension): fix state persisting (#843) 2021-09-06 16:48:34 +00:00
Nathan Bierema
855f22e14e
fix(extension): remove special case for JUMP_TO_STATE (#829) 2021-09-02 13:34:24 +00:00
Nathan Bierema
a3a46cabf0
feat(extension): add persistence of settings (#826) 2021-08-31 01:42:01 +00:00
renovate[bot]
ad23a3ed8b
fix(deps): update dependency redux-persist to v6 (#811)
* fix(deps): update dependency redux-persist to v6

* Changes

* Add PersistGate

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2021-08-30 22:18:02 +00:00
Nathan Bierema
1258902c35
fix(extension): fix code editor styles (#817) 2021-08-30 01:32:29 +00: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
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
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
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
c4a8fa286c
fix(app): remove unimplemented reports tab (#731) 2021-06-10 22:27:58 -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
0399d306c0
chore(*): move redux-devtools-app to scoped package (#693)
* stash

* more

* cli rename

* Remove reference

* Fix another reference

* Fix scripts

* Fix package name

* Fix tsconfig
2020-12-22 12:02:14 -05:00