Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add redux-devtools-inspector monitor #64

Merged
merged 1 commit into from
Feb 25, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"redux-devtools-chart-monitor": "^1.1.3",
"redux-devtools-diff-monitor": "^4.0.1",
"redux-devtools-filter-actions": "^1.1.0",
"redux-devtools-inspector": "^0.1.7",
"redux-devtools-log-monitor": "^1.0.4",
"redux-slider-monitor": "^1.0.2",
"redux-thunk": "^1.0.3",
Expand Down
2 changes: 2 additions & 0 deletions src/app/containers/Monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import LogMonitor from 'redux-devtools-log-monitor';
import ChartMonitor from 'redux-devtools-chart-monitor';
import SliderMonitor from 'redux-slider-monitor';
import DiffMonitor from './DiffMonitor';
import InspectorMonitor from 'redux-devtools-inspector';

const monitorTypes = location.hash ? location.hash.substr(1).split('/') : {};

Expand All @@ -12,6 +13,7 @@ function getMonitor() {
case 'SliderMonitor': return createElement(SliderMonitor);
case 'ChartMonitor': return createElement(ChartMonitor);
case 'DiffMonitor': return createElement(DiffMonitor);
case 'InspectorMonitor': return createElement(InspectorMonitor);
default: return createElement(LogMonitor, { preserveScrollTop: false });
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/browser/extension/options/monitors.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import React from 'react';
export const sideMonitors = [
['LogMonitor', 'Log Monitor'],
['DiffMonitor', 'Diff Monitor'],
['ChartMonitor', 'Chart Monitor']
['ChartMonitor', 'Chart Monitor'],
['InspectorMonitor', 'Inspector Monitor']
];

export const bottomMonitors = [
Expand Down