Skip to content

Commit add395e

Browse files
committed
[#58] move assets under src folder
1 parent 6db4578 commit add395e

File tree

45 files changed

+120
-85
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+120
-85
lines changed

.storybook/preview.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {createPinia} from 'pinia';
22
import { setup } from '@storybook/vue3';
3-
import "../assets/index.css";
4-
import "../assets/vendor";
3+
import "../src/assets/index.css";
4+
import "../src/assets/vendor";
55
import "./stories.css"
66
import SfdumpWrap from "../src/shared/lib/vendor/dumper";
77
import 'tailwindcss/tailwind.css'

app.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
</template>
66

77
<script lang="ts" setup>
8-
import "./assets/index.css";
9-
import "./assets/vendor";
8+
import "./src/assets/index.css";
9+
import "./src/assets/vendor";
1010
</script>

error.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</template>
1414

1515
<script lang="ts" setup>
16-
import "./assets/tailwind.css";
16+
import "./src/assets/tailwind.css";
1717
import "highlight.js/lib/common";
1818
import { clearError } from "#app";
1919

layouts/default.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ onMounted(() => {
5353
</template>
5454

5555
<style lang="scss" scoped>
56-
@import "assets/mixins";
56+
@import "src/assets/mixins";
5757
5858
.main-layout {
5959
@apply flex min-h-screen items-stretch relative;

nuxt.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default defineNuxtConfig({
4040
autoprefixer: {},
4141
},
4242
},
43-
css: ["~/assets/index.css"],
43+
css: ["~/src/assets/index.css"],
4444
modules: [
4545
'@nuxtjs/tailwindcss',
4646
'@pinia/nuxt',

pages/http-dumps/[id].vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ onMounted(getEvent);
8282
</template>
8383

8484
<style lang="scss" scoped>
85-
@import "assets/mixins";
85+
@import "src/assets/mixins";
8686
.http-dumps-event {
8787
@include layout;
8888
}

pages/inspector/[id].vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ onMounted(getEvent);
8282
</template>
8383

8484
<style lang="scss" scoped>
85-
@import "assets/mixins";
85+
@import "src/assets/mixins";
8686
.inspector-event {
8787
@include layout;
8888
}

pages/profiler/[id].vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ onMounted(getEvent);
8282
</template>
8383

8484
<style lang="scss" scoped>
85-
@import "assets/mixins";
85+
@import "src/assets/mixins";
8686
8787
.profiler-event {
8888
@include layout;

pages/sentry/[id].vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ onMounted(getEvent);
7878
</template>
7979

8080
<style lang="scss" scoped>
81-
@import "assets/mixins";
81+
@import "src/assets/mixins";
8282
8383
.sentry-event {
8484
@include layout;

pages/settings.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const isDarkMode = computed(() => themeType.value === THEME_MODES.DARK);
8383
</template>
8484

8585
<style lang="scss" scoped>
86-
@import "assets/mixins";
86+
@import "src/assets/mixins";
8787
8888
.settings-page {
8989
@include layout;

pages/smtp/[id].vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ onMounted(getEvent);
8585
</template>
8686

8787
<style lang="scss" scoped>
88-
@import "assets/mixins";
88+
@import "src/assets/mixins";
8989
9090
.smtp-event {
9191
@include layout;
File renamed without changes.
File renamed without changes.

assets/symfony-var-dump.css renamed to src/assets/symfony-var-dump.css

+38-26
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ pre.sf-dump a {
2828
pre.sf-dump img {
2929
max-width: 50em;
3030
max-height: 50em;
31-
margin: .5em 0 0 0;
31+
margin: 0.5em 0 0 0;
3232
padding: 0;
33-
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAHUlEQVQY02O8zAABilCaiQEN0EeA8QuUcX9g3QEAAjcC5piyhyEAAAAASUVORK5CYII=) #D3D3D3;
33+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAHUlEQVQY02O8zAABilCaiQEN0EeA8QuUcX9g3QEAAjcC5piyhyEAAAAASUVORK5CYII=)
34+
#d3d3d3;
3435
}
3536

3637
pre.sf-dump .sf-dump-ellipsis {
@@ -52,13 +53,21 @@ pre.sf-dump code {
5253
background: none;
5354
}
5455

55-
.sf-dump-public.sf-dump-highlight, .sf-dump-protected.sf-dump-highlight, .sf-dump-private.sf-dump-highlight, .sf-dump-str.sf-dump-highlight, .sf-dump-key.sf-dump-highlight {
56+
.sf-dump-public.sf-dump-highlight,
57+
.sf-dump-protected.sf-dump-highlight,
58+
.sf-dump-private.sf-dump-highlight,
59+
.sf-dump-str.sf-dump-highlight,
60+
.sf-dump-key.sf-dump-highlight {
5661
background: rgba(111, 172, 204, 0.3);
57-
border: 1px solid #7DA0B1;
62+
border: 1px solid #7da0b1;
5863
border-radius: 3px;
5964
}
6065

61-
.sf-dump-public.sf-dump-highlight-active, .sf-dump-protected.sf-dump-highlight-active, .sf-dump-private.sf-dump-highlight-active, .sf-dump-str.sf-dump-highlight-active, .sf-dump-key.sf-dump-highlight-active {
66+
.sf-dump-public.sf-dump-highlight-active,
67+
.sf-dump-protected.sf-dump-highlight-active,
68+
.sf-dump-private.sf-dump-highlight-active,
69+
.sf-dump-str.sf-dump-highlight-active,
70+
.sf-dump-key.sf-dump-highlight-active {
6271
background: rgba(253, 175, 0, 0.4);
6372
border: 1px solid #ffa500;
6473
border-radius: 3px;
@@ -84,9 +93,9 @@ pre.sf-dump .sf-dump-search-wrapper > * {
8493
height: 21px;
8594
font-weight: normal;
8695
border-radius: 0;
87-
background: #FFF;
96+
background: #fff;
8897
color: #757575;
89-
border: 1px solid #BBB;
98+
border: 1px solid #bbb;
9099
}
91100

92101
pre.sf-dump .sf-dump-search-wrapper > input.sf-dump-search-input {
@@ -101,8 +110,9 @@ pre.sf-dump .sf-dump-search-wrapper > input.sf-dump-search-input {
101110
width: 100%;
102111
}
103112

104-
pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next, pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-previous {
105-
background: #F2F2F2;
113+
pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next,
114+
pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-previous {
115+
background: #f2f2f2;
106116
outline: none;
107117
border-left: none;
108118
font-size: 0;
@@ -114,7 +124,8 @@ pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next {
114124
border-bottom-right-radius: 3px;
115125
}
116126

117-
pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next > svg, pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-previous > svg {
127+
pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next > svg,
128+
pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-previous > svg {
118129
pointer-events: none;
119130
width: 12px;
120131
height: 12px;
@@ -129,70 +140,71 @@ pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-count {
129140
font-size: 12px;
130141
}
131142

132-
pre.sf-dump, pre.sf-dump .sf-dump-default {
133-
color: #FF8400;
143+
pre.sf-dump,
144+
pre.sf-dump .sf-dump-default {
145+
color: #ff8400;
134146
line-height: 1.2em;
135147
word-wrap: break-word;
136148
white-space: pre-wrap;
137149
position: relative;
138150
z-index: 10;
139-
word-break: break-all
151+
word-break: break-all;
140152
}
141153

142154
pre.sf-dump .sf-dump-num {
143155
font-weight: bold;
144-
color: #1299DA
156+
color: #1299da;
145157
}
146158

147159
pre.sf-dump .sf-dump-const {
148-
font-weight: bold
160+
font-weight: bold;
149161
}
150162

151163
pre.sf-dump .sf-dump-str {
152164
font-weight: bold;
153-
color: #56DB3A
165+
color: #56db3a;
154166
}
155167

156168
pre.sf-dump .sf-dump-note {
157-
color: #1299DA
169+
color: #1299da;
158170
}
159171

160172
pre.sf-dump .sf-dump-ref {
161-
color: #A0A0A0
173+
color: #a0a0a0;
162174
}
163175

164176
pre.sf-dump .sf-dump-public {
165-
color: #FFFFFF
177+
color: #ffffff;
166178
}
167179

168180
pre.sf-dump .sf-dump-protected {
169-
color: #FFFFFF
181+
color: #ffffff;
170182
}
171183

172184
pre.sf-dump .sf-dump-private {
173-
color: #FFFFFF
185+
color: #ffffff;
174186
}
175187

176188
pre.sf-dump .sf-dump-meta {
177-
color: #B729D9
189+
color: #b729d9;
178190
}
179191

180192
pre.sf-dump .sf-dump-key {
181-
color: #56DB3A
193+
color: #56db3a;
182194
}
183195

184196
pre.sf-dump .sf-dump-index {
185-
color: #1299DA
197+
color: #1299da;
186198
}
187199

188200
pre.sf-dump .sf-dump-ellipsis {
189-
color: #FF8400
201+
color: #ff8400;
190202
}
191203

192204
pre.sf-dump .sf-dump-ns {
193205
user-select: none;
194206
}
195207

196208
pre.sf-dump .sf-dump-ellipsis-note {
197-
color: #1299DA
209+
color: #1299da;
198210
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/entities/http-dump/ui/preview-card/preview-card.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const uri = decodeURI(props.event.payload.request.uri);
2525
</template>
2626

2727
<style lang="scss" scoped>
28-
@import "assets/mixins";
28+
@import "src/assets/mixins";
2929
3030
.preview-card {
3131
@apply flex flex-col;

src/entities/inspector/ui/preview-card/preview-card.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const eventLink = computed(() => `/inspector/${props.event.id}`);
2323
</template>
2424

2525
<style lang="scss" scoped>
26-
@import "assets/mixins";
26+
@import "src/assets/mixins";
2727
2828
.preview-card {
2929
@apply flex flex-col;

src/entities/profiler/ui/preview-card/preview-card.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const eventLink = computed(() => `/profiler/${props.event.id}`);
2222
</template>
2323

2424
<style lang="scss" scoped>
25-
@import "assets/mixins";
25+
@import "src/assets/mixins";
2626
2727
.profiler-preview {
2828
@apply flex flex-col;

src/entities/ray/ui/ray-application-log/ray-application-log.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ defineProps<Props>();
1313
</template>
1414

1515
<style lang="scss" scoped>
16-
@import "assets/mixins";
16+
@import "src/assets/mixins";
1717
1818
.ray-application-log {
1919
@include code-example();

src/entities/ray/ui/ray-file/ray-file.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const hasSnippets = computed(() =>
5353
</template>
5454

5555
<style lang="scss" scoped>
56-
@import "assets/mixins";
56+
@import "src/assets/mixins";
5757
.ray-file {
5858
@apply text-xs cursor-pointer border-b border-purple-200 dark:border-gray-600;
5959
}

src/entities/sentry/ui/preview-card/preview-card.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const exception: Ref<Exception> = computed(() =>
6363
</template>
6464

6565
<style lang="scss" scoped>
66-
@import "assets/mixins";
66+
@import "src/assets/mixins";
6767
.preview-card {
6868
@apply flex flex-col;
6969
}

src/entities/sentry/ui/sentry-exception/sentry-exception-frame.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const toggleOpen = () => {
100100
</template>
101101

102102
<style lang="scss" scoped>
103-
@import "assets/mixins";
103+
@import "src/assets/mixins";
104104
105105
.sentry-exception-frame {
106106
@apply text-xs border-b border-purple-200 dark:border-gray-600;

src/entities/sentry/ui/sentry-exception/sentry-exception.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const exceptionFrames = computed(() => {
3131
{{ exception.type }}
3232
</h3>
3333

34-
<pre class="sentry-exception__text" v-html="exception.value"/>
34+
<pre class="sentry-exception__text" v-html="exception.value" />
3535
</header>
3636
</slot>
3737

@@ -40,17 +40,17 @@ const exceptionFrames = computed(() => {
4040
v-for="(frame, index) in exceptionFrames"
4141
:key="frame.context_line"
4242
>
43-
<SentryExceptionFrame :frame="frame" :is-open="index === 0"/>
43+
<SentryExceptionFrame :frame="frame" :is-open="index === 0" />
4444
</template>
4545
</div>
4646
</div>
4747
</template>
4848

4949
<style lang="scss" scoped>
50-
@import "assets/mixins";
50+
@import "src/assets/mixins";
5151
5252
.sentry-exception {
53-
@apply flex flex-col ;
53+
@apply flex flex-col;
5454
}
5555
5656
.sentry-exception__link {

src/entities/smtp/ui/preview-card/preview-card.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const eventLink = computed(() => `/smtp/${props.event.id}`);
3333
</template>
3434

3535
<style lang="scss" scoped>
36-
@import "assets/mixins";
36+
@import "src/assets/mixins";
3737
3838
.smtp-preview {
3939
}

src/screens/http-dump/ui/http-dump-page/http-dump-page.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const hasAttachments = computed(
128128
</template>
129129

130130
<style lang="scss" scoped>
131-
@import "assets/mixins";
131+
@import "src/assets/mixins";
132132
133133
.http-dump-page {
134134
@apply relative flex-1 flex flex-col;

src/screens/inspector/ui/inspector-page-timeline/inspector-page-timeline.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const series = computed(() => {
178178
</template>
179179

180180
<style lang="scss" scoped>
181-
@import "assets/mixins";
181+
@import "src/assets/mixins";
182182
183183
.inspector-page-timeline {
184184
@apply py-5;

src/screens/inspector/ui/inspector-page/inspector-page.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const date = computed(() =>
7575
</template>
7676

7777
<style lang="scss" scoped>
78-
@import "assets/mixins";
78+
@import "src/assets/mixins";
7979
8080
.inspector-page {
8181
@apply relative;

src/screens/profiler/ui/call-graph/call-graph.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const setMinPercent = (value: number) => {
155155
</template>
156156

157157
<style lang="scss" scoped>
158-
@import "assets/mixins";
158+
@import "src/assets/mixins";
159159
160160
.call-graph {
161161
@apply relative flex rounded border border-gray-900 min-h-min min-w-min h-full;

0 commit comments

Comments
 (0)