Repository navigation
Conversation
|
@nrps9909 is attempting to deploy a commit to the afc163's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. Walkthrough
Changes通知计时器重置
Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Possibly related PRs
Suggested reviewers: Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #409 +/- ##
==========================================
+ Coverage 99.21% 99.22% +0.01%
==========================================
Files 12 12
Lines 383 389 +6
Branches 103 104 +1
==========================================
+ Hits 380 386 +6
Misses 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Thanks for the fix! #421 has now landed. Could you rebase this PR onto the latest Those calls still use the three-argument signature, so the combined changes fail TypeScript checking. For example, use |
|
One follow-up to my earlier comment: |
Summary
timesupdate counter without resuming a paused noticeProblem
Notifications.openincrementstimeswhen an existing key is updated, butNotificationdid not pass that value to its timer. When a one-second notice was updated after 800 ms with the same one-second duration, it still closed about 200 ms later instead of remaining visible for another full second.Validation
vitest run --maxWorkers=1(3 files, 53 tests)tsc --noEmitfather build(ESM, CJS, declarations)git diff --checkI also checked the current open issues and PRs. The timer-related open PRs cover maximum timeout clamping, hover resume behavior, page blur, or progress styling; none resets the same-key update timer.
Summary by CodeRabbit
新功能
错误修复
测试