refactor(webui): inline deployment creation & rename schedule → deployment#58
Open
heimanba wants to merge 1 commit into
Open
refactor(webui): inline deployment creation & rename schedule → deployment#58heimanba wants to merge 1 commit into
heimanba wants to merge 1 commit into
Conversation
…yment - Move deployment creation from /schedule page into an inline popover on the DeploymentButton, so users never leave the composer context - /deployments route is now a pure management page (list, pause, run, delete) - Rename all schedule references to deployment: - ScheduleButton → DeploymentButton, ScheduleCenter → DeploymentCenter - lib/schedule.ts → lib/deployment.ts, CSS schedule-* → deploy-* - Route /schedule → /deployments, TopBar label '定时' → '定时任务' - Add success state with 'go to deployments' navigation after creation - Improve run button: Play icon + label + hover tooltip on all actions - Fix: useId() for unique form element ids (two instances in DOM) - Fix: try/catch/finally on API calls to prevent stuck busy state - Fix: mobile popover animation vs transform conflict Change-Id: I99e7ae5bc3256fe558675aaa4fb6bb1d301c7854 Co-developed-by: OpenCode <noreply@opencode.ai>
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.
改动概述
将定时任务创建从独立页面移到 Composer 内联弹窗,
/deployments路由变为纯管理页面。同时将所有schedule命名统一为deployment。交互变化
具体改动
/schedule→/deployments,TopBar 标签「定时」→「定时任务」useId()解决两个实例的重复 HTML idtry/catch/finally防止 API 异常时按钮永久禁用