-
Notifications
You must be signed in to change notification settings - Fork 527
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
Fix #5136: Modifies all caps buttons to sentence case #5157
Fix #5136: Modifies all caps buttons to sentence case #5157
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @the-mr17!
- Could you please verify that all buttons are in sentense case? To do that, you need to add some screenshots to this PR. See this PR for example, and the linked PR also contains some sample dialogs that need to be edited too.
- Per ypur CI results,
testStateFragment_nextState_viewShowSolutionDialog_clickCancel_canViewShowSolution
is failing. Looks like the updated text case does not match the expected text in the test, so you need to update the test. See wiki for help inetpreting CI results. - Some buttons are hidden behind platform parameters, and to make sure you don't miss any, please perform a blanket search for "button"(CTRL+SHIFT+F).
Unassigning @adhiamboperes since the review is done. |
Hi @the-mr17, it looks like some changes were requested on this pull request by @adhiamboperes. PTAL. Thanks! |
Thanks @adhiamboperes, I am looking into it. But, I cannot find the linked PR. |
Sorry, please see : #4946 |
@adhiamboperes Do I need to edit those dialog buttons in PR #4946 ? (for eg, OK, CANCEL, etc.). According to the figma layouts those all dialog buttons are in all caps. |
@jlevick, could you please weigh in here? |
@adhiamboperes @the-mr17 these should not be in all-caps. They should be sentence case: Ok, Cancel, etc. |
Hi @adhiamboperes, I have done the following changes, please have a look.
I have changed the dialog buttons on PR #4946 to sentence case. I have also added some screenshots on the PR message above.
I have updated the test to match the updated text case with the expected text case in the test.
I performed a blanket search for "button" but did not find anything that needs to be changed related to this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have found from your screenshots that profile_rename_save_button
is in all lowercase instead of sentence case.
The exit profile dialog(nav drawer -> switch profile) is still in all caps. So are the start over and continue lesson buttons in the resume lesson fragment. audio_language_select_dialog_okay_button
is also still in all caps.
Unassigning @adhiamboperes since the review is done. |
Hi @the-mr17, it looks like some changes were requested on this pull request by @adhiamboperes. PTAL. Thanks! |
@adhiamboperes I have done the above mentioned changes. Here are screenshots for the same. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @the-mr17. LGTM.
Hi @the-mr17, this PR is ready to be merged. Please address any remaining comments prior to merging, and feel free to ask someone to merge your PR once the CI checks pass and you're happy with it. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@the-mr17 could you please fix the failing tests? See https://github.com/oppia/oppia-android/wiki/Interpreting-CI-Results
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @the-mr17. This LGTM.
Hi @the-mr17, this PR is ready to be merged. Please address any remaining comments prior to merging, and feel free to ask someone to merge your PR once the CI checks pass and you're happy with it. Thanks! |
Explanation
Fixes #5136
This PR changes all caps buttons to sentence case. All buttons mentioned in this comment are changed either by directly changing its
android:textAllCaps
tofalse
in the layout files or by changing its style in thestyles.xml
file.Essential Checklist
For UI-specific PRs only
If your PR includes UI-related changes, then:
Screenshots
layout
activity_input_interaction_view_test.xml
submit_button
add_profile_activity.xml
add_profile_activity_create_button
admin_auth_activity.xml
admin_auth_submit_button
admin_pin_activity.xml
submit_button
concept_card_fragment_test_activity.xml
open_dialog_0
open_dialog_1
exploration_test_activity.xml
play_exploration_button
hint_summary.xml
reveal_hint_button
math_expression_parser_fragment.xml
parse_math_expression_button
onboarding_slide_final.xml
get_started_button
profile_list_control_buttons.xml
learner_analytics_share_ids_and_events_button
learner_analytics_upload_logs_now_button
profile_rename_fragment.xml
profile_rename_save_button
profile_reset_pin_fragment.xml
profile_reset_save_button
replay_button_item.xml
replay_button
return_to_lesson_button_item.xml
return_to_lesson_button
return_to_topic_button_item.xml
return_to_topic_button
solution_summary.xml
show_solution_button
state_fragment_test_activity.xml
play_test_exploration_button
submit_button_item.xml
submit_answer_button
topic_practice_footer_view.xml
topic_practice_start_button
walkthrough_welcome_fragment.xml
walkthrough_welcome_next_button
layout-land
onboarding_slide_final.xml
get_started_button
walkthrough_welcome_fragment.xml
walkthrough_welcome_next_button
layout-sw600dp-land
onboarding_slide_final.xml
get_started_button
layout-sw600dp-port
onboarding_slide_final.xml
get_started_button