-
Notifications
You must be signed in to change notification settings - Fork 7
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
GitAuto: [Negative progress] <as proxy for conditional formatting - databars like excel> #66
GitAuto: [Negative progress] <as proxy for conditional formatting - databars like excel> #66
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 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 (
|
Resolves #64
What is the feature
Add support for negative numbers in progress bars, enabling them to function as a proxy for Excel-like conditional formatting data bars that can visually represent both positive and negative values.
Why we need the feature
Currently, the progress bars effectively display positive values, allowing for straightforward visualization of progress or metrics. However, many real-world scenarios require the representation of negative values to indicate declines, deficits, or reductions. By supporting negative numbers, the progress bars become more versatile and can provide a more comprehensive view of data, similar to Excel's data bars in conditional formatting.
How to implement and why
Extend the Progress Bar Logic:
app.py
to accept and handle negative values.Update the Template:
templates
directory to accommodate bidirectional filling of the progress bars.Enhance Data Processing:
Testing:
Documentation:
README.md
and any relevant documentation to include information about the new feature and how to use it.Why:
Implementing the feature in
app.py
and thetemplates
ensures seamless integration with the existing architecture. Handling the visual representation through the front-end guarantees that users receive immediate and intuitive feedback when negative values are present.About backward compatibility
This feature can be added without breaking existing functionality. Positive value progress bars will continue to function as before, ensuring that current users are not adversely affected. By introducing conditional logic for negative values, the system remains robust and flexible, catering to both new and existing use cases without requiring changes to how positive values are handled.
Test these changes locally