Commit Graph

294 Commits

Author SHA1 Message Date
PANDA-JSR 1b42a1a940 feat: 支持分组编辑页拖拽分组标题调整顺序 2026-03-26 16:43:38 +08:00
PANDA-JSR c7c059cd63 fix: 改为DOM直驱拖拽跟随减少卡顿 2026-03-26 16:37:56 +08:00
PANDA-JSR 2c58983b14 fix: 移除拖拽跟随层过渡避免动画追赶 2026-03-26 16:35:26 +08:00
PANDA-JSR 279acec09d fix: 平滑分组拖拽跟随动画减少卡顿 2026-03-26 16:33:05 +08:00
PANDA-JSR 24fcff19ca fix: 调整分组弹窗留白并将滚动限定到分组列 2026-03-26 16:30:08 +08:00
PANDA-JSR 692142a910 feat: 优化分组编辑弹窗滚动并支持新建分组拖拽 2026-03-26 16:25:18 +08:00
PANDA-JSR ec98aba087 feat: 导入名单改为下拉并更新协作提交规则 2026-03-26 16:22:11 +08:00
PANDA-JSR cdb3c8ccad refactor: 班优分组方案仅使用已知接口并隐藏手动teamPlanId 2026-03-26 16:16:11 +08:00
NanGua_QWQ b31cbdb82a install: @react-awesome-query-builder/antd 2026-03-26 03:17:12 +00:00
PANDA-JSR 8b8ff9c916 feat: 新增班优导入并修复班级头像显示 2026-03-25 21:40:20 +08:00
PANDA-JSR a651fd672a feat: 新增学生分组拖拽快捷编辑 2026-03-25 21:06:26 +08:00
PANDA-JSR c344b79cb2 feat: 设置小组支持一键添加到已有小组 2026-03-25 20:00:12 +08:00
PANDA-JSR 76da215d6a fix: 优化学生管理操作列避免横向溢出 2026-03-25 19:58:03 +08:00
PANDA-JSR f88731ff27 feat: 新增学生小组设置与主页小组排序 2026-03-25 19:52:10 +08:00
NanGua-QWQ 207468d14f fix: log目录冲突导致应用无限重启的bug 2026-03-25 19:44:44 +08:00
NanGua-QWQ dab3d811ec Merge branch 'main' of https://github.com/SECTL/SecScore 2026-03-24 21:58:34 +08:00
NanGua-QWQ 1c9e209a5b fix: 在 setup_database 中调用 state.initialize() 加载主题配置 2026-03-24 21:57:39 +08:00
PANDA-JSR 81fe807020 fix: 调整看板奖牌到卡片右侧并放大显示 2026-03-24 20:03:21 +08:00
PANDA-JSR 84cdc5f2fd fix: 调整看板奖牌位置为卡片顶部左侧 2026-03-24 20:02:21 +08:00
PANDA-JSR bb5d5eb253 fix: 调整看板学生卡片排名标识到上方 2026-03-24 20:00:20 +08:00
PANDA-JSR 03feee6e6b feat: 看板列表编辑和删除改为图标按钮 2026-03-24 19:54:19 +08:00
PANDA-JSR d56f5e2486 feat: 在看板SQL编辑中新增扣子智能体链接 2026-03-24 19:51:07 +08:00
PANDA-JSR 4dc5a9f58c feat: 在看板SQL输入框下新增豆包智能体链接 2026-03-24 19:45:27 +08:00
PANDA-JSR c525b3bd31 feat: 看板SQL与布局支持数据库持久化 2026-03-24 19:41:35 +08:00
PANDA-JSR 57dfa38964 fix: 强化看板SQL提示词避免学生名字段误用 2026-03-24 19:34:37 +08:00
NanGua-QWQ 03e0c59692 fix: 修复重启后主题不能保持的问题 2026-03-24 18:37:41 +08:00
PANDA-JSR 271cf1b00a chore: 新增AGENTS协作提交规范 2026-03-24 18:12:09 +08:00
PANDA-JSR 4aedc89d6e feat(board): support natural-week SQL templates and harden prompt 2026-03-24 18:11:41 +08:00
PANDA-JSR 5a350bee47 chore: ignore tauri generated files and add Cargo.lock 2026-03-24 17:28:44 +08:00
Yuniko_fox aef528ef46 Merge pull request #21 from SECTL/qwen-code-c1f9931c-c242-4e77-bdc4-070864e28e6e
Update from task c1f9931c-c242-4e77-bdc4-070864e28e6e
2026-03-23 12:17:08 +08:00
qwen.ai[bot] 4484af560c Fix desktop touch screen window dragging issue
Key features implemented:
- Add window_start_dragging command to src-tauri/src/commands/window.rs for initiating window drag operations
- Implement touch-based window dragging functionality in src/main.tsx with proper touch event handling and drag region detection
- Add startDraggingWindow API method to src/preload/types.ts to expose the window dragging capability
- Update .gitignore with comprehensive ignore patterns for various development environments and file types

