Skip to content

Commit

Permalink
#38: add file/folder structure for team awareness visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
m4nv3ru committed Feb 15, 2022
1 parent 10acd91 commit d4db2c2
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ import issueImpact from './visualizations/issue-impact';
import hotspotDials from './visualizations/hotspot-dials';
import codeHotspots from './visualizations/code-hotspots';
import languageModuleRiver from './visualizations/language-module-river';
import teamAwareness from './visualizations/team-awareness';

const visualizationModules = [dashboard, codeOwnershipRiver, issueImpact, hotspotDials, codeHotspots, languageModuleRiver];
const visualizationModules = [dashboard, codeOwnershipRiver, issueImpact, hotspotDials, codeHotspots, languageModuleRiver, teamAwareness];

const visualizations = {};
_.each(visualizationModules, viz => {
Expand Down
13 changes: 13 additions & 0 deletions ui/src/visualizations/team-awareness/chart/chart.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict';

import React from 'react';

export default class TeamArwareness extends React.Component {
constructor(props) {
super(props);
}

render() {
return (<h1>Hello World</h1>);
}
}
5 changes: 5 additions & 0 deletions ui/src/visualizations/team-awareness/chart/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

import chart from './chart.js';

export default chart;
13 changes: 13 additions & 0 deletions ui/src/visualizations/team-awareness/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from "react"



export default class ConfigComponent extends React.Component {
constructor(props) {
super(props);
}

render() {
return (<h1>Team Arwareness Config</h1>);
}
}
16 changes: 16 additions & 0 deletions ui/src/visualizations/team-awareness/help.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
'use strict';

import React from 'react';


export default class HelpComponent extends React.Component {
constructor(props) {
super(props);
}

render() {
return (
<h1 className="title">Team Arwareness Help 1</h1>
);
}
}
17 changes: 17 additions & 0 deletions ui/src/visualizations/team-awareness/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
'use strict';

import ChartComponent from './chart';
import ConfigComponent from './config';
import HelpComponent from './help';
import saga from './sagas';
import reducer from './reducers';

export default {
id: "teamArwareness",
label: "Team Arwareness",
saga,
reducer,
ChartComponent,
ConfigComponent,
HelpComponent
};
5 changes: 5 additions & 0 deletions ui/src/visualizations/team-awareness/reducers/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

import { handleActions } from 'redux-actions';

export default handleActions({},{});
8 changes: 8 additions & 0 deletions ui/src/visualizations/team-awareness/sagas/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

import { put } from "redux-saga/effects";


export default function*() {
yield put();
};

0 comments on commit d4db2c2

Please sign in to comment.