-
Notifications
You must be signed in to change notification settings - Fork 29
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
Progress #398
Progress #398
Conversation
lacci/lib/shoes/widgets/progress.rb
Outdated
# frozen_string_literal: true | ||
|
||
module Shoes | ||
class Progress < Shoes::Widget |
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.
Does it need a display property or something for % progress?
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.
yeah it does i guess there is value and max as two proerties and
i need to change this html into render method
so i made this into draft
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.
Ah, sorry, this says draft. So you're probably already on it. Looks like "fraction" is the Shoes style for it, and it's a float between 0.0 and 1.0.
Nice! Love the screenshot. |
I think this was not merged due to conflicts? so meging now as i resolved them. |
Yay! 🎉 |
* generating files is broken due to repo changes * progress * fraction * progress added fraction and refactored code
Description
progress
Image(if needed, helps for a faster review)
Checklist