File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed
app-frontend/src/features/timeline
shell-dev-vue3/src/devtools-plugin Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,18 @@ export default {
54
54
{{ inspectedEvent.title || 'Event' }}
55
55
</span >
56
56
57
+ <VueIcon
58
+ v-if =" inspectedEvent.logType === 'error'"
59
+ icon =" error"
60
+ class =" w-4 h-4 text-red-500"
61
+ />
62
+
63
+ <VueIcon
64
+ v-if =" inspectedEvent.logType === 'warning'"
65
+ icon =" warning"
66
+ class =" w-4 h-4 text-yellow-500"
67
+ />
68
+
57
69
<span
58
70
v-if =" inspectedEvent.subtitle"
59
71
class =" opacity-75"
Original file line number Diff line number Diff line change @@ -49,7 +49,27 @@ export default {
49
49
'text-purple-600 dark:text-purple-400': !isInspected,
50
50
}"
51
51
>
52
- {{ event.title || 'Event' }}
52
+ <span >{{ event.title || 'Event' }}</span >
53
+
54
+ <VueIcon
55
+ v-if =" event.logType === 'error'"
56
+ icon =" error"
57
+ class =" w-4 h-4 ml-1"
58
+ :class =" {
59
+ 'text-red-500': !isInspected,
60
+ 'text-white': isInspected
61
+ }"
62
+ />
63
+
64
+ <VueIcon
65
+ v-if =" event.logType === 'warning'"
66
+ icon =" warning"
67
+ class =" w-4 h-4 ml-1"
68
+ :class =" {
69
+ 'text-yellow-500': !isInspected,
70
+ 'text-white': isInspected
71
+ }"
72
+ />
53
73
</span >
54
74
55
75
<span
Original file line number Diff line number Diff line change @@ -203,7 +203,8 @@ export default {
203
203
info : 'window.mouseup' ,
204
204
x : event . clientX ,
205
205
y : event . clientY
206
- }
206
+ } ,
207
+ logType : event . clientX < 100 ? 'error' : event . clientY < 100 ? 'warning' : 'default'
207
208
}
208
209
} )
209
210
} )
You can’t perform that action at this time.
0 commit comments