-
Notifications
You must be signed in to change notification settings - Fork 34
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
Further updates to the knit progress view #687
Conversation
WalkthroughThe recent changes enhance the application's user interface and internal logic, improving both functionality and usability. Key modifications include reorganizing object initialization in Changes
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? |
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
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (5)
- src/main/python/main/ayab/ayab.py (1 hunks)
- src/main/python/main/ayab/knitprogress.py (4 hunks)
- src/main/python/main/ayab/main_gui.ui (1 hunks)
- src/main/python/main/ayab/preferences.py (2 hunks)
- src/main/python/main/ayab/progressbar.py (3 hunks)
Files skipped from review due to trivial changes (1)
- src/main/python/main/ayab/ayab.py
Additional comments not posted (9)
src/main/python/main/ayab/progressbar.py (3)
37-37
: LGTM!The addition of
__selection_label
integrates the new label into the existing label management system.
49-49
: LGTM!The addition of clearing
__selection_label
in thereset
method ensures consistency in label management.
65-67
: LGTM!The
setSelectionLabel
method enhances the functionality of the progress bar by allowing dynamic updates to the selection label.src/main/python/main/ayab/main_gui.ui (1)
37-43
: LGTM!The addition of
label_selection
enhances the GUI by providing a label element for displaying or selecting information.src/main/python/main/ayab/knitprogress.py (3)
50-66
: LGTM!The changes in the
__init__
method improve user interaction with the table by enhancing the feedback mechanism and preventing unintended interactions.
154-159
: LGTM!The changes in the
instantiate_row_from_columns
method ensure that the column numbers remain readable and the horizontal header visibility is dynamically adjusted.
231-237
: LGTM!The
onStitchSelect
method enhances the feedback mechanism for users by providing real-time updates to the progress bar label based on the selected item.src/main/python/main/ayab/preferences.py (2)
145-150
: LGTM! The overloads improve type safety and clarity.The addition of overloads for the
value
method enhances type inference and usability.
Line range hint
151-159
:
Verify the function usage in the codebase.Ensure that all function calls to
value
match the new overload signatures.
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
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- src/main/python/main/ayab/knitprogress.py (4 hunks)
- src/main/python/main/ayab/progressbar.py (3 hunks)
Files skipped from review as they are similar to previous changes (2)
- src/main/python/main/ayab/knitprogress.py
- src/main/python/main/ayab/progressbar.py
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
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- src/main/python/main/ayab/knitprogress.py (4 hunks)
Files skipped from review as they are similar to previous changes (1)
- src/main/python/main/ayab/knitprogress.py
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
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- src/main/python/main/ayab/knitprogress.py (5 hunks)
Files skipped from review as they are similar to previous changes (1)
- src/main/python/main/ayab/knitprogress.py
|
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
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- src/main/python/main/ayab/knitprogress.py (6 hunks)
Files skipped from review as they are similar to previous changes (1)
- src/main/python/main/ayab/knitprogress.py
Fixes initial size jumping around, and make the table behavior consistent.

Adds cell selection and labels to help orient users.
Summary by CodeRabbit
Summary by CodeRabbit
New Features
KnitProgress
interface, including improved selection behavior and a progress bar connection.label_selection
widget to the GUI for better data display and user feedback.ProgressBar
class to dynamically update the selection label.Bug Fixes
KnitProgress
table by modifying selection behavior.Documentation
Preferences
class with method overloads for better clarity and usability.