-
Notifications
You must be signed in to change notification settings - Fork 528
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
For few of the questions in explorations the hints provided are numbered randomly #4343
Comments
Ah, I was aware of this but I don't think we had an issue to track it--thanks @KolliAnitha. The problem here is that we're currently use the content ID of the hint as its header which is incorrect. We should instead be numbering the headers in a localization-friendly way. I think this is a good starter issue material, but marking it as a 'second issue' since the APIs for localization can be a bit tricky to learn. |
For searching context, this issue was found in 0.7-alpha (MR4). |
I cannot seem to find the hint text in the issue in the release assets folder. Suggestion: This issue may just be fine the way it is, or the hint numbering in the JSON files is needed. |
@Ryggs this issue isn't fine the way it is because learners will encounter hint numbers that don't make sense to them. This comes from the fact that we're using the content IDs today for the hint name header, but content IDs are never meant to be shown to the user (so there's nothing to actually change in the lessons themselves). We should, instead, be displaying the hint number based on which hint it is, rather than based on its content ID. |
* fix: explorations hints numbered randomly * remove the nullable property part from OppiaLocale on the toHumanReadable mehtod * change hint name to hint_list_item_number * fix: name hint strng, remove nullanle factor from the toHumanReadableString including removing the .toString() method, compute index property inline, add three tests * fix: revert formating changes, test wit non english number localization, test for values larger than 10,000 * fix: optimise imports * fix: change test to hebrew locale * fix: test toHumanReadableString to take hebrew number locale * fix: test toHumanReadableString to take EgyptArabic number locale * fix: test toHumanReadableString to take EgyptArabic number locale in displayLoacleImpl * fix: remove unused code and verify test success with suugested fix * Fix: revert back to hint_1, to test the breaking tests * Fix: revert back to hint_1, in test_exp_id_2.json file (gradle) * Fix: revert back to hint_6 in textproto * Fix: add hint_6 to translation mappings Co-authored-by: MAZAKPE <[email protected]>
Describe the bug
For few of the questions in explorations the hints provided are numbered randomly
To Reproduce
Steps to reproduce the behavior:
*Expected behavior
Hint 1 should be displayed instead of hint 6
Actual Result:
Hint 6 is seen
Environment
Device name: One plus Nord2 5G
Android version : Android 11
App version : 0.7-alpha-d1b2827517
The text was updated successfully, but these errors were encountered: