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

Progress #398

Merged
merged 7 commits into from
Oct 17, 2023
Merged

Progress #398

merged 7 commits into from
Oct 17, 2023

Conversation

gintama91
Copy link
Collaborator

Description

progress

Image(if needed, helps for a faster review)

Screenshot_20231005_142038

Checklist

  • Run tests locally
  • Run linter(check for linter errors)

@gintama91 gintama91 marked this pull request as draft October 5, 2023 08:54
# frozen_string_literal: true

module Shoes
class Progress < Shoes::Widget
Copy link
Collaborator

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?

Copy link
Collaborator Author

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

Copy link
Collaborator

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.

@gintama91 gintama91 marked this pull request as ready for review October 15, 2023 08:08
@gintama91 gintama91 marked this pull request as draft October 15, 2023 08:08
@gintama91 gintama91 marked this pull request as ready for review October 15, 2023 08:33
@gintama91
Copy link
Collaborator Author

Screenshot_20231015_140238

@noahgibbs
Copy link
Collaborator

Nice! Love the screenshot.

@gintama91
Copy link
Collaborator Author

I think this was not merged due to conflicts? so meging now as i resolved them.

@gintama91 gintama91 merged commit 444e080 into scarpe-team:main Oct 17, 2023
1 check passed
@gintama91 gintama91 deleted the progress branch October 17, 2023 04:07
@noahgibbs
Copy link
Collaborator

Yay! 🎉

gintama91 added a commit to gintama91/scarpe that referenced this pull request Oct 19, 2023
* generating files is broken due to repo changes

* progress

* fraction

* progress added fraction and refactored code
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