Open L03TJ3 opened 3 months ago
@sirpy @decentralauren can both of you verify the TBD's and provide feedback?
[x] - how many 'recent-claims' do we want to show? Wallet: all Dapp: 10
[x] - should the try again button show additional modal/copy before doing the claim. eg. instructing a user to maybe make sure it has enough gas? other things to consider (to prevent someone keep re-doing a transaction, failed transactions cost gas too) This is a great idea. I'll work with @sanajamm to mock something up. Are we able to indicate why the transaction failed either on this card or on the transaction detail page (receipt)?
@decentralauren sometimes but not always as there can be a variety reasons why it might have failed. some have proper error context returned, others dont.
I was just thinking about something generic with most common 'keep-in-mind when retrying this' copy to keep it simple
@L03TJ3 added a "try again" confirmation modal. Great call
Business Description
After a user has claimed we want to show a list of recent claims
Detailed Description of Functionality
A user has claimed, and the claim-screen update to its post-claim state. This includes a list of recent claims. The recent-claims list is a list of the all the claims done in the last 30 days.
Technical Implementation
Design Reference:
reference: https://www.figma.com/file/ihw1PxBvLxacTHnN2aj4lC/3.-Product?type=design&node-id=12954-42103&mode=dev
Preview-recent claim list UI:![image](https://github.com/GoodDollar/GoodWeb3-Mono/assets/6606028/2afa6eff-2339-4747-bc24-ae2b352093c6)
(keep-in-mind modal)![image](https://github.com/GoodDollar/GoodWeb3-Mono/assets/6606028/66d6c494-0060-4154-b147-a107bf5e138f)
Acceptance Criteria
Specify criteria that will be used to determine if the feature meets the requirements and functions correctly.