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

Generalize Joist Buttons with Highlighting #182

Closed
samreid opened this issue Nov 13, 2014 · 9 comments
Closed

Generalize Joist Buttons with Highlighting #182

samreid opened this issue Nov 13, 2014 · 9 comments
Assignees

Comments

@samreid
Copy link
Member

samreid commented Nov 13, 2014

In #177 @pixelzoom pointed out that the new PhetButton could be generalized to support the other highlighting button types. More work will be necessary to handle those cases since they are actually radio buttons, and the home screen buttons also change size. But I'll look into it.

@pixelzoom
Copy link
Contributor

The buttons on the home screen are not part of this generalization. The home button on the navbar is.

@pixelzoom
Copy link
Contributor

@samreid since you said "I'll look into it", I've assigned this to you. Feel free to unassign if you'd rather have someone else look at it.

@samreid
Copy link
Member Author

samreid commented Nov 13, 2014

Sounds good, thanks!

@samreid
Copy link
Member Author

samreid commented Nov 13, 2014

I have 231 open issues assigned to me now: https://github.com/issues?q=is%3Aissue+author%3Asamreid+is%3Aopen

😄

EDIT: The link above is issues I authored. For issues assigned to me it is https://github.com/issues?q=is%3Aissue+assignee%3Asamreid+is%3Aopen and only in the eighties. Whew!

@pixelzoom
Copy link
Contributor

And looks like you opened the majority of them :-)

@samreid
Copy link
Member Author

samreid commented Nov 13, 2014

I created JoistButton and generalized it to support HomeButton and PhetButton above. @pixelzoom can you take a look and give feedback?

@pixelzoom
Copy link
Contributor

This looks good. I changed the order of JoistButton constructor params, seemed like 'content' is most important, so should be first.

Assigning back to @samreid. Proceed with using JoistButton for NavigationBarScreenButton at your convenience.

@pixelzoom pixelzoom assigned samreid and unassigned pixelzoom Nov 13, 2014
@samreid
Copy link
Member Author

samreid commented Nov 13, 2014

That is a good move to put content first, thanks! I'll close this issue and create a new issue about the radio buttons.

@samreid
Copy link
Member Author

samreid commented Nov 13, 2014

I created a new issue in #183 and let's close this one.

@samreid samreid closed this as completed Nov 13, 2014
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

No branches or pull requests

2 participants