remotedev-* -> redux-devtools-*

This commit is contained in:
Zalmoxisus 2019-01-03 17:02:43 +02:00
parent e020e309ea
commit a3a5ef2561
11 changed files with 65 additions and 20 deletions

View File

@ -1,7 +1,7 @@
export const ADDON_ID = 'remotedev-themes-storybook'; export const ADDON_ID = 'redux-devtools-themes-storybook';
export const PANEL_ID = `${ADDON_ID}/panel`; export const PANEL_ID = `${ADDON_ID}/panel`;
export const EVENT_ID_DATA = `${ADDON_ID}/event/data`; export const EVENT_ID_DATA = `${ADDON_ID}/event/data`;
export const CSS_CLASS = 'remotedev-storybook'; export const CSS_CLASS = 'redux-devtools-storybook';
export const DEFAULT_THEME_STATE = { export const DEFAULT_THEME_STATE = {
theme: 'default', theme: 'default',
scheme: 'default', scheme: 'default',

View File

@ -1,4 +1,4 @@
Remote Redux DevTools monitor app Redux DevTools monitor app
================================== ==================================
![Demo](https://raw.githubusercontent.com/zalmoxisus/remote-redux-devtools/master/demo.gif) ![Demo](https://raw.githubusercontent.com/zalmoxisus/remote-redux-devtools/master/demo.gif)
@ -8,7 +8,7 @@ Web, Electron and Chrome app for monitoring [remote-redux-devtools](https://gith
Also it's a react component you can use to build amazing monitor applications like: Also it's a react component you can use to build amazing monitor applications like:
* [redux-devtools-extension](https://github.com/zalmoxisus/redux-devtools-extension). * [redux-devtools-extension](https://github.com/zalmoxisus/redux-devtools-extension).
* [react-native-debugger](https://github.com/jhen0409/react-native-debugger) - Electron app, which already includes `remotedev-server`, `remotedev-app` and even React DevTools. * [react-native-debugger](https://github.com/jhen0409/react-native-debugger) - Electron app, which already includes `remotedev-server`, `redux-devtools-app` and even React DevTools.
* [remote-redux-devtools-on-debugger](https://github.com/jhen0409/remote-redux-devtools-on-debugger) - Used in React Native debugger as a dock monitor. * [remote-redux-devtools-on-debugger](https://github.com/jhen0409/remote-redux-devtools-on-debugger) - Used in React Native debugger as a dock monitor.
* [atom-redux-devtools](https://github.com/zalmoxisus/atom-redux-devtools) - Used in Atom editor. * [atom-redux-devtools](https://github.com/zalmoxisus/atom-redux-devtools) - Used in Atom editor.
* [vscode-redux-devtools](https://github.com/jkzing/vscode-redux-devtools) - Used in Visual Studio Code. * [vscode-redux-devtools](https://github.com/jkzing/vscode-redux-devtools) - Used in Visual Studio Code.
@ -18,7 +18,7 @@ Also it's a react component you can use to build amazing monitor applications li
```js ```js
import React from 'react'; import React from 'react';
import ReactDom from 'react-dom'; import ReactDom from 'react-dom';
import DevToolsApp from 'remotedev-app'; import DevToolsApp from 'redux-devtools-app';
ReactDom.render( ReactDom.render(
<App />, <App />,

View File

@ -0,0 +1,45 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<title>Redux DevTools</title>
<style>
body {
position: fixed;
overflow: hidden;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
#root {
height: 100%;
}
@media print {
@page {
size: auto;
margin: 0;
}
body {
position: static;
}
#root > div > div:not(:nth-child(2)) {
display: none !important;
}
#root > div > div:nth-child(2) {
overflow: visible !important;
position: absolute !important;
z-index: 2147483647;
page-break-after: avoid;
}
#root > div > div:nth-child(2) * {
overflow: visible !important;
}
}
</style>
</head>
<body>
<div id='root'></div>
</body>
</html>

View File

@ -1,7 +1,7 @@
{ {
"name": "remotedev-app", "name": "redux-devtools-app",
"version": "0.11.0-3", "version": "0.11.0-3",
"description": "Remote Redux DevTools web, electron and chrome app.", "description": "Redux DevTools web app.",
"scripts": { "scripts": {
"start": "webpack-dev-server --hot --inline --env.development --env.platform=web --progress", "start": "webpack-dev-server --hot --inline --env.development --env.platform=web --progress",
"build:web": "rimraf ./build/web && webpack -p --env.platform=web --progress", "build:web": "rimraf ./build/web && webpack -p --env.platform=web --progress",
@ -26,9 +26,9 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/zalmoxisus/remotedev-app" "url": "https://github.com/reduxjs/redux-devtools"
}, },
"homepage": "https://github.com/zalmoxisus/remotedev-app", "homepage": "https://github.com/reduxjs/redux-devtools",
"keywords": [ "keywords": [
"react", "react",
"redux", "redux",
@ -95,7 +95,7 @@
"redux-devtools-test-generator": "^0.5.1", "redux-devtools-test-generator": "^0.5.1",
"redux-persist": "^4.8.0", "redux-persist": "^4.8.0",
"redux-slider-monitor": "^2.0.0-0", "redux-slider-monitor": "^2.0.0-0",
"remotedev-inspector-monitor": "^0.11.0", "redux-devtools-inspector": "^0.11.0",
"socketcluster-client": "^5.5.0", "socketcluster-client": "^5.5.0",
"styled-components": "^2.0.0" "styled-components": "^2.0.0"
}, },

View File

@ -53,7 +53,7 @@ class Header extends Component {
<Button <Button
title="Follow us" title="Follow us"
tooltipPosition="bottom" tooltipPosition="bottom"
onClick={this.openLink('https://twitter.com/RemoteDev')} onClick={this.openLink('https://twitter.com/ReduxDevTools')}
> >
<TwitterIcon /> <TwitterIcon />
</Button> </Button>

View File

@ -3,9 +3,9 @@ import PropTypes from 'prop-types';
import { bindActionCreators } from 'redux'; import { bindActionCreators } from 'redux';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { Tabs } from 'devui'; import { Tabs } from 'devui';
import StateTree from 'remotedev-inspector-monitor/lib/tabs/StateTab'; import StateTree from 'redux-devtools-inspector/lib/tabs/StateTab';
import ActionTree from 'remotedev-inspector-monitor/lib/tabs/ActionTab'; import ActionTree from 'redux-devtools-inspector/lib/tabs/ActionTab';
import DiffTree from 'remotedev-inspector-monitor/lib/tabs/DiffTab'; import DiffTree from 'redux-devtools-inspector/lib/tabs/DiffTab';
import { selectMonitorTab } from '../../../actions'; import { selectMonitorTab } from '../../../actions';
import RawTab from './RawTab'; import RawTab from './RawTab';
import ChartTab from './ChartTab'; import ChartTab from './ChartTab';

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import InspectorMonitor from 'remotedev-inspector-monitor'; import InspectorMonitor from 'redux-devtools-inspector';
import TestTab from 'redux-devtools-test-generator'; import TestTab from 'redux-devtools-test-generator';
import { DATA_TYPE_KEY } from '../../../constants/dataTypes'; import { DATA_TYPE_KEY } from '../../../constants/dataTypes';
import SubTabs from './SubTabs'; import SubTabs from './SubTabs';

View File

@ -7,7 +7,7 @@ import rootReducer from '../reducers';
export default function configureStore(callback, key) { export default function configureStore(callback, key) {
const persistConfig = { const persistConfig = {
keyPrefix: `remotedev${key || ''}:`, keyPrefix: `redux-devtools${key || ''}:`,
blacklist: ['instances', 'socket'], blacklist: ['instances', 'socket'],
storage: localForage, storage: localForage,
serialize: data => data, serialize: data => data,

View File

@ -7,10 +7,10 @@ module.exports = (env = {}) => (
app: ['./src/app/index.js'] app: ['./src/app/index.js']
}, },
output: { output: {
library: 'RemoteDevApp', library: 'ReduxDevToolsApp',
libraryTarget: 'umd', libraryTarget: 'umd',
path: path.resolve(__dirname, 'dist'), path: path.resolve(__dirname, 'dist'),
filename: env.development ? 'remotedev-app.js' : 'remotedev-app.min.js' filename: env.development ? 'redux-devtools-app.js' : 'redux-devtools-app.min.js'
}, },
module: { module: {
rules: [ rules: [

View File

@ -1,4 +1,4 @@
const ERROR = '@@remotedev/ERROR'; const ERROR = '@@redux-devtools/ERROR';
export default function catchErrors(sendError) { export default function catchErrors(sendError) {
if (typeof window === 'object' && typeof window.onerror === 'object') { if (typeof window === 'object' && typeof window.onerror === 'object') {

View File

@ -70,7 +70,7 @@
"redux-devtools": "^3.3.2", "redux-devtools": "^3.3.2",
"redux-devtools-dock-monitor": "^1.1.1", "redux-devtools-dock-monitor": "^1.1.1",
"redux-logger": "^2.8.1", "redux-logger": "^2.8.1",
"remotedev-inspector-monitor": "^0.11.0", "redux-devtools-inspector": "^0.11.0",
"rimraf": "^2.5.2", "rimraf": "^2.5.2",
"style-loader": "^0.13.1", "style-loader": "^0.13.1",
"url-loader": "^0.5.7", "url-loader": "^0.5.7",