cleanup: remove stale frontend-dist assets, fix warnings

This commit is contained in:
mirivlad 2026-06-05 16:21:21 +08:00
parent ceee03959b
commit c512ada386
7 changed files with 6 additions and 49 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -19,8 +19,8 @@
background: #13131f; background: #13131f;
} }
</style> </style>
<script type="module" crossorigin src="/assets/main-DNvOo-CH.js"></script> <script type="module" crossorigin src="/assets/main-CtkslTth.js"></script>
<link rel="stylesheet" crossorigin href="/assets/main-CXWRKHDk.css"> <link rel="stylesheet" crossorigin href="/assets/main--SNK_nBk.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@ -3294,11 +3294,8 @@
{todayCaptures} {todayCaptures}
suggestionCount={suggestions.length} suggestionCount={suggestions.length}
{formatTime} {formatTime}
{formatDate}
{eventLabel} {eventLabel}
{eventIcon} {eventIcon}
{nodeKindLabel}
{captureKindLabel}
{inboxMetaText} {inboxMetaText}
onOpenNodeById={(id) => openNodeById(id)} onOpenNodeById={(id) => openNodeById(id)}
onOpenActivityEvent={(ev) => openActivityEvent(ev)} onOpenActivityEvent={(ev) => openActivityEvent(ev)}
@ -3898,9 +3895,6 @@
.journal-status-msg { font-size: 12px; color: #34d399; padding: 4px 8px; background: #1a2a1e; border-radius: 4px; } .journal-status-msg { font-size: 12px; color: #34d399; padding: 4px 8px; background: #1a2a1e; border-radius: 4px; }
.journal-include-chk { width: 16px; height: 16px; accent-color: #6366f1; cursor: pointer; } .journal-include-chk { width: 16px; height: 16px; accent-color: #6366f1; cursor: pointer; }
/* Today suggestions */
.today-suggestions { margin-bottom: 24px; }
/* Link-style buttons */ /* Link-style buttons */
.link-btn { background: none; border: none; padding: 0; color: #a5b4fc; font: inherit; cursor: pointer; text-align: left; } .link-btn { background: none; border: none; padding: 0; color: #a5b4fc; font: inherit; cursor: pointer; text-align: left; }
.link-btn:hover { text-decoration: underline; } .link-btn:hover { text-decoration: underline; }
@ -4033,40 +4027,6 @@
.template-card-title { font-weight: 500; } .template-card-title { font-weight: 500; }
.template-card-desc { font-size: 11px; color: #888; } .template-card-desc { font-size: 11px; color: #888; }
/* Today Dashboard */
.today-dashboard { padding: 24px; overflow-y: auto; flex: 1; }
.today-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.today-header h2 { font-size: 24px; }
.today-date { font-size: 13px; color: #666; }
.today-summary { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.summary-chip { font-size: 12px; color: #b0b0c0; background: #1a1a28; border: 1px solid #2a2a3c; padding: 4px 12px; border-radius: 16px; }
.today-case { background: #1a1a28; border: 1px solid #2a2a3c; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.today-case-header { padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #2a2a3c; cursor: pointer; }
.today-case-header:hover { background: #1e1e30; }
.today-case-title { font-weight: 500; }
.today-case-type { font-size: 11px; color: #888; background: #222233; padding: 2px 8px; border-radius: 10px; }
.today-case-count { font-size: 11px; color: #6366f1; margin-left: 4px; }
.today-case-time { font-size: 11px; color: #555; margin-left: auto; }
.today-events { padding: 8px 16px; }
.today-event { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; color: #b0b0c0; cursor: pointer; }
.today-event:hover { color: #e4e4ef; }
.today-event-icon { width: 18px; text-align: center; color: #6366f1; font-size: 13px; }
.today-event-title { flex: 1; }
.today-event-type { font-size: 11px; color: #666; }
.today-event-time { font-size: 11px; color: #555; margin-left: auto; }
.today-events-empty { padding: 8px 16px; font-size: 13px; color: #666; font-style: italic; }
.today-empty { padding: 48px 24px; text-align: center; }
.today-empty p { color: #666; font-size: 14px; margin: 0; }
.today-empty .hint { font-size: 12px; color: #555; margin-top: 8px; }
.today-timeline { margin-top: 24px; }
.today-timeline h3 { font-size: 13px; color: #666; text-transform: uppercase; margin-bottom: 12px; }
.timeline-event { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; color: #b0b0c0; border-left: 2px solid #2a2a3c; padding-left: 16px; margin-left: 4px; cursor: pointer; }
.timeline-event:hover { color: #e4e4ef; }
.timeline-dot { width: 6px; height: 6px; border-radius: 50%; background: #6366f1; margin-left: -19px; flex-shrink: 0; }
.timeline-title { flex: 1; }
.timeline-type { font-size: 11px; color: #666; }
.timeline-time { font-size: 11px; color: #555; }
/* Activity tab (per-case) */ /* Activity tab (per-case) */
.activity-tab { padding: 24px; } .activity-tab { padding: 24px; }
.activity-events { display: flex; flex-direction: column; gap: 2px; } .activity-events { display: flex; flex-direction: column; gap: 2px; }

View File

@ -8,11 +8,8 @@
export let suggestionCount = 0 export let suggestionCount = 0
export let formatTime = (iso) => '' export let formatTime = (iso) => ''
export let formatDate = (iso) => ''
export let eventLabel = (type) => type export let eventLabel = (type) => type
export let eventIcon = (type) => '' export let eventIcon = (type) => ''
export let nodeKindLabel = (kind) => kind
export let captureKindLabel = (kind) => kind
export let inboxMetaText = (item) => '' export let inboxMetaText = (item) => ''
export let onOpenNodeById = (id) => {} export let onOpenNodeById = (id) => {}