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

Implemented things by branch name, also: #14

Conversation

b0r1ngx
Copy link
Contributor

@b0r1ngx b0r1ngx commented Feb 28, 2024

  1. Created setContentDescription modifier that allows to set contentDescription on any used Modifier - as accessibility feature, suppossing that it may help to understand the UI architecture components on the screen more

Not tested how it would work for mines >999, or <-99, things that code logic is draw more digits, how much it needs

1) Created setContentDescription modifier that allows to set contentDescription on any used Modifier - as accessibility feature, suppossing that it may help to understand the UI architecture more
@b0r1ngx
Copy link
Contributor Author

b0r1ngx commented Feb 28, 2024

To understand how it looks like, attach few screenshots:
When start a game:
image

when user mark more than max of the mines:
image

@b0r1ngx
Copy link
Contributor Author

b0r1ngx commented Feb 28, 2024

@arkivanov Hello, please, check how it looks like!

1) decrease size of setSemantics, also rename in from setContentDescription

2) deprecate RemainingMines, create Counter, toCounterString

3) changes TODO idea
@b0r1ngx
Copy link
Contributor Author

b0r1ngx commented Feb 29, 2024

@arkivanov Hello, I'm made recommended changes, please, check how it looks like!

@b0r1ngx
Copy link
Contributor Author

b0r1ngx commented Mar 1, 2024

Let's rock it!

@arkivanov arkivanov merged commit 8aacbe8 into arkivanov:master Mar 1, 2024
1 check passed
@arkivanov
Copy link
Owner

Thank you!

@b0r1ngx
Copy link
Contributor Author

b0r1ngx commented Mar 1, 2024

Thank you!

Thank you too, for reviewing my code and making it better together!

Hope I will start implementing the stopwatch soon, I don't want to use additional dependencies (for educational purposes for me and project, if someone wants to research it)

Also I tried to go to wasm site from this repo, I also got amazed that you create a pipeline that automatically creates a build and publishes it to the site (you did a great work with this CI/CD)

I visit it from mobile android chrome browser, and can't click anything. is this wasm restriction for now? Or it just doesn't work because in the project clicks are used instead of touches?

@arkivanov
Copy link
Owner

Yeah, Wasm on Android chrome is pretty much broken currently. Also on any browser, all mouse clicks are recognised as left clicks.

@b0r1ngx b0r1ngx deleted the b0r1ngx/using-digit-icons-for-remaining-bombs branch March 14, 2024 14:52
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