Conversation
OrenZhang
approved these changes
Jul 2, 2025
There was a problem hiding this comment.
Pull Request Overview
This PR removes outdated changelog entries, adjusts the default risk level, and enhances the numeric input (Counter) to support min/max/step with long-press for quick adjustments while also temporarily disabling manual invite mode in project creation.
- Remove obsolete changelog files for v0.0.1 and v0.0.2
- Lower default
RISK_LEVELand upgradeCounterwith min/max/step & long-press controls - Disable manual invite distribution in
CreateDialogwith UI feedback
Reviewed Changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| frontend/public/docs/changelog/0_0_2/README.md | Deleted outdated changelog for v0.0.2 |
| frontend/public/docs/changelog/0_0_1/README.md | Deleted outdated changelog for v0.0.1 |
| frontend/components/common/project/constants.ts | Adjusted DEFAULT_FORM_VALUES.RISK_LEVEL from 75 to 70 |
| frontend/components/common/project/EditDialog.tsx | Removed inline clamping, passed min, max, step, longPressDelay, and longPressSpeed props |
| frontend/components/common/project/CreateDialog.tsx | Added disable/notification for INVITE distribution mode, updated risk input props and button text |
| frontend/components/common/auth/CallbackHandler.tsx | Replaced BackgroundLines wrapper with a plain <div> |
| frontend/components/animate-ui/components/counter.tsx | Implemented clamp, long-press logic, and new props (min, max, step, longPressDelay, longPressSpeed) |
Comments suppressed due to low confidence (1)
frontend/components/common/project/CreateDialog.tsx:217
- Add automated tests to verify that manual-invite mode is disabled, that the toast error appears, and the button text is updated to '开发中'.
if (formData.distributionType === DistributionType.INVITE) {
tabloving
pushed a commit
to tabloving/cdk
that referenced
this pull request
Jul 3, 2025
feat: project operate
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.
No description provided.