Skip to content

Bug 2039562: Fix initial state flicker.#264

Open
pollym wants to merge 2 commits into
mozilla-firefox:autolandfrom
pollym:fix-flicker-and-ui-tests
Open

Bug 2039562: Fix initial state flicker.#264
pollym wants to merge 2 commits into
mozilla-firefox:autolandfrom
pollym:fix-flicker-and-ui-tests

Conversation

@pollym
Copy link
Copy Markdown
Contributor

@pollym pollym commented May 21, 2026

Also added some ui tests around the new game screen. The flicker is handled by alpha-ing out the components if they're null & it's not currently possible through the compose test apis to make assertions about the alpha state, so that part was verified visually, but we can check that the other behaviours of ui components are wired up as expected. Did a small refactor around this to hoist state and expose smaller more testable params to NewGameScreen.

Also added some ui tests around the new game screen. The flicker is handled by alpha-ing out the components if they're null & it's not currently possible through the compose test apis to make assertions about the alpha state, so that part was verified visually, but we can check that the other behaviours of ui components are wired up as expected. Did a small refactor around this to hoist state and expose smaller more testable params to NewGameScreen.
@github-actions
Copy link
Copy Markdown
Contributor

View this pull request in Lando to land it once approved.

Copy link
Copy Markdown

@mozilla-code-review mozilla-code-review Bot left a comment

Choose a reason for hiding this comment

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

1 issues have been found in this revision

# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

sdk=35 No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

File does not end with newline character

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

gosh

@pollym
Copy link
Copy Markdown
Contributor Author

pollym commented May 21, 2026

mozilla-code-review[bot]
mozilla-code-review Bot previously approved these changes May 21, 2026
@mozilla-code-review mozilla-code-review Bot dismissed stale reviews from themself May 22, 2026 09:04

This review is now deprecated.

@ma-javaqueen
Copy link
Copy Markdown

man this browser is going down hill fast

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