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 #4764: Spotlight overlays have some UI issues #4763

Merged

Conversation

JishnuGoyal
Copy link
Contributor

@JishnuGoyal JishnuGoyal commented Nov 24, 2022

Explanation

fixes #4764
Updated video demo:

spotlightdemo.mp4

Updated screenshots:

WhatsApp Image 2022-11-26 at 5 07 26 PM (1)
WhatsApp Image 2022-11-26 at 5 07 26 PM
WhatsApp Image 2022-11-26 at 5 07 25 PM (1)
WhatsApp Image 2022-11-26 at 5 07 25 PM

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

Portrait

WhatsApp Image 2022-11-25 at 10 28 03 PM (1)
WhatsApp Image 2022-11-25 at 10 28 03 PM
WhatsApp Image 2022-11-25 at 10 28 04 PM (1)
WhatsApp Image 2022-11-25 at 10 28 04 PM (2)
WhatsApp Image 2022-11-25 at 10 28 04 PM
WhatsApp Image 2022-11-25 at 10 28 05 PM
WhatsApp Image 2022-11-25 at 10 31 51 PM

Land:

WhatsApp Image 2022-11-25 at 10 35 15 PM
WhatsApp Image 2022-11-25 at 10 35 16 PM (1)
WhatsApp Image 2022-11-25 at 10 35 16 PM (2)
WhatsApp Image 2022-11-25 at 10 35 16 PM
WhatsApp Image 2022-11-25 at 10 35 17 PM (1)
WhatsApp Image 2022-11-25 at 10 35 17 PM

mobile rtl:
WhatsApp Image 2022-11-25 at 10 44 58 PM
WhatsApp Image 2022-11-25 at 10 44 59 PM (1)
WhatsApp Image 2022-11-25 at 10 44 59 PM (2)
WhatsApp Image 2022-11-25 at 10 44 59 PM
WhatsApp Image 2022-11-25 at 10 45 00 PM (1)
WhatsApp Image 2022-11-25 at 10 45 00 PM (2)
WhatsApp Image 2022-11-25 at 10 45 00 PM

Tablet:
image
image
image
image
image
image

Video (spotlight experience):

WhatsApp.Video.2022-11-25.at.10.58.53.PM.mp4

Video (Talkback):

WhatsApp.Video.2022-11-25.at.11.02.41.PM.mp4

@JishnuGoyal JishnuGoyal changed the title Fix spotlight issues Fix #4764: Spotlight overlays have some UI issues Nov 25, 2022
@JishnuGoyal
Copy link
Contributor Author

JishnuGoyal commented Nov 25, 2022

Update: All done.

tasks left: Add screenshots and videos demonstrating the behaviour and UI of the spotlights introduced.

Copy link
Sponsor 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 @JishnuGoyal! I think it looks much better! I have a few comments, but besides that the alignment of text looks a bit off, ditto for the new x button: can we keep the top of the x button aligned with the text? Also, the text top and bottom margins relative to the background should always be the same (sometimes it seems like one is larger than the other in your pictures).

@oppiabot
Copy link

oppiabot bot commented Nov 25, 2022

Unassigning @BenHenning since the review is done.

@oppiabot
Copy link

oppiabot bot commented Nov 25, 2022

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

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.

Awesome work @JishnuGoyal Thanks.

@rt4914 rt4914 removed their assignment Nov 26, 2022
@JishnuGoyal JishnuGoyal assigned rt4914 and BenHenning and unassigned JishnuGoyal Nov 26, 2022
@JishnuGoyal
Copy link
Contributor Author

Thanks! @rt4914 and @BenHenning. FYI i have updated the UI as requested and addressed the review comments. This PR is getting a bit time sensitive so i have updated everything to the best of my knowledge. PTAL.

@rt4914
Copy link
Contributor

rt4914 commented Nov 26, 2022

#4763 (comment)
-> Don't have much context about it so haven't been able to help to resolve the comment.

#4763 (comment)
-> LGTM from my side.

@rt4914 rt4914 removed their assignment Nov 26, 2022
Copy link
Sponsor 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 @JishnuGoyal. Just two follow-ups--PTAL. Otherwise, the PR LGTM.

model/src/main/proto/spotlight.proto Show resolved Hide resolved
app/src/main/res/values/strings.xml Outdated Show resolved Hide resolved
model/src/main/proto/spotlight.proto Outdated Show resolved Hide resolved
Copy link
Sponsor 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, LGTM!

@BenHenning BenHenning enabled auto-merge (squash) November 27, 2022 04:47
@oppiabot
Copy link

oppiabot bot commented Nov 27, 2022

Unassigning @BenHenning since they have already approved the PR.

@oppiabot oppiabot bot added the PR: LGTM label Nov 27, 2022
@BenHenning BenHenning merged commit 5c6af2c into oppia:develop Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spotlight overlays have some UI issues
4 participants