sillsdev / sillsdev/languageforge-lexbox

Newly-created user doesn't show on admin dashboard

Open
#1,672 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

📦 Lexbox GraphQL Svelte
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:

  1. Make sure there are fewer than 10 users so you can see all of them with no filters
  2. Go to admin dashboard
  3. Create new user
  4. See it in users list
  5. Clear user filter
  6. Notice users list doesn't show new user
  7. Refresh page
  8. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.