Skip to content

Notification tap should open the ticket and jump to the referenced comment or email #39

Description

@gajjug004

Tapping a notification in the notification drawer should open the ticket and scroll to the exact item the notification is about, not just dump the user at the top of the ticket.

Current behaviour

Tapping a notification either does nothing useful or opens a generic screen. The user then has to find the ticket, open it, and scroll through the whole conversation to find the new comment or email that triggered the notification.

Expected behaviour

  1. Tap notification -> ticket detail screen for that ticket opens directly.
  2. The activity/conversation list scrolls to the referenced item (the new comment, or the new email reply).
  3. That item is briefly highlighted so it is obvious what is new.
  4. Back from the ticket returns to wherever the user was, or to the ticket list if the app was cold-started from the notification.

Notes

  • Notification payload needs to carry both the ticket name and the target item (comment name / communication name) plus its type, so the detail screen can resolve the scroll position.
  • Handle both cases: app in background (existing task) and app cold start from a killed state.
  • If the referenced item cannot be found (deleted, or not in the first page of activity), fall back to opening the ticket at the latest activity instead of failing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions