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

Demo Layout for TV #115

Closed
wants to merge 8 commits into from
Closed

Demo Layout for TV #115

wants to merge 8 commits into from

Conversation

luigi-rosso
Copy link
Contributor

This is another one for the demo branch. It addresses issue #95 and #104, and improves #96. Screenshots are posted in #95.

It adds a checkbox to the About screen that lets you enable a special layout for the TV.

This special/override layout does a few things:
Bumps font, image, icon sizes to make the more legible from afar on the 42 inch screen.
Bumps button heights.
Uses a different layout for the stats.
Centers and limits the width of the chomper minigame.

However, @neurowave and I have been discussing issue #111 this afternoon. We realized there might be an opportunity to move this special layout out of the demo branch and into master, but use different logic to trigger it. Maybe call it the ultrawide layout and only trigger it when the screen width is >= 1920. We didn't want to do this now as we thought the priority would be to get the demo in tip top shape, but like @efortuna states in #111 there are some desktops where this layout might look better (but we're not sure, maybe we wouldn't bump the fonts quite as much). Anyway, we thought we'd start the discussion here.

@efortuna
Copy link
Collaborator

efortuna commented May 3, 2019

ultrawide layout sgtm!

Copy link
Collaborator

@efortuna efortuna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with one issue

@@ -21,7 +21,8 @@ class TaskListItem extends StatelessWidget {
// completed (if there is one).
// This ensures that the BuildContext is still valid after
// the game completes.
switch (task.blueprint.miniGame) {
var game = MiniGame.sphinx;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems not intentional? debugging?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh shoot. Yes we were testing the end modal. Thanks @efortuna

@luigi-rosso luigi-rosso mentioned this pull request May 4, 2019
@luigi-rosso
Copy link
Contributor Author

I'm going to close this PR and integrate some of the changes from the ultrawide PR into demo branch.

@luigi-rosso luigi-rosso closed this May 4, 2019
@luigi-rosso luigi-rosso deleted the demo branch May 4, 2019 02:20
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