-
-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document update entity's display_precision property #2414
base: master
Are you sure you want to change the base?
Conversation
📝 Walkthrough📝 WalkthroughWalkthroughThe document Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant UpdateEntity
User->>UpdateEntity: Request update progress
UpdateEntity-->>User: Display progress with display_precision
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
docs/core/entity/update.md (1)
27-27
: LGTM! Consider adding a usage example.The addition of the
display_precision
property is well-documented and consistent with the existing format. It clearly explains the purpose and type of the property.To further enhance the documentation, consider adding a brief usage example to illustrate how this property affects the display of update progress. This could help developers better understand its practical application.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should update the type for update_percentage
, right?
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we merge? Is there anything else left to do before we write a dev blog about this?
I think we should not merge until there's a dev blog PR so we don't forget 🙈 |
Proposed change
Document update entity's display_precision property
Type of change
Additional information
Summary by CodeRabbit
New Features
display_precision
, to enhance update progress display with customizable decimal precision.update_percentage
property to accept bothint
andfloat
types for improved flexibility.Documentation
display_precision
property and changes to theupdate_percentage
property.