-
Notifications
You must be signed in to change notification settings - Fork 12
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
changes to VerticalAquaRadioButtonGroup and VerticalCheckboxGroup #344
Comments
It is probably worth reminding people (since I forgot this in the past week) that TODOs in common code should have issues with them. |
What priority is handling the TODOs? |
@samreid will take a look. It could be that "factor out related parts between vertical checkboxes" is stale, may precede VBox. I'll also add a comment like |
@samreid I have a little time to kill before my next meeting. I'm going to make a quick "clean up" pass on VerticalAquaRadioButtonGroup and VerticalCheckBoxGroup, then have you review. |
First pass of refactoring (rewrite actually) completed. There are many inconsistencies between VerticalAquaRadioButtonGroup and VerticalCheckBoxGroup, see TODO items in VerticalCheckBoxGroup. |
Re this TODO in VerticalAquaRadioButtonGroup and VerticalCheckBoxGroup: //TODO #344 this is the total of left and right margins, replace with xMargin?
padding: 8, VerticalAquaRadioButtonGroup |
Re this TODO in VerticalCheckboxGroup: //TODO #344 these are passed to CheckBox, replace with checkboxOptions: {...}
boxWidth: 21,
checkboxColor: 'black', I suggest that we track down usages of these and change to: checkboxOptions: {
boxWidth: 21,
checkBoxColor: 'black'
} Re this TODO in VerticalCheckboxGroup: //TODO #344 item.content is item.node in VerticalAquaRadioButtonGroup Change |
Re this TODO in VerticalCheckboxGroup: //TODO #344 VerticalAquaRadioButtonGroup has accessibleLabel, why not here?
//TODO #344 VerticalAquaRadioButtonGroup has a11yNameAttribute, why not here? @jessegreenberg I suspect that these fields are missing from VerticalCheckBoxGroup because it hasn't been instrumented for a11y yet. Is that correct? |
Re these TODOs in VerticalCheckboxGroup:
I think we should add this feature to VerticalAquaRadioButtonGroup. Should be trivial, and then the main
|
Re this TODO in
Highly recommended to fix the bug. When |
@samreid please review my proposals above for addressing TODO items. Comment here, or ping me on Slack. |
Correct, VerticalCheckBoxGroup has not yet been instrumented. |
a11y-related TODO items removed, a11y instrumentation moved to #349. |
To summarize... Here are the proposed changes:
|
Unassigning myself. @samreid please reassign to me when you have feedback. |
…roup, phetsims/sun#344 Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
…roup, phetsims/sun#344 Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
…roup, phetsims/sun#344 Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
…roup, phetsims/sun#344 Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
…roup, phetsims/sun#344 Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
…roup, #344 Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
I completed several of the checklist items in #344 (comment). But when I got to the one involving |
…ms/sun#344 Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
The |
Signed-off-by: Chris Malley <cmalley@pixelzoom.com>
All work is completed. Here's a summary of what I did related to #344 (comment):
@samreid please review. |
The proposed changes look great. I read the combined change sets, the new code, tested Forces and Motion: Basics and Balloons and Static Electricity. I discovered a few tangential issues which I'll reference below, but this issue is ready to close. |
In addition to #262 ...
At the top of
VerticalAquaRadioButtonGroup
:(1) Contrary to the first comment, there are no checkboxes involved here.
(2) Contrary to the first TODO, this module occurs 15 times, in 12 sims, including many that are published.
(3) The second TODO is essentially issue #30, created 10/28/13.
Labeling for discussion at developer meeting.
The text was updated successfully, but these errors were encountered: