Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #2876 Migrate relative paths to absolute: src/components/shared part 1 #2923

Merged
merged 5 commits into from Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/components/shared/Backtrace.js
Expand Up @@ -6,11 +6,12 @@

import React from 'react';
import classNames from 'classnames';
import { filterCallNodePathByImplementation } from '../../profile-logic/transforms';
import { filterCallNodePathByImplementation } from 'firefox-profiler/profile-logic/transforms';

import {
getFuncNamesAndOriginsForPath,
convertStackToCallNodePath,
} from '../../profile-logic/profile-data';
} from 'firefox-profiler/profile-logic/profile-data';

import type {
Thread,
Expand Down
22 changes: 11 additions & 11 deletions src/components/shared/CallNodeContextMenu.js
Expand Up @@ -5,28 +5,28 @@
// @flow
import React, { PureComponent, Fragment } from 'react';
import { MenuItem } from 'react-contextmenu';
import ContextMenu from '../shared/ContextMenu';
import explicitConnect from '../../utils/connect';
import { funcHasRecursiveCall } from '../../profile-logic/transforms';
import { getFunctionName } from '../../profile-logic/function-info';
import ContextMenu from 'firefox-profiler/components/shared/ContextMenu';
import explicitConnect from 'firefox-profiler/utils/connect';
import { funcHasRecursiveCall } from 'firefox-profiler/profile-logic/transforms';
import { getFunctionName } from 'firefox-profiler/profile-logic/function-info';
import copy from 'copy-to-clipboard';
import {
addTransformToStack,
expandAllCallNodeDescendants,
setContextMenuVisibility,
} from '../../actions/profile-view';
} from 'firefox-profiler/actions/profile-view';
import {
getSelectedTab,
getImplementationFilter,
getInvertCallstack,
} from '../../selectors/url-state';
import { getRightClickedCallNodeInfo } from '../../selectors/right-clicked-call-node';
import { getThreadSelectorsFromThreadsKey } from '../../selectors/per-thread';
} from 'firefox-profiler/selectors/url-state';
import { getRightClickedCallNodeInfo } from 'firefox-profiler/selectors/right-clicked-call-node';
import { getThreadSelectorsFromThreadsKey } from 'firefox-profiler/selectors/per-thread';

import {
convertToTransformType,
assertExhaustiveCheck,
} from '../../utils/flow';
} from 'firefox-profiler/utils/flow';

import type {
TransformType,
Expand All @@ -38,8 +38,8 @@ import type {
ThreadsKey,
} from 'firefox-profiler/types';

import type { TabSlug } from '../../app-logic/tabs-handling';
import type { ConnectedProps } from '../../utils/connect';
import type { TabSlug } from 'firefox-profiler/app-logic/tabs-handling';
import type { ConnectedProps } from 'firefox-profiler/utils/connect';

type StateProps = {|
+thread: Thread | null,
Expand Down
8 changes: 4 additions & 4 deletions src/components/shared/Icon.js
Expand Up @@ -5,12 +5,12 @@
// @flow

import React, { PureComponent } from 'react';
import explicitConnect from '../../utils/connect';
import { getIconClassName } from '../../selectors/icons';
import { iconStartLoading } from '../../actions/icons';
import explicitConnect from 'firefox-profiler/utils/connect';
import { getIconClassName } from 'firefox-profiler/selectors/icons';
import { iconStartLoading } from 'firefox-profiler/actions/icons';

import type { CallNodeDisplayData } from 'firefox-profiler/types';
import type { ConnectedProps } from '../../utils/connect';
import type { ConnectedProps } from 'firefox-profiler/utils/connect';

type OwnProps =
| {|
Expand Down