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 #2825: Added label for profile rename activity #2928

Closed
wants to merge 9 commits into from
Closed

Fix #2825: Added label for profile rename activity #2928

wants to merge 9 commits into from

Conversation

justdvnsh
Copy link
Contributor

Explanation

Fix #2825 Added label for profile rename activity to read the title "Profile Rename Activity" when talkback is on

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.

@justdvnsh
Copy link
Contributor Author

@prayutsu @rt4914 PTAL

Copy link
Contributor

@prayutsu prayutsu left a comment

Choose a reason for hiding this comment

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

@justdvnsh Generally LGTM, just suggested a few nit changes and fix the newly added test case.

@prayutsu
Copy link
Contributor

@justdvnsh Also please go through our Guidance On Submitting A PR once.
And please address the conversation comments by replying "Done" if you have made the change. Also, go through our Instructions for making a Code changeand please choose a good name for future PRs as per the instructions.

Thanks!

@justdvnsh
Copy link
Contributor Author

@prayutsu Sure I'll keep that in mind. For the PR name , I was following the reference PR which was mentioned in the issue.

@prayutsu
Copy link
Contributor

@justdvnsh Thanks for addressing all the comments, you can now resolve all conversations initiated by me.
And your PR name is perfect, I am just emphasizing the branch name e.g. the branch name in the reference PR is - a11y-faq-list and we use the acronym a11y for accessibility so it is a good example.

Copy link
Contributor

@prayutsu prayutsu left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks @justdvnsh
Just had one doubt for @rt4914 , is it okay to use the existing string @profile_rename_title or a new one for the label should be created?

@rt4914 rt4914 assigned rt4914 and unassigned justdvnsh Mar 17, 2021
Copy link
Contributor

@rt4914 rt4914 left a comment

Choose a reason for hiding this comment

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

@justdvnsh Suggested changes. PTAL

@rt4914 rt4914 assigned justdvnsh and unassigned rt4914 Mar 17, 2021
@rt4914 rt4914 assigned rt4914 and unassigned justdvnsh Mar 18, 2021
Copy link
Contributor

@rt4914 rt4914 left a comment

Choose a reason for hiding this comment

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

Suggested nit change.

@rt4914 rt4914 assigned justdvnsh and unassigned rt4914 Mar 18, 2021
Copy link
Contributor

@rt4914 rt4914 left a comment

Choose a reason for hiding this comment

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

@justdvnsh Suggested nit change.

@rt4914 rt4914 assigned BenHenning and unassigned justdvnsh Mar 19, 2021
Copy link
Contributor

@rt4914 rt4914 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@justdvnsh
Copy link
Contributor Author

@rt4914 the tests are failing ? Just by adding a single space ? What is that about ??

@rt4914
Copy link
Contributor

rt4914 commented Mar 19, 2021

@rt4914 the tests are failing ? Just by adding a single space ? What is that about ??

@justdvnsh Its not because of space. I am inspecting the code to know the reason of failure.

Also in future PRs please use small characters and - only for branch names.

@justdvnsh
Copy link
Contributor Author

@rt4914 Yep, it passed now.

Sure. Will keep in mind from future PR's

Copy link
Member

@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

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

Thanks @justdvnsh! Just had one nit. PTAL.

)
)

val title = activityTestRule.activity.title
Copy link
Member

Choose a reason for hiding this comment

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

Please add a comment above this like the one listed here to provide some context about what this check is attempting to do.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

PTAL

Copy link
Contributor

Choose a reason for hiding this comment

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

@justdvnsh The comment that you added does not match with the one mentioned in the reference. Please use same comment for better clarity and consistency.

@rt4914 rt4914 assigned BenHenning and unassigned justdvnsh Mar 24, 2021
Copy link
Member

@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

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

Thanks @justdvnsh. I think something might have gone wrong with the commit history in the latest commit--PTAL at my comment.

application = ProfileRenameActivityTest.TestApplication::class,
qualifiers = "port-xxhdpi"
)
class ProfileRenameActivityTest {
Copy link
Member

Choose a reason for hiding this comment

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

@justdvnsh it appears the entire file has been changed. Did you by any chance upload the file using Windows line endings? We generally use Unix line endings everywhere (e.g. rather than ). I suggest looking at https://stackoverflow.com/questions/2517190/how-do-i-force-git-to-use-lf-instead-of-crlf-under-windows if you are using Windows.

We don't want to mark the entire file as changed in this way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@BenHenning Sure. I'll make sure to fix this issue by today itself.

@BenHenning
Copy link
Member

@justdvnsh are you still working on this issue?

@justdvnsh
Copy link
Contributor Author

@BenHenning Yeah. Sorry, I was not as regular to this as usual. Actually, was trying out few things for the feature I want to work on in my proposal. But I'll make sure to fix this by today

@justdvnsh
Copy link
Contributor Author

@BenHenning @rt4914 Created a new PR here.

#3029

@prayutsu prayutsu closed this Mar 30, 2021
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.

[A11y] Add label for ProfileRenameActivity
4 participants