sillsdev / sillsdev/languageforge-lexbox
Newly-created user doesn't show on admin dashboard
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9
- Forks
- 8
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 49
Description
Describe the bug
If you create a new user, it will show up on the admin dashboard if there's a user filter defined, but will disappear if there is no user filter (i.e. if you click the X to clear the filter) — at least until the page is reloaded. Looks like a GQL caching issue.
To Reproduce
Steps to reproduce the behavior:
- Make sure there are fewer than 10 users so you can see all of them with no filters
- Go to admin dashboard
- Create new user
- See it in users list
- Clear user filter
- Notice users list doesn't show new user
- Refresh page
- New user is there now
Expected behavior
The GQL cache gets updated when the user is created.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the admin dashboard user list, reproduce the issue by creating a user and clearing the filter, then inspect the GraphQL cache update associated with user creation. Done means the newly created user remains visible after the filter is cleared without refreshing the page; no file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, graphql
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100