Skip to content

Commit

Permalink
#207: Updated files for vite
Browse files Browse the repository at this point in the history
  • Loading branch information
uberroot4 committed Dec 7, 2023
1 parent dbc501d commit ad04375
Show file tree
Hide file tree
Showing 153 changed files with 110 additions and 110 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion ui/src/components/App/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styles from './app.css';
import styles from './app.module.css';
import Sidebar from '../Sidebar';
import HelpButton from '../Help/HelpButton';
import Help from '../Help';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/CheckboxLegend/CheckboxLegend.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import _ from 'lodash';
import React from 'react';
import chroma from 'chroma-js';

import styles from './checkboxLegend.scss';
import styles from './checkboxLegend.module.scss';
import LegendCompact from '../LegendCompact';

const ICON_WIDTH = 15;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/ConfigButton/ConfigButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
import cx from 'classnames';

import Icon from '../icon';
import styles from './config-button.scss';
import styles from './config-button.module.scss';

const ConfigButton = (props) => (
<div className={cx('box', styles.configButton)}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import React from 'react';
import * as d3 from 'd3';
import chroma from 'chroma-js';
import { BuildStat, RiverData } from './RiverData';
import styles from './data-river-chart.component.scss';
import styles from './data-river-chart.component.module.scss';
import ScalableBaseChartComponent from '../ScalableBaseChart';
import _ from 'lodash';
import { RiverDataContainer } from './RiverDataContainer';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/DataRiverChart/river-tooltip.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styles from './data-river-chart.component.scss';
import styles from './data-river-chart.component.module.scss';
import { BuildStat } from './RiverData';

import React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/DateRangeFilter/dateRangeFilter.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import styles from './dateRangeFilter.scss';
import styles from './dateRangeFilter.module.scss';
import { DateRange } from '../../types/globalTypes';

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/DragAndDropList/dragAndDropList.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useState, useEffect, useRef } from 'react';
import _ from 'lodash';
import styles from './styles.scss';
import styles from './styles.module.scss';

