question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create indicator to show content is syncing

See original GitHub issue

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


This project will add a syncing indicator to the User icon in order to show that the app is still refreshing with the most recent information.

You’ll use a pre-existing Onyx key to hook into the API loading state (relevant API information here) and display a syncing indicator on the User icon as per the Expected Results below.

Expected Result:

While the app is syncing, the small green availability indicator (AvatarWithIndicator) should grow in size and a small syncing icon should appear:

When the loading is complete, the icon should return to a regular green dot.

Actual Result:

Currently, there is no UI change when the app is syncing.

Action Performed:

  1. Install and log into the Expensify.cash mobile app
  2. Close the app and wait long enough that new information should need to sync
  3. Open the app to observe the behaviour that is occurring while syncing

Platform:

Where is this issue occurring?

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

Version Number: v.1.011 Logs: N/A Notes/Photos/Videos: Additional context from original issue: when I open up the mobile app it shows that I’m connected and shows all of the content downloaded locally which is great, but I always know I need to wait a couple seconds because it’s in the process of synchronizing down new content. It would be nice if it shows some kind of feedback indicating that it is in the process of actively reconnecting, so I know when I can stop waiting. I’m thinking some kind of animation around the Green Dot, or even just making the Green Dot blink or something. At this point the app is functional and you can click around, but its content is potentially out of date. I wouldn’t want to introduce additional seconds into the startup process while waiting to complete synchronization.

Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/159767

View all open jobs on Upwork

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
marcaaroncommented, May 5, 2021

We’re ready to go here.

1reaction
shawnbortoncommented, May 11, 2021

Oops, here is the icon you need: sync.svg.zip

Read more comments on GitHub >

github_iconTop Results From Across the Web

Displaying sync state - Atlassian Engineering
Essentially, you want to show the indicator in one of three states: Queued (indicator visible but not rotating); Syncing (indicator visible and ...
Read more >
Displaying a Sync Progress Indicator in an iOS app - Couchbase
To build the app server that will import the data from the Places API to Sync Gateway, you will use RxJS and Request....
Read more >
Instant synchronization of chart drawings - YouTube
Instant synchronization means all of your chart layouts, on all devices, tabs or windows, will now sync with each other.
Read more >
Synchronise Metatrader charts with the same symbol - YouTube
This video shows you an indicator that I use to synchronise multiple charts to the same currency and an alternate method in case...
Read more >
Progress indicators - Status - Human Interface Guidelines
Progress indicators let people know that your app isn't stalled while it loads content or performs lengthy operations.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found