mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
feat: overhaul logging view with advanced filtering, grouped display, and real-time streaming controls
This commit is contained in:
@@ -566,13 +566,13 @@ watch(
|
|||||||
</VDialog>
|
</VDialog>
|
||||||
|
|
||||||
<!-- 实时日志弹窗 -->
|
<!-- 实时日志弹窗 -->
|
||||||
<VDialog
|
<VDialog
|
||||||
v-if="loggingDialog"
|
v-if="loggingDialog"
|
||||||
v-model="loggingDialog"
|
v-model="loggingDialog"
|
||||||
scrollable
|
scrollable
|
||||||
max-width="60rem"
|
max-width="72rem"
|
||||||
:fullscreen="!display.mdAndUp.value"
|
:fullscreen="!display.mdAndUp.value"
|
||||||
>
|
>
|
||||||
<VCard>
|
<VCard>
|
||||||
<VDialogCloseBtn @click="loggingDialog = false" />
|
<VDialogCloseBtn @click="loggingDialog = false" />
|
||||||
<VCardItem>
|
<VCardItem>
|
||||||
@@ -588,7 +588,7 @@ watch(
|
|||||||
</VCardTitle>
|
</VCardTitle>
|
||||||
</VCardItem>
|
</VCardItem>
|
||||||
<VDivider />
|
<VDivider />
|
||||||
<VCardText>
|
<VCardText class="pa-0">
|
||||||
<LoggingView :logfile="`plugins/${props.plugin?.id?.toLowerCase()}.log`" />
|
<LoggingView :logfile="`plugins/${props.plugin?.id?.toLowerCase()}.log`" />
|
||||||
</VCardText>
|
</VCardText>
|
||||||
</VCard>
|
</VCard>
|
||||||
|
|||||||
@@ -361,13 +361,13 @@ onMounted(() => {
|
|||||||
</VCard>
|
</VCard>
|
||||||
</VDialog>
|
</VDialog>
|
||||||
<!-- 实时日志弹窗 -->
|
<!-- 实时日志弹窗 -->
|
||||||
<VDialog
|
<VDialog
|
||||||
v-if="loggingDialog"
|
v-if="loggingDialog"
|
||||||
v-model="loggingDialog"
|
v-model="loggingDialog"
|
||||||
scrollable
|
scrollable
|
||||||
max-width="70rem"
|
max-width="80rem"
|
||||||
:fullscreen="!display.mdAndUp.value"
|
:fullscreen="!display.mdAndUp.value"
|
||||||
>
|
>
|
||||||
<VCard>
|
<VCard>
|
||||||
<VDialogCloseBtn @click="loggingDialog = false" />
|
<VDialogCloseBtn @click="loggingDialog = false" />
|
||||||
<VCardItem>
|
<VCardItem>
|
||||||
@@ -383,7 +383,7 @@ onMounted(() => {
|
|||||||
</VCardTitle>
|
</VCardTitle>
|
||||||
</VCardItem>
|
</VCardItem>
|
||||||
<VDivider />
|
<VDivider />
|
||||||
<VCardText>
|
<VCardText class="pa-0">
|
||||||
<LoggingView logfile="moviepilot.log" />
|
<LoggingView logfile="moviepilot.log" />
|
||||||
</VCardText>
|
</VCardText>
|
||||||
</VCard>
|
</VCard>
|
||||||
|
|||||||
@@ -1234,6 +1234,17 @@ export default {
|
|||||||
content: 'Content',
|
content: 'Content',
|
||||||
refreshing: 'Refreshing',
|
refreshing: 'Refreshing',
|
||||||
initializing: 'Initializing',
|
initializing: 'Initializing',
|
||||||
|
searchPlaceholder: 'Search logs',
|
||||||
|
allLevels: 'All Levels',
|
||||||
|
followTail: 'Follow latest logs',
|
||||||
|
wrapLines: 'Wrap lines',
|
||||||
|
pauseStream: 'Pause stream',
|
||||||
|
resumeStream: 'Resume stream',
|
||||||
|
waitingForLogs: 'Waiting for logs...',
|
||||||
|
paused: 'Paused',
|
||||||
|
connected: 'Live',
|
||||||
|
lineCount: 'Showing {visible}/{total} lines',
|
||||||
|
jumpToLatest: 'Jump to latest ({count})',
|
||||||
},
|
},
|
||||||
moduleTest: {
|
moduleTest: {
|
||||||
normal: 'Normal',
|
normal: 'Normal',
|
||||||
|
|||||||
@@ -1229,6 +1229,17 @@ export default {
|
|||||||
content: '内容',
|
content: '内容',
|
||||||
refreshing: '正在刷新',
|
refreshing: '正在刷新',
|
||||||
initializing: '正在初始化',
|
initializing: '正在初始化',
|
||||||
|
searchPlaceholder: '搜索日志内容',
|
||||||
|
allLevels: '全部级别',
|
||||||
|
followTail: '跟随最新日志',
|
||||||
|
wrapLines: '自动换行',
|
||||||
|
pauseStream: '暂停日志流',
|
||||||
|
resumeStream: '恢复日志流',
|
||||||
|
waitingForLogs: '等待日志输出...',
|
||||||
|
paused: '已暂停',
|
||||||
|
connected: '实时更新中',
|
||||||
|
lineCount: '显示 {visible}/{total} 行',
|
||||||
|
jumpToLatest: '查看最新 ({count})',
|
||||||
},
|
},
|
||||||
moduleTest: {
|
moduleTest: {
|
||||||
normal: '正常',
|
normal: '正常',
|
||||||
|
|||||||
@@ -1231,6 +1231,17 @@ export default {
|
|||||||
content: '內容',
|
content: '內容',
|
||||||
refreshing: '正在刷新',
|
refreshing: '正在刷新',
|
||||||
initializing: '正在初始化',
|
initializing: '正在初始化',
|
||||||
|
searchPlaceholder: '搜索日誌內容',
|
||||||
|
allLevels: '全部級別',
|
||||||
|
followTail: '跟隨最新日誌',
|
||||||
|
wrapLines: '自動換行',
|
||||||
|
pauseStream: '暫停日誌流',
|
||||||
|
resumeStream: '恢復日誌流',
|
||||||
|
waitingForLogs: '等待日誌輸出...',
|
||||||
|
paused: '已暫停',
|
||||||
|
connected: '實時更新中',
|
||||||
|
lineCount: '顯示 {visible}/{total} 行',
|
||||||
|
jumpToLatest: '查看最新 ({count})',
|
||||||
},
|
},
|
||||||
moduleTest: {
|
moduleTest: {
|
||||||
normal: '正常',
|
normal: '正常',
|
||||||
|
|||||||
+929
-100
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user