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

Fix part of #2637: Added accessibilty label to the RevisionCardActivity #3009

Conversation

jonathanalvares9009
Copy link
Contributor

Whenever RevisionCardActivity was clicked it used to say Oppia instead changed it to Skill page.
Fixes part of #2637

Explanation

Checklist

  • The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • The PR explanation includes the words "Fixes #bugnum: ..." (or "Fixes part of #bugnum" if the PR only partially fixes an issue).
  • The PR follows the style guide.
  • The PR does not contain any unnecessary auto-generated code from Android Studio.
  • The PR is made from a branch that's not called "develop".
  • The PR is made from a branch that is up-to-date with "develop".
  • The PR's branch is based on "develop" and not on any other branch.
  • The PR is assigned to an appropriate reviewer in both the Assignees and the Reviewers sections.

@jonathanalvares9009
Copy link
Contributor Author

@rt4914 can you review this PR?

// correct string when it's read out.
assertThat(title).isEqualTo(context.getString(R.string.revision_card_activity_title))
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

@jonathanalvares9009 EOF is missing here, please add a blank line at the end of RevisionCardActivityTest

Copy link
Contributor

@MaskedCarrot MaskedCarrot left a comment

Choose a reason for hiding this comment

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

@jonathanalvares9009 just a small NIT, everything else looks good to me.

Comment on lines 160 to 161
android:theme="@style/OppiaThemeWithoutActionBar" />
android:theme="@style/OppiaThemeWithoutActionBar"
android:label="@string/revision_card_activity_title"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

This requires reformatting. Use ctrl+alt+L to reformat.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When I try to reformat the file, it changes a lot of lines should I do or leave it.

Copy link
Contributor

@MaskedCarrot MaskedCarrot Mar 25, 2021

Choose a reason for hiding this comment

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

@jonathanalvares9009 here we only need to add a space to the last line, i.e we need to change the last line to android:label="@string/revision_card_activity_title" />

Copy link
Contributor

Choose a reason for hiding this comment

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

@rt4914 will it be okay to format the entire AndroidManifest.xml here as it changes a lot of unrelated code?

@MaskedCarrot
Copy link
Contributor

@jonathanalvares9009 we will have to close this PR because force push tampers with the commit history. You can create a new PR for this issue
you can read more about this in the wiki https://github.com/oppia/oppia-android/wiki#address-review-comments-until-all-reviewers-give-lgtm-looks-good-to-me

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