NEAR-DevHub / neardevhub-treasury-dashboard

Frontend for Treasury Dashboard Product (includes DevHub, Infinex) + Testing front end. Note – we leverage Sputnik DAO contract.
MIT License
3 stars 0 forks source link

UX: Add "Refresh" data button #87

Open ori-near opened 1 month ago

ori-near commented 1 month ago

Background

Currently, our treasury app relies on other services for fetching data such as account balances. If a user is logged in with a previous cached session, they might not always see the latest data or changed they performed, unless they perform a hard refresh.

UX Need

We need to design a simple "Refresh" button to put on all pages. When a user clicks on it, it will force refresh the data, ensuring that users see the latest data.

Acceptance Criteria

FREZZZBE commented 1 month ago

Could we detect this event? When data is not loaded or not relevant?

FREZZZBE commented 1 month ago

@ori-near @Megha-Dev-19

I think its the best place for this button. What do you think? Image

Megha-Dev-19 commented 4 weeks ago

hey @FREZZZBE, to be honest it took me a while to look at that refresh button, and wasn't this supposed to be specific to dashboard page?

FREZZZBE commented 4 weeks ago

hey @FREZZZBE, to be honest it took me a while to look at that refresh button, and wasn't this supposed to be specific to dashboard page?

We had a problem only with dashboard?

I agree but you need to find it only once and i bealeve you need it in rare cases. Do you have any idear of better places? @Megha-Dev-19 @ori-near

ori-near commented 3 weeks ago

@FREZZZBE – I think this refresh button is a good solution for now, and we can revisit in the future based on feedback.

@Megha-Dev-19 – I think we need this button on all pages ... is that ok?

ori-near commented 1 week ago

@ori-near add the dev ticket: https://github.com/NEAR-DevHub/neardevhub-treasury-dashboard/issues/126