Refactor/Fix: Standardize Dialog Themes & Fix WebSocket Fragmentation. Detail: UserInfoDialog design refresh, standardized all dialogs, fixed backend WebSocketServer fragmentation bug.

This commit is contained in:
backuppc
2025-12-30 17:35:02 +09:00
parent 8528d0206c
commit 5fe21528fc
27 changed files with 590 additions and 411 deletions

View File

@@ -555,14 +555,14 @@ function TodoModal({
return (
<div className="fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/60 backdrop-blur-md animate-fade-in" onClick={onClose}>
<div className="bg-[#1a1b2e]/90 rounded-3xl shadow-2xl w-full max-w-2xl overflow-hidden border border-white/10 flex flex-col backdrop-blur-xl" onClick={(e) => e.stopPropagation()}>
<div className="dialog-container w-full max-w-2xl" onClick={(e) => e.stopPropagation()}>
{/* 헤더 */}
<div className="flex items-center justify-between px-8 py-6 border-b border-white/10 bg-white/5">
<div className="dialog-header">
<div className="flex items-center gap-4">
<div className="p-2 bg-primary-500/20 rounded-lg">
<div className={`p-2 rounded-lg ${isEdit ? 'bg-primary-500/20' : 'bg-primary-500/20'}`}>
{isEdit ? <Edit3 className="w-5 h-5 text-primary-400" /> : <Plus className="w-5 h-5 text-primary-400" />}
</div>
<h2 className="text-xl font-bold text-white tracking-tight">{title}</h2>
<h2 className="dialog-title">{title}</h2>
</div>
<div className="flex items-center gap-3">
{isEdit && onComplete && currentStatus !== '5' && (
@@ -709,7 +709,7 @@ function TodoModal({
</div>
{/* 푸터 */}
<div className="px-8 py-6 border-t border-white/10 bg-white/5 flex items-center justify-between">
<div className="dialog-footer">
<div>
{isEdit && onDelete && (
<button