fix(dc/tool-c): Fix special character handling and improve UX
Major fixes: - Fix pivot transformation with special characters in column names - Fix compute column validation for Chinese punctuation - Fix recode dialog to fetch unique values from full dataset via new API - Add column mapping mechanism to handle special characters Database migration: - Add column_mapping field to dc_tool_c_sessions table - Migration file: 20251208_add_column_mapping UX improvements: - Darken table grid lines for better visibility - Reduce column width by 40% with tooltip support - Insert new columns next to source columns - Preserve original row order after operations - Add notice about 50-row preview limit Modified files: - Backend: SessionService, SessionController, QuickActionService, routes - Python: pivot.py, compute.py, recode.py, binning.py, conditional.py - Frontend: DataGrid, RecodeDialog, index.tsx, ag-grid-custom.css - Database: schema.prisma, migration SQL Status: Code complete, database migrated, ready for testing
This commit is contained in:
@@ -300,3 +300,4 @@ Changes:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -372,3 +372,4 @@ cd path; command
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -601,3 +601,4 @@ import { logger } from '../../../../common/logging/index.js';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -605,3 +605,4 @@ Content-Length: 45234
|
||||
**更新日期**: 2025-12-07
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -257,3 +257,4 @@ Response:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -410,3 +410,4 @@ Response:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -404,3 +404,4 @@ import { ChatContainer } from '@/shared/components/Chat';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -314,3 +314,4 @@ const initialMessages = defaultMessages.length > 0 ? defaultMessages : [{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -354,3 +354,4 @@ python main.py
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -602,3 +602,4 @@ http://localhost:5173/data-cleaning/tool-c
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -212,3 +212,4 @@ Day 5 (6-8小时):
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -390,3 +390,4 @@ Docs: docs/03-业务模块/DC-数据清洗整理/06-开发记录/DC模块重建
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -365,3 +365,4 @@ const mockAssets: Asset[] = [
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -349,3 +349,4 @@ frontend-v2/src/modules/dc/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -309,3 +309,4 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -263,3 +263,4 @@ ConflictDetectionService // 冲突检测(字段级对比)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -312,3 +312,4 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -275,3 +275,4 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -339,3 +339,4 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -427,3 +427,4 @@ Tool B后端代码**100%复用**了平台通用能力层,无任何重复开发
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -273,3 +273,4 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -204,3 +204,4 @@ $ node scripts/check-dc-tables.mjs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user