cloudfoundry / cloudfoundry/stratos
Org/Space user count not updated after changes
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 267
- Forks
- 137
- Avg merge
- 5h 14m
- Merged PRs (30d)
- 77
Description
The user counts in org and space summary pages aren't updated following adding/removing user roles to that org/space
To reproduce
- nav to an org/space summary (note user count)
- nav to user table and add/remove a user
- nav back to org/space summary and user count has not been updated
Notes
- user count comes from
fetchTotalUsers-->fetchTotalResults, which creates a pagination section and populates the usual way - reducer
userSpaceOrgReducerensures that add/remove actions also update request data user info - nothing happens to the pagination section
- need an effect to clear specific pagination sections
Contributor guide
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 with fetchTotalUsers and fetchTotalResults, then inspect userSpaceOrgReducer and the pagination sections involved in org and space summaries. Done means the summary user count updates after adding or removing a user role, including when navigating back from the user table.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100