e-mission / e-mission-docs

Repository for docs and issues. If you need help, please file an issue here. Public conversations are better for open source projects than private email.
https://e-mission.readthedocs.io/en/latest
BSD 3-Clause "New" or "Revised" License
15 stars 34 forks source link

Admin dashboard UUIDs table does not load #1077

Open JGreenlee opened 3 months ago

JGreenlee commented 3 months ago

Issue reported by a program admin on ccebikes where they were unable to view the user_token to user_id mapping.

They showed a screenshot and I observed that although the UUIDs tab was selected, the data being shown was the trips table, not the UUIDs table.

I tested it myself by logging in on production. The initial loading was extremely slow. The UUIDs table showed a loading indicator and never appeared even after several minutes. I suspect that the program admin had previously viewed the Trips table, then switched to the UUIDs tab, but the request failed or eventually timed out. Then the Trips table showed because it was still in memory.

shankari commented 2 months ago

I was also able to reproduce this.

Screenshot 2024-07-04 at 1 12 39 PM

The real problems is that the UUID table is timing out. Even if we fix the underlying issue (by showing a blank screen when we timeout), a timing out UUID table is a real problem for program admins that need to monitor their programs and potentially reach out to people to fix issues.

I hate to commit to doing any work because I am typically a bottleneck, but we don't have an army of interns any more, so let me try to see if I can squeeze in some improvements next week.