cloudfoundry / cloudfoundry/stratos

Improve bulk changes of cf user roles

Open
#2,157 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
267
Forks
137
Avg merge
5h 14m
Merged PRs (30d)
77

Description

We can now manage user/s roles (see #2118). However, the process could be improved when changing many roles.
At the point where we make the changes we display a table with rows per change. The right most column shows the status of the change (in progress/success/failed - see #2124 for work to tie in failure message). At the moment there's no indication when all changes have completed (successfully/partially) and the performance can suffer (stuttering updates). Need to...

  • Understand what the reasonable upper limit of role changes should be (20, 50, 100, 500?)
  • Ensure we don't spam the backend by batching requests?
  • Show a global status for all requests in the generic monitor action table?
  • Understand the effect of redux dev tools in performance of page

Contributor guide

Open the contributing guide

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 by reviewing the user-role changes from #2118, the generic monitor action table, and the failure-message work in #2124. Investigate how many role changes can be handled, whether requests should be batched, how to show an overall completion status, and the performance effect of Redux DevTools. Done means these questions have a decided implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, redux, typescript
Domain
authorization, frontend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.