Skip to content

Commit ef72cf5

Browse files
committed
feat: reorganize component settings
1 parent 37252d8 commit ef72cf5

File tree

3 files changed

+41
-23
lines changed

3 files changed

+41
-23
lines changed

packages/app-frontend/src/features/components/ComponentsInspector.vue

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,24 @@ export default defineComponent({
173173
</VueGroup>
174174
</div>
175175

176+
<div class="space-y-1 px-3 py-2 text-sm">
177+
<VueSwitch v-model="$shared.performanceMonitoringEnabled">
178+
Performance monitoring
179+
</VueSwitch>
180+
<div class="flex items-center space-x-1 text-xs opacity-50">
181+
<span>Turn off if your app is slowed down</span>
182+
</div>
183+
</div>
184+
185+
<div class="space-y-1 px-3 py-2 text-sm">
186+
<VueSwitch v-model="$shared.trackUpdates">
187+
Update tracking
188+
</VueSwitch>
189+
<div class="flex items-center space-x-1 text-xs opacity-50">
190+
<span>Turn off if your app is slowed down</span>
191+
</div>
192+
</div>
193+
176194
<div class="space-y-1 px-3 py-2 text-sm">
177195
<VueSwitch v-model="$shared.editableProps">
178196
Editable props

packages/app-frontend/src/features/plugin/Plugins.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default defineComponent({
6464
icon-right="arrow_forward"
6565
class="flat"
6666
>
67-
Global settings
67+
Settings
6868
</VueButton>
6969
</div>
7070
<div class="overflow-y-auto">

packages/app-frontend/src/features/settings/GlobalSettings.vue

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -92,28 +92,6 @@ const hideEvents = useLocalStorage('split-pane-collapsed-right-timeline-right',
9292
</template>
9393
</VueFormField>
9494

95-
<VueFormField
96-
title="Performance monitoring"
97-
>
98-
<VueSwitch v-model="$shared.performanceMonitoringEnabled">
99-
Enable
100-
</VueSwitch>
101-
<template #subtitle>
102-
Turn off if your app is slowed down
103-
</template>
104-
</VueFormField>
105-
106-
<VueFormField
107-
title="Update tracking"
108-
>
109-
<VueSwitch v-model="$shared.trackUpdates">
110-
Enable
111-
</VueSwitch>
112-
<template #subtitle>
113-
Turn off if your app is slowed down
114-
</template>
115-
</VueFormField>
116-
11795
<VueFormField
11896
title="Debugging info"
11997
>
@@ -145,6 +123,28 @@ const hideEvents = useLocalStorage('split-pane-collapsed-right-timeline-right',
145123
</VueGroup>
146124
</VueFormField>
147125

126+
<VueFormField
127+
title="Performance monitoring"
128+
>
129+
<VueSwitch v-model="$shared.performanceMonitoringEnabled">
130+
Enable
131+
</VueSwitch>
132+
<template #subtitle>
133+
Turn off if your app is slowed down
134+
</template>
135+
</VueFormField>
136+
137+
<VueFormField
138+
title="Update tracking"
139+
>
140+
<VueSwitch v-model="$shared.trackUpdates">
141+
Enable
142+
</VueSwitch>
143+
<template #subtitle>
144+
Turn off if your app is slowed down
145+
</template>
146+
</VueFormField>
147+
148148
<VueFormField
149149
title="Editable props"
150150
>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy