File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Kaede is not even in a development stage yet. Check the [plan](./PLAN.md) to see
2525
2626## Contributing
2727
28- [ Contributing Guide ] ( ./CONTRIBUTING.md )
28+ [ Contributing Guidelines ] ( ./CONTRIBUTING.md )
2929
3030Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
3131
Original file line number Diff line number Diff line change @@ -113,12 +113,12 @@ onMounted(async () => {
113113<template >
114114 <div
115115 @contextmenu.prevent
116- class =" absolute z-40000 bottom-0 left-0 right-0 top-0 grid place-items-center pointer-events-none "
116+ class =" absolute z-40000 bottom-0 left-0 bg-[theme(colors.black/.5)] right-0 top-0 grid place-items-center"
117117 >
118118 <div
119119 @contextmenu.prevent
120120 @contextmenu =" showContextMenu"
121- class =" rounded-md pointer-events-auto h-fit max-h-[calc(100vh-64px)] max-w-[calc(100vw-64px)] w-fit flex flex-col gap-2 bg-neutral-900 p-4 text-white drop-shadow-lg"
121+ class =" rounded-md h-fit max-h-[calc(100vh-64px)] max-w-[calc(100vw-64px)] w-fit flex flex-col gap-2 bg-neutral-900 p-4 text-white drop-shadow-lg"
122122 >
123123 <div class =" w-full flex flex-nowrap items-start justify-between gap-4 pb-2 shrink-0" >
124124 <div class =" flex flex-col gap-2" >
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ const information = computed((): ReturnType<typeof extractError> => {
2626 Kaede ran into a problem and needs to restart.
2727 You can do it by closing this window and then opening Kaede again.
2828 </p >
29- <p class =" text-xl font-light" >
29+ <p v-if = " information.name || information.message " class =" text-xl font-light" >
3030 {{ information.name }}: {{ information.message }}
3131 </p >
32- <p class =" break-words text-sm text-neutral-300 font-light" >
32+ <p v-if = " information.stack " class =" break-words text-sm text-neutral-300 font-light" >
3333 {{ information.stack }}
3434 </p >
3535 </div >
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22
3- import { inject } from " vue" ;
3+ import { inject , onMounted } from " vue" ;
44import type { GlobalStatesChangerType } from " @/types/application/global-states.type.ts" ;
55import { GlobalStatesChangerContextKey } from " @/constants/application.ts" ;
66
77const changeGlobalState = inject <GlobalStatesChangerType >(GlobalStatesChangerContextKey );
88
99async function download() { /* TODO */ }
1010async function run() { /* TODO */ }
11+
12+ onMounted (() => {
13+ throw new Error (" myheavyass 🥀" );
14+ });
1115 </script >
1216
1317<template >
You can’t perform that action at this time.
0 commit comments