litentry / archived-litentry-mobile-app

GNU General Public License v3.0
73 stars 15 forks source link

Add polling + pull to refresh on motions and referendums #1315

Closed silva-fj closed 1 year ago

silva-fj commented 2 years ago

Since we are not using subscriptions to get the data from the chain, we need to make a more aggressive strategy to fetch data as it gets outdated quite easily.

Ekaanth commented 2 years ago

Would the data be indexed as soon as the transaction is made? Currently, as soon as the transaction is carried out, the refetch is invoked and that refetch is obtained from the graph.

silva-fj commented 2 years ago

Would the data be indexed as soon as the transaction is made? Currently, as soon as the transaction is carried out, the refetch is invoked and that refetch is obtained from the graph.

Normally it takes a few seconds to be indexed, but this is not related to refetching data after sending transactions

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.