Sunwuyuan
76c2dba502
规范代码格式
2025-11-16 15:14:17 +08:00
SunWuyuan
df3c8e5a12
feat: Add ReadOnlyTokenWarning component and implement student name management dialog
...
- Introduced ReadOnlyTokenWarning.vue to alert users when using a read-only token.
- Added StudentNameManager.vue for managing student names with a dialog interface.
- Implemented AlternativeCodeDialog.vue for entering alternative codes (functionality pending).
- Created DeviceAuthDialog.vue for device authentication using namespace and password.
- Developed FirstTimeGuide.vue to guide users through the initial setup of Classworks KV.
- Added TokenInputDialog.vue for manual input of KV authorization tokens.
- Updated settings.vue to include a button for opening Classworks KV.
- Enhanced error handling and user feedback across components.
2025-11-01 19:31:41 +08:00
SunWuyuan
b9efaee7ee
初步添加ea2
2025-10-12 08:32:54 +08:00
SunWuyuan
c42c878ac8
Enhance App.vue, axios.js, MigrationTool.vue, index.vue, settings.vue, and related utilities to support namespace management and improve configuration handling. Add namespace password to axios request headers, load namespace info on App mount, and update settings structure to include namespace settings. Refactor dataProvider to utilize new kvLocalProvider and kvServerProvider for data operations, ensuring better separation of concerns and improved error handling.
2025-05-18 10:54:39 +08:00
SunWuyuan
8bf9d8700b
Update MigrationTool.vue to include setting updates for server provider and domain based on migration target. This enhances configuration management during the migration process.
2025-05-11 17:02:41 +08:00
SunWuyuan
c79a850868
Refactor batch data preparation in MigrationTool.vue to enhance clarity by removing unnecessary object initialization. Update key checks for batch payload to improve data handling consistency during migration.
2025-05-11 13:49:49 +08:00
SunWuyuan
08c6776cd1
Refactor MigrationTool.vue to simplify batch data preparation by removing unnecessary keys object. Update batch payload structure for improved clarity and consistency in data handling during migration.
2025-05-11 12:20:24 +08:00
SunWuyuan
3e78e7f60d
Update MigrationTool.vue to initialize classNumber, serverUrl, and migrationType from server settings during component mount. This improves configuration management and aligns with recent updates to server settings.
2025-05-11 12:13:52 +08:00
SunWuyuan
b82a553b1d
Update MigrationTool.vue to clear default values for classNumber and serverUrl, and change targetServerUrl to a production URL for improved configuration. This enhances flexibility and aligns with recent server settings updates.
2025-05-11 12:11:31 +08:00
SunWuyuan
d40e467183
Refactor MigrationTool.vue for improved code readability and consistency. Update template formatting, enhance button click handling, and streamline data display logic. Ensure consistent use of quotation marks and spacing throughout the component.
2025-05-11 12:03:56 +08:00
SunWuyuan
3c722875dd
Refactor MigrationTool and data handling to support student list migration. Update index.vue and settings.vue to streamline configuration loading and improve data provider integration. Remove deprecated local and server storage providers for cleaner architecture.
2025-05-10 21:49:18 +08:00
SunWuyuan
a542e9b91f
Implement data migration tool and enhance KV storage support. Add automatic redirection for legacy data providers, improve user interface for migration settings, and update data handling for Classworks cloud storage. Refactor components for better integration with new storage options.
2025-05-10 20:51:56 +08:00
SunWuyuan
c0e33dcbf9
Add uuid dependency and implement KV storage support in settings and data provider components. Enhance server settings with site key configuration and improve data handling for new KV providers.
2025-05-10 17:48:18 +08:00