fix(desktop): DeerFlow UI — ChatArea refactor + ai-elements + dead CSS cleanup
ChatArea retry button uses setInput instead of direct sendToGateway, fix bootstrap spinner stuck for non-logged-in users, remove dead CSS (aurora-title/sidebar-open/quick-action-chips), add ai components (ReasoningBlock/StreamingText/ChatMode/ModelSelector/TaskProgress), add ClassroomPlayer + ResizableChatLayout + artifact panel Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -29,3 +29,12 @@ pub struct PromptVersionRow {
|
||||
pub min_app_version: Option<String>,
|
||||
pub created_at: String,
|
||||
}
|
||||
|
||||
/// prompt_sync_status 表行
|
||||
#[derive(Debug, FromRow)]
|
||||
pub struct PromptSyncStatusRow {
|
||||
pub device_id: String,
|
||||
pub template_id: String,
|
||||
pub synced_version: i32,
|
||||
pub synced_at: String,
|
||||
}
|
||||
|
||||
@@ -2,6 +2,24 @@
|
||||
|
||||
use sqlx::FromRow;
|
||||
|
||||
/// telemetry_reports 表行
|
||||
#[derive(Debug, FromRow)]
|
||||
pub struct TelemetryReportRow {
|
||||
pub id: String,
|
||||
pub account_id: String,
|
||||
pub device_id: String,
|
||||
pub app_version: Option<String>,
|
||||
pub model_id: String,
|
||||
pub input_tokens: i64,
|
||||
pub output_tokens: i64,
|
||||
pub latency_ms: Option<i32>,
|
||||
pub success: bool,
|
||||
pub error_type: Option<String>,
|
||||
pub connection_mode: Option<String>,
|
||||
pub reported_at: String,
|
||||
pub created_at: String,
|
||||
}
|
||||
|
||||
/// telemetry 按 model 分组统计
|
||||
#[derive(Debug, FromRow)]
|
||||
pub struct TelemetryModelStatsRow {
|
||||
|
||||
Reference in New Issue
Block a user