* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import * as React from 'react';
import { Component, searchProjects } from '@sqapi/components';
import { getCurrentUser } from '@sqapi/users';
-import LoginForm from './LoginForm';
-import ProjectSelector from './ProjectSelector';
+import * as React from 'react';
import {
+ parseWidgetSettings,
+ serializeWidgetSettings,
Settings,
- VSTSWidgetSettings,
VSTSConfigurationContext,
- serializeWidgetSettings,
- parseWidgetSettings
+ VSTSWidgetSettings
} from '../utils';
+import LoginForm from './LoginForm';
+import ProjectSelector from './ProjectSelector';
interface Props {
contribution: string;
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+import { getIdentityProviders } from '@sqapi/users';
import * as React from 'react';
import ThemeContext from 'sonar-ui-common/components/ThemeContext';
import { getTextColor } from 'sonar-ui-common/helpers/colors';
import { getBaseUrl } from 'sonar-ui-common/helpers/urls';
-import { getIdentityProviders } from '@sqapi/users';
import LoginLink from './LoginLink';
import SonarCloudIcon from './SonarCloudIcon';
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import * as React from 'react';
+import { Component } from '@sqapi/components';
import * as classNames from 'classnames';
import { debounce } from 'lodash';
-import { Component } from '@sqapi/components';
+import * as React from 'react';
import ProjectSelectorItem from './ProjectSelectorItem';
interface Props {
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import * as React from 'react';
-import * as classNames from 'classnames';
import { Component } from '@sqapi/components';
+import * as classNames from 'classnames';
+import * as React from 'react';
interface Props {
isActive: boolean;
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import * as React from 'react';
+import { getProjectUrl } from '@sqhelpers/urls';
import * as classNames from 'classnames';
+import * as React from 'react';
import Tooltip from 'sonar-ui-common/components/controls/Tooltip';
import { getPathUrlAsString } from 'sonar-ui-common/helpers/urls';
-import { getProjectUrl } from '@sqhelpers/urls';
import SonarCloudIcon from './SonarCloudIcon';
interface Props {
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-import * as React from 'react';
import { getMeasuresAndMeta } from '@sqapi/measures';
-import QGWidget from './QGWidget';
-import LoginForm from './LoginForm';
+import * as React from 'react';
import { Settings } from '../utils';
+import LoginForm from './LoginForm';
+import QGWidget from './QGWidget';
interface Props {
settings: Settings;
import React from 'react';
import { render } from 'react-dom';
import ThemeContext from 'sonar-ui-common/components/ThemeContext';
+import * as theme from '../../../../sonar-web/src/main/js/app/theme';
import Configuration from './components/Configuration';
import Widget from './components/Widget';
import { parseWidgetSettings } from './utils';
-import * as theme from '../../../../sonar-web/src/main/js/app/theme';
import './vsts.css';
const container = document.getElementById('content');