The changes introduce proper support for dragging application windows on desktop devices with touch screens, addressing the core issue while maintaining compatibility with existing mouse-based interactions. The touch event handling includes safeguards to prevent interference with normal UI element interactions.
2026-03-23 04:13:15 +00:00
Yukino_fox c291177ec1 style(css): 优化移动端小屏设备的样式适配
调整移动端小屏设备下的组件尺寸和布局,包括侧边栏菜单、按钮、输入框、表格和模态框等,提升触摸操作体验和可读性。移除冗余的媒体查询规则,统一使用平台特定的选择器进行适配。
2026-03-22 20:10:04 +08:00
Yukino_fox 25e79bc726 refactor(database): 移除不必要的state_guard释放操作
移除db_switch_connection函数中多余的drop(state_guard)调用,因为Rust的RAII机制会自动处理资源释放
2026-03-22 19:41:59 +08:00
Yukino_fox 5be6bd09d2 refactor: 优化代码结构并修复多个问题
修复 ruleComponent.tsx 和 ruleBuilderUtils.ts 中 queryToAutoScoreRule 函数的参数问题
调整 database.rs 中 state_guard 的 drop 位置
优化 EventEmitter 和 Context 中的 once 方法实现
移除 Sidebar.tsx 和 OOBE.tsx 中未使用的代码
格式化 MCP 使用文档和规则文件
2026-03-22 19:26:35 +08:00
Fox_block 63dda3e043 feat(响应式): 添加移动端适配支持
- 在Sidebar、Settings、OOBE组件中添加响应式布局处理
- 为移动端优化CSS样式,包括模态框、表格和选择器
- 在数据库切换命令中添加详细的日志记录
- 改进OOBE组件在移动设备上的显示效果
2026-03-22 17:21:26 +08:00
Fox_block eac7b62dc2 修复 Android APK 签名:自动查找 apksigner 路径
- 移除 sdkmanager 安装步骤(命令不存在)
- 使用 find 命令自动查找 apksigner 可执行文件
- 简化签名流程,依赖 Android SDK 中已有的 build-tools
2026-03-22 14:57:38 +08:00
Fox_block a75f191367 更新图标、修复 Android 构建和签名
1. 更新所有软件图标为 resources 文件夹中的图标
   - src-tauri/icons/icon.ico (Windows 应用图标)
   - src-tauri/icons/icon.png (托盘图标)
   - public/favicon.svg (浏览器图标)
   - src/assets/logoHD.svg 和 logo.svg (应用内 Logo)

2. 修复 Android APK 签名配置
   - 添加签名步骤,使用 apksigner 签名 APK
   - 支持通过 GitHub Secrets 配置签名密钥
   - 签名后自动删除未签名版本
   - 上传产物时排除未签名 APK

3. 修复三个架构 APK 被覆盖的问题
   - 改为单次构建命令包含所有架构:--target aarch64 --target armv7 --target x86_64
   - Tauri 会自动生成包含所有架构的 universal APK
2026-03-22 14:25:31 +08:00
Fox_block 2a679e88a4 修复 release 产物收集问题
- 更新产物路径以匹配 Tauri 2.x 的 target-specific 输出目录
- Windows: 添加 x86_64-pc-windows-msvc 路径
- macOS: 添加 x86_64/aarch64/universal 路径
- Linux: 添加 x86_64-unknown-linux-gnu 路径
- 更新 release job 的文件匹配模式,使用具体的 artifact 目录
- 添加调试步骤列出所有产物文件
- 修复 release job 的条件判断,正确处理 skipped 状态的构建任务
2026-03-21 18:58:38 +08:00
PANDA-JSR 9d0bf6bfee feat: refresh frontend data after MCP mutations 2026-03-21 18:17:57 +08:00
Fox_block ef0aa29531 添加 Android 项目初始化步骤
- 在构建 Android 之前运行 tauri android init
- 修复 Android Studio 项目目录不存在的错误
2026-03-21 18:04:01 +08:00
Fox_block 266510d8be 修复所有平台的构建错误
macOS:
- 添加 x86_64-apple-darwin target 到 Rust 安装步骤

Linux:
- 将 libwebkit2gtk-4.0-dev 更新为 libwebkit2gtk-4.1-dev(新版本)

Android:
- 修正 Tauri Android 构建命令的 target 参数
- 使用简化的架构名称(aarch64, armv7, x86_64)

Windows:
- 修复 devtools 相关的编译错误
- 将 devtools 调用限制在 debug_assertions 模式下
- 在 release 模式下不调用 devtools 方法(这些方法在 release 中不可用)
2026-03-21 17:51:39 +08:00
Fox_block 50e2ad5077 修复 GitHub Actions 工作流
- 移除 push 触发器,只保留 workflow_dispatch 手动触发
- 将 dtolnay/rust-action 替换为 dtolnay/rust-toolchain(正确的仓库名称)
2026-03-21 17:24:50 +08:00
Yuniko_fox b8035dc4c7 Merge pull request #19 from SECTL/SecScore-tauri
开启Rust+Tauri新纪元
2026-03-21 17:15:57 +08:00
Fox_block 34ad1a141d Merge branch 'main' into SecScore-tauri 2026-03-21 17:13:52 +08:00
Fox_block 2a97db4555 (!breaking)Del:打扫干净屋子再请客 2026-03-21 17:03:41 +08:00
Fox_block 6a8425d499 Merge branch 'SecScore-tauri' of https://github.com/SECTL/SecScore into SecScore-tauri 2026-03-21 12:51:19 +08:00
Fox_block 92929012fc chore:删除旧代码 2026-03-21 12:48:10 +08:00
PANDA-JSR c2ae0979be 修复MCP学生列表limit为空导致PostgreSQL溢出崩溃 2026-03-21 11:09:40 +08:00
PANDA-JSR 267b0ff56f MCP日志增加控制台直接输出 2026-03-21 11:06:40 +08:00
PANDA-JSR d1aac07092 MCP调用链路增加后端日志记录 2026-03-21 11:05:01 +08:00