mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
refactor(vscode): 重构消息排序和展示逻辑
- 移除旧的消息排序改进总结文档 - 重新组织消息渲染逻辑,合并所有类型的消息按时间戳排序 - 优化工具调用处理流程,添加时间戳支持 - 改进会话保存机制,直接使用SessionManager保存检查点 - 重构部分组件以提高可维护性
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2025 Qwen Team
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/* eslint-env node */
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
// eslint-disable-next-line no-undef
|
||||
module.exports = {
|
||||
export default {
|
||||
content: [
|
||||
// 渐进式采用策略:只扫描新创建的Tailwind组件
|
||||
// Progressive adoption strategy: Only scan newly created Tailwind components
|
||||
'./src/webview/App.tsx',
|
||||
'./src/webview/components/ui/**/*.{js,jsx,ts,tsx}',
|
||||
'./src/webview/components/messages/**/*.{js,jsx,ts,tsx}',
|
||||
@@ -13,9 +19,6 @@ module.exports = {
|
||||
'./src/webview/components/InputForm.tsx',
|
||||
'./src/webview/components/PermissionDrawer.tsx',
|
||||
'./src/webview/components/PlanDisplay.tsx',
|
||||
// 当需要在更多组件中使用Tailwind时,可以逐步添加路径
|
||||
// "./src/webview/components/NewComponent/**/*.{js,jsx,ts,tsx}",
|
||||
// "./src/webview/pages/**/*.{js,jsx,ts,tsx}",
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
|
||||
Reference in New Issue
Block a user