feat(ui): 发送周期下限 10ms + 草稿态编辑修复 - #12
Merged
Merged
Conversation
- Lower the interval floor from 100ms to 10ms (the event-push RX path keeps up now; the rate guard still warns when the line can't). - Fix mid-edit clamping: the input keeps a draft string while focused and only commits (clamped) on blur/Enter; Escape cancels. Typing '50' no longer snaps to the minimum after the first digit.
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_6e15920c-ca2e-4fe1-826c-865e7f2fa2f7) |
This was referenced Sep 2, 2026
Merged
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.
改动
Math.max(100, ...)钳制,输入「50」时第一个数字「5」直接被弹成 100。改为草稿态编辑:聚焦后自由输入,失焦/Enter 才提交并钳制到 [10, 60000],Escape 放弃验证
tsc --noEmit通过;有头应用人工验证编辑/提交/取消行为正常Note
Low Risk
UI-only changes to scheduled-send timing bounds and input behavior in SendPanel; no auth, persistence, or wire-protocol changes.
Overview
Scheduled send cycle in
SendPanelnow allows a 10ms minimum (was 100ms), withstep10 on the interval field. The lower bound reflects that the RX path can keep up; existing rate warning logic still blocks configs that exceed ~90% of line capacity.Interval input editing no longer clamps on every keystroke (which made typing values like
50jump to the minimum). While focused, the field uses anintervalDraftstring; digits-only typing commits on blur or Enter (clamped to [10, 60000], invalid/empty drafts keep the current interval), and Escape discards the draft. If scheduled sending is already running, a committed interval change still restarts the timer with the new value.Reviewed by Cursor Bugbot for commit a8786ff. Bugbot is set up for automated code reviews on this repo. Configure here.