Skip to content
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

Recent activity should display scrolling list #949

Closed
chrisxkeith opened this issue Feb 13, 2023 · 12 comments · Fixed by #2097 or #2687
Closed

Recent activity should display scrolling list #949

chrisxkeith opened this issue Feb 13, 2023 · 12 comments · Fixed by #2097 or #2687
Assignees
Labels
bug Something isn't working Grant Finder Issues related to the Grant Finder

Comments

@chrisxkeith
Copy link
Contributor

chrisxkeith commented Feb 13, 2023

Current State
The query that backs this table returns every grant that has had any status set on it or has been assigned by any member of the user's team or any sub-team of the user's team. The date displayed is the last time the status was updated or an assignment was made. Despite the "Recent Activity" label, the query actually retrieves all such interactions that occurred since the beginning of time.

The pagination on this page is confusing and it is not clear what it reflects, but it does not work the same as the pagination on My Grants or Browse Grants tab.

Expected State

  • Pagination on Recent Activity page should reflect how pagination works on Browse Grants tab
    image
@chrisxkeith chrisxkeith added Infra Issues related to the infrastructure underlying all the tools. ux goodness An issue focused on improving the UI and user experience labels Feb 13, 2023
@chrisxkeith
Copy link
Contributor Author

???

totalInterestedGrants: 'dashboard/totalInterestedGrants',

state.totalInterestedGrants = data;

@TylerHendrickson TylerHendrickson added bug Something isn't working and removed ux goodness An issue focused on improving the UI and user experience Infra Issues related to the infrastructure underlying all the tools. labels Feb 21, 2023
@TylerHendrickson TylerHendrickson self-assigned this Feb 21, 2023
@TylerHendrickson TylerHendrickson moved this from 🆕 New to 🔩 Eng planning in Grants Team Agile Planning Feb 21, 2023
adele-usdr added a commit that referenced this issue Oct 16, 2023
Update totalRows and label to use counts that are filtered or not filtered properly.
@adele-usdr adele-usdr linked a pull request Oct 16, 2023 that will close this issue
adele-usdr added a commit that referenced this issue Oct 17, 2023
Update totalRows and label to use counts that are filtered or not filtered properly.

Co-authored-by: Tyler Hendrickson <[email protected]>
@ClaireValdivia ClaireValdivia reopened this Nov 3, 2023
@ClaireValdivia
Copy link
Contributor

ClaireValdivia commented Nov 3, 2023

in QA party, still seeing this not working on staging and prod @adele-usdr would you be able to take a look?

@ClaireValdivia ClaireValdivia moved this from 🚢 Completed to 🏗 In progress in Grants Team Agile Planning Nov 3, 2023
@adele-usdr
Copy link
Contributor

@ClaireValdivia just to make sure I'm looking at the the right issue, does anyone who saw this again have a screenshot to drop in?

@ClaireValdivia
Copy link
Contributor

this is from staging, seeing similar behavior on prod
Screenshot 2023-11-07 at 9 36 12 AM

@adele-usdr
Copy link
Contributor

@ClaireValdivia what do you expect each of those numbers to represent? Right now, the first number is the total interested grants (which probably has more counted in it than shown on the screen), and the second is the total # shown. I also noticed "x of y" is a button. Is clicking on it supposed to do something?

@ClaireValdivia
Copy link
Contributor

@adele-usdr I think we just want it flipped - i.e. "10 of 30", but if we are going to show it, I think there also needs to be a way to see all 30 - right now there is only the one page with 10 results. "30 of 10" should not be a button - good catch!

If this is complex, I'm wondering your thoughts on mirroring pagination on the Browse Grants table - i.e. displaying "30 recent activities" rather than the "10 of 30" and allowing pagination through them as needed.

@adele-usdr
Copy link
Contributor

I don't think it's complex- I think there must've just been a different intent for this label originally. In the original screenshot that shows "9 of 4" the 9 is the count in the whole list, and 4 is the count of grants that are marked as "interested". Maybe the interested count isn't valuable, and we should just move to a paginated list. Or a full list with scrolling. What should qualify as "recent"? Should it be all grants that have been viewed? All that have been marked in any way by the user?

adele-usdr added a commit that referenced this issue Nov 13, 2023
@as1729 as1729 closed this as completed in 8af0431 Nov 13, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to 🚢 Completed in Grants Team Agile Planning Nov 13, 2023
@adele-usdr adele-usdr reopened this Nov 13, 2023
@adele-usdr
Copy link
Contributor

Reopening since we've reverted the previous fix attempt.

@adele-usdr adele-usdr removed their assignment Nov 13, 2023
@ClaireValdivia ClaireValdivia moved this from 🚢 Completed to 🏗 In progress in Grants Team Agile Planning Nov 13, 2023
@ClaireValdivia
Copy link
Contributor

oooh thank you for clarifying! I wonder about keeping the current way it's determining which grants show (i.e. only display activity from grants marked "Interested") but then use your idea of removing pagination and just show a scrolling list. @caitlinwinner do you think that's a good path forward?

@caitlinwinner
Copy link

sounds good to me!

@adele-usdr adele-usdr self-assigned this Nov 27, 2023
@adele-usdr adele-usdr removed their assignment Dec 5, 2023
@adele-usdr adele-usdr moved this from 🏗 In progress to 🔖 Ready in Grants Team Agile Planning Dec 5, 2023
@ClaireValdivia ClaireValdivia added the Grant Finder Issues related to the Grant Finder label Dec 5, 2023
@ClaireValdivia ClaireValdivia changed the title Unusual display in "Recent Activity" grid Recent activity should display scrolling list Jan 16, 2024
@sanason sanason self-assigned this Feb 27, 2024
@sanason sanason moved this from 🔖 Ready to 🏗 In progress in Grants Team Agile Planning Feb 27, 2024
@sanason sanason moved this from 🏗 In progress to 👀 In review in Grants Team Agile Planning Feb 29, 2024
@sanason
Copy link
Contributor

sanason commented Feb 29, 2024

@ClaireValdivia @caitlinwinner

I may be repeating earlier discussions about this ticket but I'd like to clarify what this page does now (which I can report) and what we want it to do.

The query that backs this table returns every grant that has had any status set on it or has been assigned by any member of the user's team or any sub-team of the user's team. The date displayed is the last time the status was updated or an assignment was made. Despite the "Recent Activity" label, the query actually retrieves all such interactions that occurred since the beginning of time.

As for the pagination control, I'm not sure what it was supposed to be doing originally but, at this point, I think it's just buggy.

So, one thing I could do is fix the pagination control and leave everything else as is:
Screenshot 2024-02-29 at 1 15 09 PM

If we continue to use the same query, then I feel like we might have too many items for a scrolling list. But maybe the idea was that we change the query to return just a subset of these items - just the items where the status is "Interested", for instance. Is that what we want to do?

@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Staging in Grants Team Agile Planning Mar 6, 2024
@ClaireValdivia
Copy link
Contributor

This looks great, thank you @sanason !!

@ClaireValdivia ClaireValdivia moved this from ✅ Staging to 🚢 Completed in Grants Team Agile Planning Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Grant Finder Issues related to the Grant Finder
Projects
Archived in project
6 participants