File tree 14 files changed +14
-14
lines changed
components/events/interfaces/performance
performance/newTraceDetails/traceDrawer/details/span/sections
14 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ import {
32
32
import { formatBytesBase2 } from 'sentry/utils/bytes/formatBytesBase2' ;
33
33
import { generateLinkToEventInTraceView } from 'sentry/utils/discover/urls' ;
34
34
import toRoundedPercent from 'sentry/utils/number/toRoundedPercent' ;
35
+ import { SQLishFormatter } from 'sentry/utils/sqlish/SQLishFormatter' ;
35
36
import { safeURL } from 'sentry/utils/url/safeURL' ;
36
37
import { useLocation } from 'sentry/utils/useLocation' ;
37
38
import useOrganization from 'sentry/utils/useOrganization' ;
38
39
import { transactionSummaryRouteWithQuery } from 'sentry/views/performance/transactionSummary/utils' ;
39
40
import { getPerformanceDuration } from 'sentry/views/performance/utils/getPerformanceDuration' ;
40
- import { SQLishFormatter } from 'sentry/views/starfish/utils/sqlish/SQLishFormatter' ;
41
41
42
42
import KeyValueList from '../keyValueList' ;
43
43
import type { ProcessedSpanType , RawSpanType } from '../spans/types' ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import {Fragment} from 'react';
2
2
3
3
import { render } from 'sentry-test/reactTestingLibrary' ;
4
4
5
- import { SQLishFormatter } from 'sentry/views/starfish/ utils/sqlish/SQLishFormatter' ;
5
+ import { SQLishFormatter } from 'sentry/utils/sqlish/SQLishFormatter' ;
6
6
7
7
describe ( 'SQLishFormatter' , function ( ) {
8
8
describe ( 'SQLishFormatter.toString()' , ( ) => {
Original file line number Diff line number Diff line change 1
1
import * as Sentry from '@sentry/react' ;
2
2
3
- import { simpleMarkup } from 'sentry/views/starfish/ utils/sqlish/formatters/simpleMarkup' ;
4
- import { string } from 'sentry/views/starfish/ utils/sqlish/formatters/string' ;
5
- import { SQLishParser } from 'sentry/views/starfish/ utils/sqlish/SQLishParser' ;
3
+ import { simpleMarkup } from 'sentry/utils/sqlish/formatters/simpleMarkup' ;
4
+ import { string } from 'sentry/utils/sqlish/formatters/string' ;
5
+ import { SQLishParser } from 'sentry/utils/sqlish/SQLishParser' ;
6
6
7
7
type StringFormatterOptions = Parameters < typeof string > [ 1 ] ;
8
8
Original file line number Diff line number Diff line change 1
- import { SQLishParser } from 'sentry/views/starfish/ utils/sqlish/SQLishParser' ;
1
+ import { SQLishParser } from 'sentry/utils/sqlish/SQLishParser' ;
2
2
3
3
describe ( 'SQLishParser' , function ( ) {
4
4
describe ( 'SQLishParser()' , ( ) => {
Original file line number Diff line number Diff line change 1
- import type { Token } from 'sentry/views/starfish/ utils/sqlish/types' ;
1
+ import type { Token } from 'sentry/utils/sqlish/types' ;
2
2
3
3
import grammar from './sqlish.pegjs' ;
4
4
Original file line number Diff line number Diff line change 1
- import type { Token } from 'sentry/views/starfish/ utils/sqlish/types' ;
1
+ import type { Token } from 'sentry/utils/sqlish/types' ;
2
2
3
3
export function simpleMarkup ( tokens : Token [ ] ) : React . ReactElement [ ] {
4
4
const accumulator : React . ReactElement [ ] = [ ] ;
Original file line number Diff line number Diff line change 1
- import { StringAccumulator } from 'sentry/views/starfish/ utils/sqlish/formatters/stringAccumulator' ;
2
- import type { Token } from 'sentry/views/starfish/ utils/sqlish/types' ;
1
+ import { StringAccumulator } from 'sentry/utils/sqlish/formatters/stringAccumulator' ;
2
+ import type { Token } from 'sentry/utils/sqlish/types' ;
3
3
4
4
interface Options {
5
5
maxLineLength ?: number ;
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import {t} from 'sentry/locale';
9
9
import { space } from 'sentry/styles/space' ;
10
10
import type { Organization } from 'sentry/types/organization' ;
11
11
import { trackAnalytics } from 'sentry/utils/analytics' ;
12
+ import { SQLishFormatter } from 'sentry/utils/sqlish/SQLishFormatter' ;
12
13
import type {
13
14
TraceTree ,
14
15
TraceTreeNode ,
@@ -20,7 +21,6 @@ import {
20
21
} from 'sentry/views/starfish/components/stackTraceMiniFrame' ;
21
22
import { ModuleName } from 'sentry/views/starfish/types' ;
22
23
import { resolveSpanModule } from 'sentry/views/starfish/utils/resolveSpanModule' ;
23
- import { SQLishFormatter } from 'sentry/views/starfish/utils/sqlish/SQLishFormatter' ;
24
24
25
25
import { TraceDrawerComponents } from '../../styles' ;
26
26
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import styled from '@emotion/styled';
4
4
import { CodeSnippet } from 'sentry/components/codeSnippet' ;
5
5
import LoadingIndicator from 'sentry/components/loadingIndicator' ;
6
6
import { space } from 'sentry/styles/space' ;
7
+ import { SQLishFormatter } from 'sentry/utils/sqlish/SQLishFormatter' ;
7
8
import { useFullSpanFromTrace } from 'sentry/views/starfish/queries/useFullSpanFromTrace' ;
8
- import { SQLishFormatter } from 'sentry/views/starfish/utils/sqlish/SQLishFormatter' ;
9
9
10
10
const formatter = new SQLishFormatter ( ) ;
11
11
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import styled from '@emotion/styled';
4
4
import { CodeSnippet } from 'sentry/components/codeSnippet' ;
5
5
import LoadingIndicator from 'sentry/components/loadingIndicator' ;
6
6
import { space } from 'sentry/styles/space' ;
7
+ import { SQLishFormatter } from 'sentry/utils/sqlish/SQLishFormatter' ;
7
8
import { MutableSearch } from 'sentry/utils/tokenizeSearch' ;
8
9
import {
9
10
MissingFrame ,
@@ -13,7 +14,6 @@ import {useSpansIndexed} from 'sentry/views/starfish/queries/useDiscover';
13
14
import { useFullSpanFromTrace } from 'sentry/views/starfish/queries/useFullSpanFromTrace' ;
14
15
import type { SpanIndexedFieldTypes } from 'sentry/views/starfish/types' ;
15
16
import { SpanIndexedField } from 'sentry/views/starfish/types' ;
16
- import { SQLishFormatter } from 'sentry/views/starfish/utils/sqlish/SQLishFormatter' ;
17
17
18
18
interface Props {
19
19
groupId : SpanIndexedFieldTypes [ SpanIndexedField . SPAN_GROUP ] ;
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ import styled from '@emotion/styled';
4
4
import { Hovercard } from 'sentry/components/hovercard' ;
5
5
import { t } from 'sentry/locale' ;
6
6
import { space } from 'sentry/styles/space' ;
7
+ import { SQLishFormatter } from 'sentry/utils/sqlish/SQLishFormatter' ;
7
8
import { FullSpanDescription } from 'sentry/views/starfish/components/fullSpanDescription' ;
8
9
import { SpanGroupDetailsLink } from 'sentry/views/starfish/components/spanGroupDetailsLink' ;
9
10
import { ModuleName , SpanMetricsField } from 'sentry/views/starfish/types' ;
10
- import { SQLishFormatter } from 'sentry/views/starfish/utils/sqlish/SQLishFormatter' ;
11
11
12
12
const formatter = new SQLishFormatter ( ) ;
13
13
You can’t perform that action at this time.
0 commit comments