Commit Graph
10 Commits
Author SHA1 Message Date
Deroino 81b71d023d feat(wechat-channel): add draft upload functionality for video channel
- Add isDraft parameter to TencentVideo class to control publishing behavior
- Modify click_publish method to click "保存草稿" instead of "发表" when isDraft is true
- Update post_video_tencent function to accept and pass is_draft parameter
- Add is_draft parameter to /postVideo API endpoint to receive frontend data
- Add "视频号上传草稿" checkbox in frontend that appears only for video channel platform
- Update defaultTabInit to include isDraft property with default value false
- Include isDraft in publishData sent to backend API
- Implement proper URL checking for draft vs publish success confirmation

The new functionality allows users to save WeChat Channel videos as drafts
instead of immediately publishing them when the checkbox is selected.
2025-11-13 09:12:39 +08:00
Deroino c0e7b64b94 feat(frontend): add loading state to publish button to prevent duplicate clicks
- Add publishing state property to each tab to track publishing status
- Implement loading indicator on publish button with visual feedback
- Prevent duplicate clicks during active publishing process
- Update button text to show "发布中..." (Publishing...) when loading
- Ensure publishing state is properly reset in all scenarios (success, failure, validation errors)
- Add duplicate click prevention with user-friendly error message

The publish button now shows a loading spinner and prevents multiple clicks
during the publishing process, improving user experience and preventing
duplicate uploads to social media platforms.
2025-11-13 07:53:23 +08:00
Deroino 1a02b8fa50 feat(frontend): add UUID column to material management table
- Add UUID field extraction in backend /getFiles endpoint
- Extract UUID from file_path (first part before underscore)
- Add UUID column to material management table in frontend
- Set appropriate width for UUID column display
- Maintain data consistency between backend and frontend
2025-11-13 06:02:15 +08:00
Deroino d21736292c style(frontend): improve upload progress indicator visibility
- Change upload speed indicator color from white to dark gray
- Add better styling for upload file items with rounded corners
- Add hover effects and improved spacing for upload items
- Enhance overall visual appearance of upload panel
2025-11-13 05:58:17 +08:00
Deroino 91d7942a6f fix(backend): delete actual file when removing from database
- Add file deletion logic to delete_file endpoint
- Remove actual file from videoFile directory when deleting record
- Add error handling for file deletion operations
- Add logging for file deletion status
- Ensure data consistency between database and file system
2025-11-13 05:58:01 +08:00
Deroino 6b9fdb35d1 feat(frontend): Implement multi-file upload with progress and speed 2025-11-13 05:47:31 +08:00
Deroino 0cdd088d97 fix(playwright): Prevent launch error when LOCAL_CHROME_PATH is empty 2025-11-13 05:08:06 +08:00
Deroino e003383d65 feat: Add proxy to frontend dev server to fix CORS issues 2025-11-13 04:11:58 +08:00
Deroino 756dcd9126 chore: Improve error logging for /uploadSave endpoint 2025-11-13 03:47:38 +08:00
Deroino c933543e5c chore(windows): add Windows batch script for one-click startup
Add a Windows batch script to launch both backend and frontend servers with a single click.

This script:
- Starts the Python backend server in a new window
- Starts the Vue.js frontend server in another window
- Includes proper window titles and logging
- Automatically closes the launcher window after 10 seconds
2025-11-08 04:22:06 +08:00