Skip to content
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

Added fill color for progress #3926

Merged

Conversation

wassafshahzad
Copy link
Contributor

All Submissions:

  • Have you followed the guidelines stated in CONTRIBUTING.md file?
  • Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

New Feature Submission:

  • Does your submission pass the tests?
  • Have you linted your code locally prior to submission?

Changes To Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

After these steps, you're ready to open a pull request.

Description

Added a fill_color property to update the background style of the fill in progress bar. Since we do not expose the Progress.Root and Progress.Indicator components of radix ui. I updated the indicator class directly.

Lendemor
Lendemor previously approved these changes Sep 16, 2024
Copy link
Collaborator

@Lendemor Lendemor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, it's working well.

Just need to fix the pre-commit issue before we can merge it.

@wassafshahzad
Copy link
Contributor Author

Tested, it's working well.

Just need to fix the pre-commit issue before we can merge it.

I unfortunetly dont have the .pyi_generator_last_run and thus generating the pyi will cause issue for me

@Lendemor
Copy link
Collaborator

Lendemor commented Sep 16, 2024

I unfortunetly dont have the .pyi_generator_last_run and thus generating the pyi will cause issue for me

I tested locally to delete .pyi_generator_last_run and running python3 scripts/make_pyi.py reflex/components/radix/themes/components/progress.py worked without issue.

@wassafshahzad
Copy link
Contributor Author

python3 scripts/make_pyi.py reflex/components/radix/themes/components/progress.py

Done. Thank you

@wassafshahzad
Copy link
Contributor Author

I unfortunetly dont have the .pyi_generator_last_run and thus generating the pyi will cause issue for me

I tested locally to delete .pyi_generator_last_run and running python3 scripts/make_pyi.py reflex/components/radix/themes/components/progress.py worked without issue.

@Lendemor Addressed feedback

@Lendemor
Copy link
Collaborator

Approved, thanks for the good work !

@Lendemor Lendemor merged commit abb884c into reflex-dev:main Sep 17, 2024
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants