feat: Add upload to server option in Editor - #12
Merged
Merged
Conversation
Adds a new "Upload to Server" menu item in the Tools menu that allows users to upload client or editor assets directly to the server via HTTP. Changes: - Added "Upload to Server" menu item to Tools menu in frmMain - Created FrmUploadToServer dialog with: - Server URL configuration - Upload type selection (Client/Editor assets) - Directory browser for source files - Progress bar for upload tracking - Status display - Implemented upload logic using HttpClient to POST files to EditorUpdatesController endpoints (/api/v1/editor/updates/client and /api/v1/editor/updates/editor) - Added comprehensive localization strings for upload feature - Upload supports authentication via bearer tokens from stored TokenResponse - Files are uploaded in batches to improve reliability - Settings are persisted across sessions using Preferences This feature complements the existing server-side upload API endpoints and provides a convenient way to deploy assets without manual file copying or external tools.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new "Upload to Server" menu item in the Tools menu that allows users to upload client or editor assets directly to the server via HTTP.
Changes:
This feature complements the existing server-side upload API endpoints and provides a convenient way to deploy assets without manual file copying or external tools.