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

Do not support the masked appearance in numeric questions #6187

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

grzesiek2010
Copy link
Member

@grzesiek2010 grzesiek2010 commented Jun 12, 2024

Closes #6122

Why is this the best possible solution? Were any other approaches considered?

As discussed in the issue we should stop supporting the masked appearance in numeric questions as this is not easy to achieve because of Android limitations.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

This brings some more changes than just fixing the issue. We have decided that we should not support the masked appearance in numeric questions (integer/decimal) so now it will be available only for text questions (default text question/external text question/number text question).

Do we need any specific form for testing your changes? If so, please attach one.

The form from the issue.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have:

  • added or modified tests for any new or changed behavior
  • run ./gradlew connectedAndroidTest (or ./gradlew testLab) and confirmed all checks still pass
  • added a comment above any new strings describing it for translators
  • added any new strings with date formatting to DateFormatsTest
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

@grzesiek2010 grzesiek2010 marked this pull request as ready for review June 13, 2024 09:16
@grzesiek2010 grzesiek2010 requested a review from seadowg June 13, 2024 09:17
Copy link
Member

@seadowg seadowg left a comment

Choose a reason for hiding this comment

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

The fact that we end up testing this at the widget level and for Appearances is probably unnecessary, but it shouldn't block this. I can follow up.

@seadowg seadowg merged commit 9f5e202 into getodk:master Jun 17, 2024
6 checks passed
@WKobus
Copy link

WKobus commented Jun 19, 2024

In text numbers question same issue occurs as before in other number questions - answer entered in text field can be seen on android keyboard in landscape view.

@seadowg
Copy link
Member

seadowg commented Jun 19, 2024

I'd completely forgotten about text number widget! Could you file that as a separate issue please?

@WKobus
Copy link

WKobus commented Jun 20, 2024

Tested with success!

Verified on device with android 14

Verified cases:

@dbemke
Copy link

dbemke commented Jun 20, 2024

Tested with success!

Verified on device with android 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Answer entered in masked number questions can be seen on android keyboard in landscape view
4 participants