-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement left and right arrow adjustments of timebox #1010
Comments
@ecurrencyhodler , I have Implemented this functionality with mock bounty data, during my implementation of the page , I have tested this. |
@ecurrencyhodler Follow up on the this task have completed most of the work just have to fix some minor bugs, will finish this soon , a video is attached for the reference , I have also incorporated a loader for the table |
Thanks! Looks good so far. It looked like you had to click on the arrow for the site to update again after you selected 30 days. But that should be addressed in #1008 |
@ecurrencyhodler I have fixed that as well |
…nts of timebox and date filters (#1223) * feat(issue #1010):Implement left and right arrow adjustments of timebox * fix(#1008):datefilters ui * fix(#1008):prettier * fix(#1008):updated test * PR fix * fix SuperAdminHeader.spec * fix attempt statistics test * fix attempt statistics test * fix for test * test fix * test fix * header test fix * prettier * header test fix * header test fix * test fix * header test * test fix * test fix * superadmin header test fix * final test fix * tested expected behaviour for stats
Closed by #1223 |
…nts of timebox and date filters (#1223) * feat(issue #1010):Implement left and right arrow adjustments of timebox * fix(#1008):datefilters ui * fix(#1008):prettier * fix(#1008):updated test * PR fix * fix SuperAdminHeader.spec * fix attempt statistics test * fix attempt statistics test * fix for test * test fix * test fix * header test fix * prettier * header test fix * header test fix * test fix * header test * test fix * test fix * superadmin header test fix * final test fix * tested expected behaviour for stats
Once a date range is selected on the top right through the "last 7 days" button, the left and right arrow will help me quickly jump forward or backward in dates by using the same date range criteria.
Use moments to do pagination between dates. Functions to subtract or add from both start and end date:
The .unix() ending automatically converts the date into unix timestamp. This then gets sent to the backend through this call: metrics/bounty_stats
This affects not just the stats on the top of the dashboard but also the bounties displayed below. Use moments to do these manipulations.
You must also display the correct date, month, and year displayed to the right of the buttons.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: