feat: add admin audit pagination and improve admin/chat UX.

Move admin operation audit to true offset-based pagination with SQL-side filtering and total count metadata, while keeping legacy response compatibility. Also refine admin Experts section layout and improve chat image viewer interactions and reasoning finalization behavior to reduce UX regressions.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-02 20:12:32 +08:00
parent 37522f492a
commit 83f46f8aa2
6 changed files with 502 additions and 52 deletions

View file

@ -681,11 +681,29 @@ body.theme-ds-body .card {
}
.chat-img-lightbox__img {
max-width: 96vw;
max-height: 92vh;
max-width: none;
max-height: none;
width: auto;
height: auto;
object-fit: contain;
user-select: none;
-webkit-user-drag: none;
}
.chat-img-lightbox__viewportWrap {
width: min(96vw, 1400px);
max-height: 92vh;
overflow: auto;
padding: 14px;
cursor: grab;
}
.chat-img-lightbox__viewportWrap--dragging {
cursor: grabbing;
}
.chat-img-lightbox__viewport {
transform-origin: 0 0;
}
.chat-mermaid-lightbox__svg {
@ -734,6 +752,18 @@ body.theme-ds-body .card {
background: rgba(30, 41, 59, 0.75);
}
.chat-img-lightbox__btn--icon {
width: 40px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0;
font-size: 22px;
font-weight: 800;
line-height: 1;
}
.chat-mermaid-lightbox__zoom {
color: rgba(226, 232, 240, 0.9);
font-size: 12px;