Skip to content

Show new marker indicator while user is scrolled up! #4723

Closed

Description

@Santhosh-Sellavel

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


From conclusions based on this discussion! https://expensify.slack.com/archives/C01GTK53T8Q/p1628782470250300

Action Performed:

  1. Open any user chat window.
  2. Scroll up through the history
  3. When a new message arrives, a new messages badge is shown.
  4. Click the badge will scroll down, but there is no new marker indication above the new message received

Expected Result:

On scroll back below should show a new marker indicator like this, above a new message.

Simulator Screen Shot - iPhone 12 - 2021-08-18 at 13 11 11

Actual Result:

No indicator after scroll down.

Simulator.Screen.Recording.-.iPhone.12.-.2021-08-18.at.13.10.49.mp4

Workaround:

Can the user still use Expensify without this being fixed? Yes
It's an improvement.

Platform:

Where is this issue occurring? All

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:

View all open jobs on GitHub

Activity

  1. MelvinBot commented on Aug 18, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @cdraeger11 (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

  2. added and removed
    AutoAssignerTriageAuto assign issues for triage to an available triage team member
    on Aug 18, 2021
  3. Santhosh-Sellavel commented on Aug 22, 2021

    @Santhosh-Sellavel
    CollaboratorAuthor

    Updated Proposal

    A part of the solution is already discussed here #4357 (comment)

    From these lines

    // Since we want the New marker to remain in place even if newer messages come in, we set it once on mount.
    // We determine the last read action by deducting the number of unread actions from the total number.
    // Then, we add 1 because we want the New marker displayed over the oldest unread sequence.
    const oldestUnreadSequenceNumber = this.props.report.unreadActionCount === 0
    ? 0
    : (this.props.report.maxSequenceNumber - this.props.report.unreadActionCount) + 1;
    setNewMarkerPosition(this.props.reportID, oldestUnreadSequenceNumber);

    A method updateUnreadIndicatorPosition will be created.
    Screenshot 2021-08-23 at 12 45 28 AM

    Waiting for PR #4773 to merge, will update the complete proposal again. Because the PR is related to markerBadge.
    Based on the confirmation from here need to reuse logic from @parasharrajat work!

    Changes been merged:

    Invoking the updateUnreadIndicatorPosition from the below lines,

    updateLocalUnreadActionCount() {
    this.setState(prevState => ({localUnreadActionCount: prevState.localUnreadActionCount + this.props.report.unreadActionCount}));
    }

    Like shown below,
    Screenshot 2021-08-26 at 3 11 30 AM

  4. MelvinBot commented on Aug 23, 2021

    @MelvinBot
    Contributor

    @cdraeger11 Huh... This is 4 days overdue. Who can take care of this?

  5. MelvinBot commented on Aug 25, 2021

    @MelvinBot
    Contributor

    @cdraeger11 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

  6. MelvinBot commented on Aug 27, 2021

    @MelvinBot
    Contributor

    @cdraeger11 Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

  7. botify commented on Aug 30, 2021

    @botify

    ✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

  8. botify commented on Aug 30, 2021

    @botify
  9. botify commented on Aug 30, 2021

    @botify
  10. botify commented on Aug 30, 2021

    @botify
  11. 153 remaining items

  12. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to production by @francoisl in version: 1.0.98-1 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  13. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to production by @francoisl in version: 1.0.98-1 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  14. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to production by @francoisl in version: 1.0.98-1 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  15. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to production by @francoisl in version: 1.0.98-1 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  16. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to production by @francoisl in version: 1.0.98-1 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  17. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to production by @francoisl in version: 1.0.98-1 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  18. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to production by @francoisl in version: 1.0.98-1 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  19. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to staging by @francoisl in version: 1.0.98-2 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  20. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to staging by @Beamanator in version: 1.0.98-2 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  21. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to staging by @HorusGoul in version: 1.0.98-2 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  22. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to staging by @chiragsalian in version: 1.0.98-2 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  23. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to staging by @marcaaron in version: 1.0.98-2 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  24. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to staging by @iwiznia in version: 1.0.98-2 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
  25. botify commented on Sep 15, 2021

    @botify

    🚀 Deployed to staging by @ctkochan22 in version: 1.0.98-3 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 success ✅
    🕸 web 🕸 success ✅
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions