Commit Graph

19 Commits

Author SHA1 Message Date
3958fbc1f0 ci: add unit test
All checks were successful
CI / lint (push) Successful in 41s
CI / test (push) Successful in 44s
2025-04-20 18:48:57 +08:00
3c27bbecef Update .gitea/workflows/ci.yml
Some checks failed
CI / lint (push) Successful in 50s
CI / test (push) Failing after 1m44s
2025-04-20 11:20:30 +08:00
50294b1519 Add .gitea/workflows/ci.yml
All checks were successful
CI / lint (push) Successful in 53s
2025-04-20 11:17:31 +08:00
cab76c5abd feat: 更新教案页面,添加课程智能体选项,优化样式和功能 2025-04-20 11:07:57 +08:00
b2d5f5260c feat: 更新课程卡片布局,优化教案设计页面,添加响应式屏幕支持 2025-04-19 21:51:42 +08:00
b03b2d9273
feat: 更新导航结构,重构课程准备页面及其子页面,添加新组件 2025-04-19 17:19:16 +08:00
6221602d5e
refactor: restructure sidebar components and update navigation
- Updated Container.vue to import SubNavItem from Secondary.vue and renamed component usage.
- Removed NavMain.vue and NavUser.vue components, consolidating sidebar functionality.
- Deleted Sidebar.vue and created a new sidebar structure in index.vue.
- Implemented new Main.vue and User.vue components under sidebar/nav for better organization.
- Added DPlayer for video playback in preview page and adjusted layout accordingly.
- Introduced new course Card.vue component for displaying course information.
- Created Secondary.vue for secondary navigation with improved styling and functionality.
- Updated package.json to include dplayer and its types for video handling.
2025-04-19 12:16:39 +08:00
6fee735df5
chore: remove unused layout
chore: reformat code
2025-04-19 01:52:37 +08:00
28f84bca92
feat: 重构各级导航
chore: 配置 prettier
2025-04-19 01:32:50 +08:00
7727166bf5
chore: add dep dotenv 2025-04-18 10:19:12 +08:00
d81ec9a62b
feat: 重构课程准备页面,更新导航结构并添加新页面 2025-04-17 20:17:00 +08:00
9e094896bc
refactor: enable eslint 2025-04-13 16:29:06 +08:00
1faa632965
chore: bump nuxt-eslint and add ESLint flat config support in VSCode settings 2025-04-13 15:51:33 +08:00
ee8bd78392
chore: bump shadcn-nuxt to 2.0.1 2025-04-13 15:46:24 +08:00
e67caa8ec6
feat: 替换侧边栏中的NuxtImg为img标签,压缩背景图片 2025-04-13 15:41:02 +08:00
3a8b78ea7b
feat: update course resource types and interfaces, add resource uploader component
- Expanded CourseResourceType to include "resource" and "temp".
- Renamed ICourseResource to IResource and updated its properties for consistency.
- Introduced ICreateResource type for resource creation.
- Modified ICourseSection and ICourseChapter interfaces to use the new IResource type and updated property names for camelCase.
- Implemented uploadFile function in file API for handling file uploads.
- Created ResourceUploader component for uploading resources with validation and feedback.
- Developed Card component for displaying course class details and managing student enrollment.
- Added AlertDialog components for consistent alert dialog UI.
- Enhanced table components for better data presentation and management.
- Implemented preview page for displaying various resource types based on file extension.
2025-04-08 00:04:29 +08:00
9a36188322
feat: 添加教师团队管理功能,包括搜索、添加和删除教师团队成员 2025-04-06 02:25:38 +08:00
b05f954923
feat: add authentication requirements to course preparation and resources pages
fix: update home page background image and remove unnecessary redirect code

chore: update pnpm lock file with new dependencies for auto-animate and svg spinners

delete: remove unused images from public directory

refactor: modify course and user types for better clarity and structure

feat: implement course API with CRUD operations and teacher team management

feat: create user authentication page with login functionality and validation

feat: add login state management with Pinia for user session handling

style: create reusable UI components for cards and tabs

chore: implement HTTP utility for API requests with error handling
2025-04-06 00:25:20 +08:00
1093d404c7
feat: 课程章节UI 2025-04-03 22:57:36 +08:00