Skip to content

[HOLD][Metrics] Optimize "Scan" page rendering (Camera FAB → Create expense w/ Scan) #83502

Closed
4 of 4 issues completed

Description

@Julesssss

Held on #85583

Problem

Navigating from the Camera FAB to the "Create expense w/ Scan" page feels sluggish. The rendering of the Scan page itself is a bottleneck in the overall create-expense-via-scan flow.

Goal

Profile and optimize the rendering of the Scan page to reduce the transition time from tapping the Camera FAB to the scan page being fully interactive (camera initialized and ready).

Plan:

  • Add sentry tracking spans for the flow
  • Build sentry dashboard
  • Deep investigation into problematic areas and anywhere we can reduce rendering time and improve app performence on web and mobile platforms

Related

Issue OwnerCurrent Issue Owner: @hungvu193

Activity

  1. self-assigned this
    on Feb 25, 2026
  2. Julesssss commented on Feb 25, 2026

    @Julesssss
    ContributorAuthor

    Note from marc that the permissions check could possibly be cached. It was taking ~100ms on iOS dev.

    Context: https://expensify.slack.com/archives/C03TBKRSB/p1772060029356039?thread_ts=1771887714.131779&cid=C03TBKRSB

  3. marcaaron commented on Feb 26, 2026

    @marcaaron
    Contributor

    Might be helpful to know that we do have a metric for this one:

    Image

    Query: span.op:ManualOpenCreateExpense iou_request_type:scan (os.name:iOS OR os.name:Android )

    But it does not tell us what the origin is e.g. did we get here from the Global Create? Or the Camera FAB? Not sure if that makes a huge difference in practice - but something that came to mind.

  4. Julesssss commented on Feb 27, 2026

    @Julesssss
    ContributorAuthor

    Created an issue here to add a tracking param for the source of the Create Expense flow.

    @rinej may be helping with improving this 👋 🎉

  5. 134 remaining items

  6. changed the title [-][HOLD][Metrics] Optimize "Scan" page rendering (Camera FAB → Create expense w/ Scan)[/-] [+][Due for payment 2026-07-16] [HOLD][Metrics] Optimize "Scan" page rendering (Camera FAB → Create expense w/ Scan)[/+] on Jul 9, 2026
  7. melvin-bot commented on Jul 9, 2026

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  8. melvin-bot commented on Jul 9, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.31-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-07-16. 🎊

    For reference, here are some details about the assignees on this issue:

    • @rinej does not require payment (Contractor)
  9. changed the title [-][Due for payment 2026-07-16] [HOLD][Metrics] Optimize "Scan" page rendering (Camera FAB → Create expense w/ Scan)[/-] [+][HOLD][Metrics] Optimize "Scan" page rendering (Camera FAB → Create expense w/ Scan)[/+] on Jul 9, 2026
  10. cristipaval commented on Jul 9, 2026

    @cristipaval
    Contributor

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.31-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-07-16. 🎊

    For reference, here are some details about the assignees on this issue:

    • @rinej does not require payment (Contractor)

    I've created this subissue for handling the payment for this PR

  11. Julesssss commented on Jul 13, 2026

    @Julesssss
    ContributorAuthor

    @cristipaval can we close this? your payment issue seems like the only thing remaining here

  12. cristipaval commented on Jul 14, 2026

    @cristipaval
    Contributor

    yes, let's close it Thanks!

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

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions