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 #3585: Merge topic_practice_header_view.xml into single xml file. #4159

Merged
merged 14 commits into from
Apr 12, 2022

Conversation

ishant904
Copy link
Contributor

@ishant904 ishant904 commented Feb 7, 2022

Fixes #3585
Deleted phone landscape xml and tablet potrait xml.

Essential Checklist

  • The PR title and explanation each start with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • Any changes to scripts/assets files have their rationale included in the PR explanation.
  • The PR follows the style guide.
  • The PR does not contain any unnecessary code changes from Android Studio (reference).
  • The PR is made from a branch that's not called "develop" and is up-to-date with "develop".
  • The PR is assigned to the appropriate reviewers (reference).

For UI-specific PRs only

If your PR includes UI-related changes, then:

  • Add screenshots for portrait/landscape for both a tablet & phone of the before & after UI changes
  • For the screenshots above, include both English and pseudo-localized (RTL) screenshots (see RTL guide)
  • Add a video showing the full UX flow with a screen reader enabled (see accessibility guide)
  • Add a screenshot demonstrating that you ran affected Espresso tests locally & that they're passing
Old SS New SS
Screenshot_1644149313 Screenshot_1645539729
Screenshot_1644151993 Screenshot_1645539736
Screenshot_1644154110 Screenshot_1645539748
Screenshot_1644154116 Screenshot_1645539753

@ishant904
Copy link
Contributor Author

@rt4914 i have merged the landscape xmls for phone and tablet, and now it has 2 xml versions. To merge it to one xml, I think we might need to replace framelayout to constraint and take care of layout gravity. Let me know your thoughts.

@ishant904
Copy link
Contributor Author

@rt4914 @yash10019coder please do review this and let me know your thoughts

Copy link
Contributor

@yash10019coder yash10019coder left a comment

Choose a reason for hiding this comment

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

@ishant904 left some comments PTAL thanks and also fix the failing tests maybe by updating the branch with the laetest develop

@@ -37,4 +37,4 @@
app:layout_constraintTop_toBottomOf="@+id/master_skills_text_view" />
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>
</layout>
</layout>
Copy link
Contributor

Choose a reason for hiding this comment

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

please add a new line here for end of file

Copy link
Contributor

Choose a reason for hiding this comment

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

a gentle reminder


<TextView
android:id="@+id/master_skills_text_view"
style="@style/Heading2ViewStart"
android:layout_marginEnd="88dp"
Copy link
Contributor

Choose a reason for hiding this comment

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

why you have removed this margin end?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yash10019coder not sure if we need it. There is nothing to the right of the textview.

Copy link
Contributor

Choose a reason for hiding this comment

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

please don't remove it , it is required for RTL support

Copy link
Contributor

Choose a reason for hiding this comment

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

still left todo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i think i have already added it in dimens file.

Copy link
Contributor

Choose a reason for hiding this comment

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

okay

@oppiabot
Copy link

oppiabot bot commented Feb 12, 2022

Hi @ishant904, it looks like some changes were requested on this pull request by @yash10019coder. PTAL. Thanks!

@yash10019coder
Copy link
Contributor

yash10019coder commented Feb 14, 2022

@ishant904 please merge with latest develop and also resolve the merge confilcts.

Copy link
Contributor

@yash10019coder yash10019coder left a comment

Choose a reason for hiding this comment

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

Hi @ishant904 left some comments PTAL thanks


<TextView
android:id="@+id/master_skills_text_view"
style="@style/Heading2ViewStart"
android:layout_marginEnd="88dp"
Copy link
Contributor

Choose a reason for hiding this comment

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

please don't remove it , it is required for RTL support

@@ -37,4 +37,4 @@
app:layout_constraintTop_toBottomOf="@+id/master_skills_text_view" />
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>
</layout>
</layout>
Copy link
Contributor

Choose a reason for hiding this comment

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

a gentle reminder

@oppiabot
Copy link

oppiabot bot commented Feb 14, 2022

Unassigning @yash10019coder since the review is done.

@oppiabot
Copy link

oppiabot bot commented Feb 14, 2022

Hi @ishant904, it looks like some changes were requested on this pull request by @yash10019coder. PTAL. Thanks!

@ishant904 ishant904 changed the title Fix #3585: Merge topic_prctice_heder_view.xml into sigle xml file. Fix #3585: Merge topic_practice_header_view.xml into single xml file. Feb 14, 2022
@ishant904
Copy link
Contributor Author

@yash10019coder please do review and let me know on further changes.

@rt4914 rt4914 assigned yash10019coder and unassigned ishant904 Feb 15, 2022
@oppiabot
Copy link

oppiabot bot commented Feb 22, 2022

Hi @ishant904, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue.
If you are still working on this PR, please make a follow-up commit within 3 days (and submit it for review, if applicable). Please also let us know if you are stuck so we can help you!

@oppiabot oppiabot bot added stale Corresponds to items that haven't seen a recent update and may be automatically closed. and removed stale Corresponds to items that haven't seen a recent update and may be automatically closed. labels Feb 22, 2022
@ishant904
Copy link
Contributor Author

@rt4914 @yash10019coder i have merged the layout xml. please do review it.

@rt4914 rt4914 assigned rt4914 and yash10019coder and unassigned ishant904 Mar 1, 2022
@ishant904
Copy link
Contributor Author

@rt4914 @yash10019coder PTAL

@rt4914
Copy link
Contributor

rt4914 commented Mar 7, 2022

Un-assigning until @yash10019coder approves it.

@rt4914 rt4914 removed their assignment Mar 7, 2022
@ishant904
Copy link
Contributor Author

Hi @rt4914 @yash10019coder please review this and merge it if everything looks good. I am looking forward to get onboarded and work on my gsoc proposal asap. Thanks!!

Copy link
Contributor

@yash10019coder yash10019coder left a comment

Choose a reason for hiding this comment

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

@ishant904 please reply to all the comments thanks

Copy link
Contributor

@yash10019coder yash10019coder left a comment

Choose a reason for hiding this comment

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

@ishant904 left some comments PTAL thanks


<TextView
android:id="@+id/master_skills_text_view"
style="@style/Heading2ViewStart"
android:layout_marginEnd="88dp"
Copy link
Contributor

Choose a reason for hiding this comment

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

still left todo

@ishant904
Copy link
Contributor Author

@yash10019coder let me know on any other changes

@rt4914
Copy link
Contributor

rt4914 commented Mar 24, 2022

@yash10019coder PTAL

@ishant904
Copy link
Contributor Author

@yash10019coder PTAL. Thanks

Copy link
Contributor

@yash10019coder yash10019coder left a comment

Choose a reason for hiding this comment

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

Hi @ishant904 sorry for the delay, your PR looks good to me, thanks for this contribution.
@rt4914 you can now review the additional constraint layout part earlier I thought why this, but it is achieving the same results in a better way now thanks.


<TextView
android:id="@+id/master_skills_text_view"
style="@style/Heading2ViewStart"
android:layout_marginEnd="88dp"
Copy link
Contributor

Choose a reason for hiding this comment

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

okay

@oppiabot
Copy link

oppiabot bot commented Mar 29, 2022

Unassigning @yash10019coder since they have already approved the PR.

@oppiabot
Copy link

oppiabot bot commented Mar 29, 2022

Assigning @rt4914 for code owner reviews. Thanks!

@ishant904
Copy link
Contributor Author

@yash10019coder thanks for approving. @rt4914 please do review the PR.

@ishant904
Copy link
Contributor Author

@rt4914 please do review it and let me know on any changes.

@oppiabot
Copy link

oppiabot bot commented Apr 11, 2022

Hi @ishant904, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue.
If you are still working on this PR, please make a follow-up commit within 3 days (and submit it for review, if applicable). Please also let us know if you are stuck so we can help you!

@oppiabot oppiabot bot added the stale Corresponds to items that haven't seen a recent update and may be automatically closed. label Apr 11, 2022
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

@oppiabot oppiabot bot removed the stale Corresponds to items that haven't seen a recent update and may be automatically closed. label Apr 12, 2022
@rt4914 rt4914 merged commit b75c9ea into oppia:develop Apr 12, 2022
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.

Merge topic_practice_header_view.xml into single xml file
3 participants