Commit Graph
52 Commits
Author SHA1 Message Date
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 be3ffb945c Refactor RandomPicker.vue for improved readability and maintainability. Enhance template formatting by standardizing indentation and spacing, and update button properties for consistency. Add a new button for navigating to the list page in index.vue, and adjust date handling in settings and index pages for better date management. Update dataProvider and settings utility functions for improved response handling and configuration management. 2025-05-11 16:23:41 +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 eefd9eb054 Refactor index.vue and settings.vue for improved layout and functionality. Added URL configuration dialog and settings link generator component. Enhanced button formatting and code readability. 2025-04-19 20:29:39 +08:00
孙悟元 94149d0381 Update index.vue 2025-04-09 11:55:05 +08:00
孙悟元 9db9860622 Update index.vue 2025-04-08 21:54:32 +08:00
SunWuyuan 291c593178 pwa,设置项,自动刷新 2025-04-04 21:40:24 +08:00
SunWuyuan 8af43f0960 优化编辑框 2025-03-23 11:16:06 +08:00
SunWuyuan fa29c63a96 规避来自“教师”的限制 2025-03-23 10:37:27 +08:00
SunWuyuan 3c021c1bd8 修复 2025-03-23 10:20:33 +08:00
SunWuyuan ac417b1432 全屏按钮! 2025-03-23 10:07:51 +08:00
SunWuyuan c0d235a0fe 1 2025-03-22 16:17:01 +08:00
SunWuyuan 5a394ab6f6 1 2025-03-22 16:12:10 +08:00
SunWuyuan 29ce2a9336 1 2025-03-22 16:07:23 +08:00
SunWuyuan d0d0e3a6b4 1 2025-03-22 15:34:47 +08:00
SunWuyuan 66a503a062 1 2025-03-22 15:17:11 +08:00
SunWuyuan 69c67a7e52 1 2025-03-16 09:41:48 +08:00
SunWuyuan 3ac1f86b96 1 2025-03-15 21:45:14 +08:00
SunWuyuan 4adc0474e4 1 2025-03-15 21:37:14 +08:00
SunWuyuan efd622f819 1 2025-03-15 21:09:08 +08:00
SunWuyuan 6ab280e484 111 2025-03-15 20:49:25 +08:00
SunWuyuan 137c305cf8 1 2025-03-15 16:52:49 +08:00
SunWuyuan 49c93ecd08 1 2025-03-15 15:35:01 +08:00
SunWuyuan e46f44bee2 1 2025-03-15 12:46:29 +08:00
SunWuyuan 882bf08ad9 1 2025-03-15 11:21:26 +08:00
SunWuyuan c6b6bd2ce5 1 2025-03-15 09:11:11 +08:00
SunWuyuan 9bb3f06ba1 1 2025-03-14 21:53:22 +08:00
SunWuyuan ebf3e9df94 1 2025-03-09 15:52:51 +08:00
SunWuyuan cc950d1fc6 11 2025-03-09 15:45:27 +08:00
SunWuyuan f9e1dd5412 1 2025-03-09 15:37:36 +08:00
SunWuyuan 8aaf537f84 1 2025-03-09 15:36:01 +08:00
SunWuyuan 39d6bfec60 1 2025-03-09 15:15:24 +08:00
SunWuyuan 49542e5359 1 2025-03-09 15:14:04 +08:00
SunWuyuan 96c4ab81d9 1 2025-03-09 14:59:35 +08:00
SunWuyuan 10b7f3784f 1 2025-03-08 21:51:00 +08:00
SunWuyuan ec46f6aca2 1 2025-03-02 15:36:02 +08:00
SunWuyuan 5cfeba57ba 1 2025-03-02 15:34:27 +08:00
SunWuyuan 99f3f1b0ef 1 2025-03-02 14:45:00 +08:00
SunWuyuan c6b68ed3a0 1 2025-03-02 14:03:30 +08:00
SunWuyuan 367954cfa6 1 2025-03-02 12:03:25 +08:00
SunWuyuan 892191a965 Merge branch 'main' of github.com:SunWuyuan/homeworkpage-frontend 2025-02-23 14:36:18 +08:00
SunWuyuan 4f2fd40f78 1 2025-02-23 14:35:39 +08:00
SunWuyuan dfdb662e11 1 2025-02-23 14:16:51 +08:00
孙悟元 e637959904 Update index.vue 2024-12-07 17:14:48 +08:00
SunWuyuan 1be14511c7 1 2024-11-24 16:54:40 +08:00
SunWuyuan 1137f44c44 1 2024-11-24 16:52:47 +08:00
SunWuyuan cbc7498c61 1 2024-11-24 09:32:29 +08:00
SunWuyuan e54b30a683 1 2024-11-24 09:32:05 +08:00
孙悟元 58e286d80b Add server selection page
Add a new page for server selection and update backend URL handling.

* **ServerSelection.vue**: Create a new Vue component with a form to input and save the backend server URL to `localStorage`. Add methods to handle form submission and load the saved URL on component mount.
* **index.vue**: Update the `data` method to retrieve the backend URL from `localStorage`. Remove the hardcoded `backurl` value. Add a method to update the backend URL from `localStorage` on component mount. Update API requests to use the dynamic backend URL.
* **router/index.js**: Add a new route for the `ServerSelection` component.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/SunWuyuan/homeworkpage-frontend?shareId=XXXX-XXXX-XXXX-XXXX).
2024-11-24 08:55:05 +08:00