/**
* This component renders a list where the order can be changed by dragging the elements.
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Filepicker/ModuleLine.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect, useRef, useLayoutEffect } from 'react';
import * as d3 from 'd3';
import _ from 'lodash';
import styles from './styles.scss';
import styles from './styles.module.scss';

const ModuleLine = ({
moduleName,
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Filepicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { useState, useEffect } from 'react';
import { Tooltip } from 'react-tippy';
import ModuleLine from './ModuleLine';
import styles from './styles.scss';
import styles from './styles.module.scss';
import _ from 'lodash';

/**
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion ui/src/components/FilterBox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import _ from 'lodash';
import cx from 'classnames';
import fuzzy from 'fuzzy';

import styles from './styles.scss';
import styles from './styles.module.scss';

export default class FilterBox extends React.Component {
constructor(props) {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion ui/src/components/Help/HelpButton/HelpButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
import cx from 'classnames';

import Icon from '../../icon';
import styles from './help-button.scss';
import styles from './help-button.module.scss';

const HelpButton = (props) => (
<div className={cx(styles.helpButton)}>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Help/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Measure from 'react-measure';

import { callSafe } from '../../utils';

import styles from './styles.scss';
import styles from './styles.module.scss';

const mapStateToProps = (state /*, ownProps*/) => {
return {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import React from 'react';
import styles from './inlineLoadingIndicator.scss';
import styles from './inlineLoadingIndicator.module.scss';

export default (props) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Legend/Legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import _ from 'lodash';
import React from 'react';
import Measure from 'react-measure';

import styles from './legend.scss';
import styles from './legend.module.scss';

const ICON_WIDTH = 15;
const ICON_HEIGHT = 15;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion ui/src/components/LegendCompact/LegendCompact.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import React from 'react';

import styles from './legendCompact.scss';
import styles from './legendCompact.module.scss';

const ICON_WIDTH = 15;
const ICON_HEIGHT = 15;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/ProgressBar/ProgressBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import cx from 'classnames';

import styles from './progress-bar.scss';
import styles from './progress-bar.module.scss';
import React from 'react';

export default class ProgressBar extends React.PureComponent {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/ScalableBaseChart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import * as React from 'react';
import * as d3 from 'd3';
import * as baseStyles from './scalable-base-chart.component.scss';
import * as baseStyles from './scalable-base-chart.module.scss';
import { NoImplementationException } from '../../utils/exception/NoImplementationException';
import { hash } from '../../utils/crypto-utils';
import { Palette } from '../../types/authorTypes';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/SearchBox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import _ from 'lodash';
import PropTypes from 'prop-types';
import cx from 'classnames';

import styles from './styles.scss';
import styles from './styles.module.scss';

export default class SearchBox extends React.Component {
constructor(props) {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/SearchBox/index.old.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
import cx from 'classnames';
import fuzzy from 'fuzzy';

import styles from './styles.scss';
import styles from './styles.module.scss';

export default class SearchBox extends React.Component {
constructor(props) {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion ui/src/components/Sidebar/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import React from 'react';
import PropTypes from 'prop-types';
import styles from './sidebar.scss';
import styles from './sidebar.module.scss';
import cx from 'classnames';
import returnIcon from './assets/return.svg';

Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Sidebar/LinkList.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import _ from 'lodash';
import styles from './sidebar.scss';
import styles from './sidebar.module.scss';
import PanelLink from './PanelLink';
import menu from './assets/menu.svg';
import close from './assets/close.svg';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Sidebar/Sidebar.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import styles from './sidebar.scss';
import styles from './sidebar.module.scss';
import menu from './assets/menu.svg';
import menuWhite from './assets/menuWhite.svg';
import hideSidebar from './assets/hideSidebar.svg';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion ui/src/components/StackedAreaChart/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

import styles from './stackedAreaChart.scss';
import styles from './stackedAreaChart.module.scss';
import ScalableBaseChartComponent from '../ScalableBaseChart';
import * as d3 from 'd3';
import * as _ from 'lodash';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/TabCombo/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import * as React from 'react';
import styles from './tabCombo.scss';
import styles from './tabCombo.module.scss';

interface Props {
options: Option[];
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions ui/src/components/UniversalSettings/authorList/authorList.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

import * as React from 'react';
import styles from './authorList.scss';
import loadingAnimation from './loadingAnimaiton.scss';
import styles from './authorList.module.scss';
import loadingAnimation from './loadingAnimaiton.module.scss';
import { Author, Committer, Palette } from '../../../types/authorTypes';

interface Props {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import * as React from 'react';
import styles from './authorMerger.scss';
import styles from './authorMerger.module.scss';
import { Author, Committer, Palette } from '../../../types/authorTypes';

interface Props {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import * as React from 'react';
import styles from './milestoneList.scss';
import styles from './milestoneList.module.scss';
import moment from 'moment';
import 'moment/locale/de';
import { Milestone } from '../../../../types/milestoneTypes';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import React from 'react';
import styles from './sprintDisplay.scss';
import styles from './sprintDisplay.module.scss';
import moment from 'moment';
import 'moment/locale/de';
import { Sprint } from '../../../../types/sprintTypes';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import * as React from 'react';
import styles from './sprintManager.scss';
import styles from './sprintManager.module.scss';
import DateRangeFilter from '../../DateRangeFilter/dateRangeFilter';
import SprintDisplay from './sprintDisplay/sprintDisplay';
import moment from 'moment';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/UniversalSettings/universalSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import * as React from 'react';
import { useSelector, useDispatch } from 'react-redux';
import styles from './styles.scss';
import styles from './styles.module.scss';
import {
setResolution,
setTimeSpan,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion ui/src/components/icon/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styles from './icon.css';
import styles from './icon.module.css';
import cx from 'classnames';
import PropTypes from 'prop-types';

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion ui/src/components/monospaced/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import React from 'react';
import styles from './monospaced.scss';
import styles from './monospaced.module.scss';

export default class Monospaced extends React.Component {
render() {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/notifications/Notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import React from 'react';
import cx from 'classnames';

import styles from './notification.scss';
import styles from './notification.module.scss';

export default class Notification extends React.Component {
render() {
Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/notifications/Notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import TransitionGroup from 'react-transition-group/TransitionGroup';
import CSSTransition from 'react-transition-group/CSSTransition';
import _ from 'lodash';

import Notification from './Notification.js';
import styles from './notifications.scss';
import Notification from './Notification';
import styles from './notifications.module.scss';

export default class Notifications extends React.Component {
render() {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import React from 'react';
import styles from '../styles.scss';
import styles from '../styles.module.scss';
import data from './data';
import * as d3 from 'd3';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

import React from 'react';
import styles from '../styles.scss';
import styles from '../styles.module.scss';

export default class Dashboard extends React.Component {
constructor(props) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import * as React from 'react';
import * as d3 from 'd3';

import styles from '../styles.scss';
import styles from '../styles.module.scss';
import _ from 'lodash';

import StackedAreaChart from '../../../../components/StackedAreaChart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { connect } from 'react-redux';
import { setDisplayMetric, setSelectedAuthors } from './sagas';
import TabCombo from '../../../components/TabCombo';
import styles from './styles.scss';
import styles from './styles.module.scss';
import { GlobalState } from '../../../types/globalTypes';
import * as React from 'react';
import { Palette } from '../../../types/authorTypes';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import cx from 'classnames';

import styles from './styles.scss';
import styles from './styles.module.scss';
import React from 'react';

export default () => <div className={cx('box', styles.help)}></div>;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import React from 'react';
import * as d3 from 'd3';

import styles from '../styles.scss';
import styles from '../styles.module.scss';
import _ from 'lodash';

import StackedAreaChart from '../../../../components/StackedAreaChart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { connect } from 'react-redux';

import styles from './styles.scss';
import styles from './styles.module.scss';

import LegendCompact from '../../../components/LegendCompact';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

import cx from 'classnames';

import styles from './styles.scss';
import styles from './styles.module.scss';

export default () => <div className={cx('box', styles.help)}></div>;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import React from 'react';
import * as d3 from 'd3';

import styles from '../styles.scss';
import styles from '../styles.module.scss';
import _ from 'lodash';

import StackedAreaChart from '../../../../components/StackedAreaChart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { connect } from 'react-redux';

import styles from './styles.scss';
import styles from './styles.module.scss';

const mapStateToProps = (state /*, ownProps*/) => {
return {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

import cx from 'classnames';

import styles from './styles.scss';
import styles from './styles.module.scss';

export default () => <div className={cx('box', styles.help)}></div>;
Loading

0 comments on commit ad04375

Please sign in to comment.