Skip to content

Releases: zalmoxisus/remotedev-app

Support multiple instances in one connection

25 Aug 09:09
Compare
Choose a tag to compare

v0.6.3

16 Aug 08:03
Compare
Choose a tag to compare

Autogenerate "real" tests

As announced at React Europe, remotedev-app can generate tests for the inspected actions.

Thanks to Redux principles, it's a rather simple task:

expect(reducer(pervousState, action), currentState);

However, such tests are difficult to maintain and they aren't human-readable. Hacking a lot these days, we can now check only what was changed.

So, instead of

expect(
  reducers(
    {counter:0},
    {type:'INCREMENT_COUNTER'}
  )
).toEqual(
  {counter:1}
);

the extension generates tests like so

state = reducers(
  {counter:0},
  {type:'INCREMENT_COUNTER'}
);
expect(state.counter).toEqual(1);

Or for arrays, instead of

expect(
  reducers(
    {todos:[{text:'Use Redux',completed:false,id:0}]},
    {type:'ADD_TODO',text:'Generate tests'})
  )
).toEqual(
  {todos:[{id:1,completed:false,text:'Generate tests'},{text:'Use Redux',completed:false,id:0}]}
);

it will check only the length and new elements:

state = reducers(
  {todos:[{text:'Use Redux',completed:false,id:0}]},
  {type:'ADD_TODO',text:'Generate tests'})
);
expect(state.todos.length).toEqual(2);
expect(state.todos[0]).toEqual({id:1,completed:false,text:'Generate tests'});

Here's the full autogenerated test with also changing and removing an item:
screen shot 2016-08-14 at 5 00 16 pm

v0.6.1

05 Aug 11:06
Compare
Choose a tag to compare
  • Generate non-redux tests.
  • Fix monitor actions for multiple instances.
  • Don't show dispatcher when there's no monitored instance.
  • Autoclean href value for Export button, not to consume memory.

v0.6.0

01 Aug 09:44
Compare
Choose a tag to compare
  • Use noSettings parameter to remove Settings button and dialog (for custom monitor apps where settings are passed via parameters).
  • Optimization: State is not relayed twice when starting monitoring.
  • Move remote dispatch eval to the client part [#14].
  • Different behaviours when the monitored app is not Redux.

v0.4.0

15 May 15:15
Compare
Choose a tag to compare

Breaking

Remove redux-devtools-diff-monitor.

Style improving

Now use material-ui instead of react-desctop.

Fixes

  • Prevent dispatching empty actions.
  • Prevent throwing when socket url is invalid.

v0.3.8

03 May 19:07
Compare
Choose a tag to compare
  • Toggle slider monitor.
  • Update monitors.
  • Update dependencies for React 15.
  • Fix styles.
  • Forbid monitors actions for now.

v0.3.6

02 May 15:27
Compare
Choose a tag to compare
  • Added secure option to use secure connection (wss) for remotedev-server.
  • Improved the setting form and buttons.

v0.3.5

22 Apr 08:26
Compare
Choose a tag to compare
  • Import / export state feature
  • Optimizations of the components

v0.3.4

20 Apr 18:54
Compare
Choose a tag to compare
  • Show all previous history when the app is opened.
  • Start / stop relaying changes from the client app (zalmoxisus/remote-redux-devtools#20).
  • Show / hide dispatcher monitor.
  • Added DiffMonitor.

v0.3.3

19 Apr 09:40
Compare
Choose a tag to compare
  • Add ability to dispatch actions remotely with Dispatch monitor.
  • Add Chart monitor.
  • Fixed issues in log and inspect monitors.