зеркало из
1
0
Форкнуть 0

rename app telemetry constants file

This commit is contained in:
manasi 2022-09-06 14:15:53 -07:00
Родитель 3293a43300
Коммит 0348b16bcf
24 изменённых файлов: 23 добавлений и 23 удалений

Просмотреть файл

@ -26,7 +26,7 @@ import { dataPlaneConnectionHelper, dataPlaneResponseHelper, request, DATAPLANE_
import { getDeviceInterface, getEventHubInterface } from '../shared/interfaceUtils';
import { parseEventHubMessage } from './eventHubMessageHelper';
import { AppInsightsClient } from '../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_EVENTS } from '../../constants/telemetry';
import { TELEMETRY_EVENTS } from '../../constants/appTelemetry';
const PAGE_SIZE = 100;

Просмотреть файл

@ -26,7 +26,7 @@ import { useBreadcrumbEntry } from '../../navigation/hooks/useBreadcrumbEntry';
import '../../css/_layouts.scss';
import './connectionStringsView.scss';
import { AppInsightsClient } from '../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES } from '../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES } from '../../constants/appTelemetry';
// tslint:disable-next-line: cyclomatic-complexity
export const ConnectionStringsView: React.FC = () => {

Просмотреть файл

Просмотреть файл

@ -24,7 +24,7 @@ import { ROUTE_PARTS, ROUTE_PARAMS } from '../../../constants/routes';
import '../../../css/_addDevice.scss';
import '../../../css/_layouts.scss';
import { AppInsightsClient } from '../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_USER_ACTIONS } from '../../../constants/telemetry';
import { TELEMETRY_USER_ACTIONS } from '../../../constants/appTelemetry';
const initialKeyValue = {
error: '',

Просмотреть файл

@ -19,7 +19,7 @@ import { useAsyncSagaReducer } from '../../../shared/hooks/useAsyncSagaReducer';
import { cloudToDeviceMessageSaga } from '../saga';
import '../../../css/_deviceDetail.scss';
import { AppInsightsClient } from '../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../constants/appTelemetry';
interface PropertyItem {
isSystemProperty: boolean;

Просмотреть файл

@ -16,7 +16,7 @@ import { usePnpStateContext } from '../../../shared/contexts/pnpStateContext';
import './deviceEvents.scss';
import { getBackUrl } from '../../pnp/utils';
import { AppInsightsClient } from '../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_USER_ACTIONS } from '../../../../app/constants/telemetry';
import { TELEMETRY_USER_ACTIONS } from '../../../constants/appTelemetry';
export interface CommandsProps {
startDisabled: boolean;

Просмотреть файл

@ -20,7 +20,7 @@ import { SasTokenGenerationView } from '../../shared/components/sasTokenGenerati
import { useIotHubContext } from '../../../iotHub/hooks/useIotHubContext';
import '../../../css/_deviceDetail.scss';
import { AppInsightsClient } from '../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES } from '../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES } from '../../../constants/appTelemetry';
export interface DeviceIdentityDispatchProps {
updateDeviceIdentity: (deviceIdentity: DeviceIdentity) => void;

Просмотреть файл

@ -23,7 +23,7 @@ import { listDevicesAction, deleteDevicesAction } from '../actions';
import { SynchronizationStatus } from '../../../api/models/synchronizationStatus';
import { LARGE_COLUMN_WIDTH, EXTRA_SMALL_COLUMN_WIDTH, SMALL_COLUMN_WIDTH, MEDIUM_COLUMN_WIDTH } from '../../../constants/columnWidth';
import { AppInsightsClient } from '../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES } from '../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES } from '../../../constants/appTelemetry';
import '../../../css/_deviceList.scss';
import '../../../css/_layouts.scss';

Просмотреть файл

@ -21,7 +21,7 @@ import { deviceTwinStateInitial } from '../state';
import { useBreadcrumbEntry } from '../../../navigation/hooks/useBreadcrumbEntry';
import '../../../css/_deviceTwin.scss';
import { AppInsightsClient } from '../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../constants/appTelemetry';
export const DeviceTwin: React.FC = () => {
const { t } = useTranslation();

Просмотреть файл

@ -16,7 +16,7 @@ import { invokeDirectMethodAction } from '../actions';
import { DirectMethodForm } from './directMethodForm';
import '../../../css/_deviceDetail.scss';
import { AppInsightsClient } from '../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../constants/appTelemetry';
const DEFAULT_TIMEOUT = 10;

Просмотреть файл

@ -22,7 +22,7 @@ import { addModuleStateInitial } from '../state';
import { addModuleIdentityAction } from '../actions';
import '../../../../css/_deviceDetail.scss';
import { AppInsightsClient } from '../../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_USER_ACTIONS } from '../../../../constants/telemetry';
import { TELEMETRY_USER_ACTIONS } from '../../../../constants/appTelemetry';
const initialKeyValue = {
error: '',

Просмотреть файл

@ -16,7 +16,7 @@ import { DirectMethodForm } from '../../../../devices/directMethod/components/di
import { ROUTE_PARAMS, ROUTE_PARTS } from '../../../../constants/routes';
import '../../../../css/_deviceDetail.scss';
import { AppInsightsClient } from '../../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../../constants/appTelemetry';
const DEFAULT_TIMEOUT = 10;

Просмотреть файл

@ -22,7 +22,7 @@ import { moduleIdentityListReducer } from '../reducer';
import { getModuleIdentitiesAction } from '../actions';
import '../../../../css/_deviceDetail.scss';
import { AppInsightsClient } from '../../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES } from '../../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES } from '../../../../constants/appTelemetry';
export const ModuleIdentityList: React.FC = () => {
const { t } = useTranslation();

Просмотреть файл

@ -19,7 +19,7 @@ import { moduleIdentityTwinSagas } from '../saga';
import { moduleTwinStateInitial } from '../state';
import '../../../../css/_deviceDetail.scss';
import { AppInsightsClient } from '../../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../../constants/appTelemetry';
export const ModuleIdentityTwin: React.FC = () => {
const { t } = useTranslation();

Просмотреть файл

@ -22,7 +22,7 @@ import { moduleIdentityDetailStateInterfaceInitial } from '../state';
import { deleteModuleIdentityAction, getModuleIdentityAction } from '../actions';
import { useIotHubContext } from '../../../../iotHub/hooks/useIotHubContext';
import { AppInsightsClient } from '../../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES } from '../../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES } from '../../../../constants/appTelemetry';
import '../../../../css/_deviceDetail.scss';
export const ModuleIdentityDetail: React.FC = () => {

Просмотреть файл

@ -17,7 +17,7 @@ import { InvokeCommandActionParameters, invokeCommandAction } from '../../action
import { getDeviceCommandPairs } from './dataHelper';
import { getBackUrl } from '../../utils';
import { AppInsightsClient } from '../../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../../constants/appTelemetry';
export const DeviceCommands: React.FC = () => {
const { search, pathname } = useLocation();

Просмотреть файл

@ -21,7 +21,7 @@ import { SynchronizationStatus } from '../../../../api/models/synchronizationSta
import { getBackUrl } from '../../utils';
import '../../../../css/_deviceInterface.scss';
import { AppInsightsClient } from '../../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES } from '../../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES } from '../../../../constants/appTelemetry';
export const DeviceInterfaces: React.FC = () => {
const { t } = useTranslation();

Просмотреть файл

@ -16,7 +16,7 @@ import { SynchronizationStatus } from '../../../../api/models/synchronizationSta
import { generateReportedTwinSchemaAndInterfaceTuple } from './dataHelper';
import { dispatchGetTwinAction, getBackUrl } from '../../utils';
import { AppInsightsClient } from '../../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES } from '../../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES } from '../../../../constants/appTelemetry';
export const DeviceProperties: React.FC = () => {
const { t } = useTranslation();

Просмотреть файл

@ -18,7 +18,7 @@ import { generateTwinSchemaAndInterfaceTuple } from './dataHelper';
import { Twin } from '../../../../api/models/device';
import { dispatchGetTwinAction, getBackUrl } from '../../utils';
import { AppInsightsClient } from '../../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES, TELEMETRY_USER_ACTIONS } from '../../../../constants/appTelemetry';
// tslint:disable-next-line:cyclomatic-complexity
export const DeviceSettings: React.FC = () => {

Просмотреть файл

@ -26,7 +26,7 @@ import { ErrorBoundary } from '../../shared/components/errorBoundary';
import '../../../css/_digitalTwinInterfaces.scss';
import { dispatchGetTwinAction } from '../utils';
import { AppInsightsClient } from '../../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES } from '../../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES } from '../../../constants/appTelemetry';
interface ModelContent {
link: string;

Просмотреть файл

@ -10,7 +10,7 @@ import { fetchLatestReleaseTagName, latestReleaseUrlPath } from '../../api/servi
import * as packageJson from '../../../../package.json';
import { isNewReleaseVersionHigher } from '../utils/appVersionHelper';
import { AppInsightsClient } from '../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_EVENTS } from '../../constants/telemetry';
import { TELEMETRY_EVENTS } from '../../constants/appTelemetry';
export const AppVersionMessageBar: React.FC = () => {
const { t } = useTranslation();

Просмотреть файл

@ -21,7 +21,7 @@ import { RepositoryLocationSettings } from '../../shared/global/state';
import { useBreadcrumbEntry } from '../../navigation/hooks/useBreadcrumbEntry';
import '../../css/_layouts.scss';
import { AppInsightsClient } from '../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES } from '../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES } from '../../constants/appTelemetry';
export const ModelRepositoryLocationView: React.FC = () => {
const { t } = useTranslation();

Просмотреть файл

@ -15,7 +15,7 @@ import { ROUTE_PARAMS } from '../../constants/routes';
import { CANCEL, NAVIGATE_BACK } from '../../constants/iconNames';
import '../../css/_notification.scss';
import { AppInsightsClient } from '../../shared/appTelemetry/appInsightsClient';
import { TELEMETRY_PAGE_NAMES } from '../../../app/constants/telemetry';
import { TELEMETRY_PAGE_NAMES } from '../../constants/appTelemetry';
export const NotificationList: React.FC = () => {
const { t } = useTranslation();

Просмотреть файл

@ -1,5 +1,5 @@
import { ApplicationInsights } from '@microsoft/applicationinsights-web';
import { TELEMETRY_EVENTS, TELEMETRY_USER_ACTIONS } from '../../constants/telemetry';
import { TELEMETRY_EVENTS, TELEMETRY_USER_ACTIONS } from '../../constants/appTelemetry';
import { appConfig } from '../../../appConfig/appConfig';
import { isMicrosoftInternalDomain } from '../utils/utils';