Skip to content
Snippets Groups Projects

Disable remove button for billable members pending removal on subsequent page visits

All threads resolved!

What does this MR do and why?

This MR introduces Local Storage functionality with expiration time in the Usage Quotas Seats members list. The reason is we improve consistency between the BE and the FE state of the application. When a billable member is scheduled for deletion, we assume that they will be removed from the group in the next 5 minutes. During that time, we show the member has pending deletion.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Screenshot_2025-01-30_at_17.01.48Screenshot_2025-01-30_at_17.02.20 removed_billable_user_storage

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #515460 (closed)

Edited by Angelo Gulina

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added frontend label

  • 2 Warnings
    :warning:

    featureaddition and featureenhancement merge requests normally have a documentation change. Consider adding a documentation update or confirming the documentation plan with the Technical Writer counterpart.

    For more information, see:

    :warning: This merge request changed files with disabled eslint rules. Please consider fixing them.

    Disabled eslint rules

    The following files have disabled eslint rules. Please consider fixing them:

    • ee/app/assets/javascripts/usage_quotas/seats/components/subscription_user_list.vue

    Run the following command for more details

    node_modules/.bin/eslint --report-unused-disable-directives --no-inline-config \
      'ee/app/assets/javascripts/usage_quotas/seats/components/subscription_user_list.vue'

    Reviewer roulette

    Category Reviewer Maintainer
    frontend @glin5 profile link current availability (UTC-5, 6 hours behind author) @slashmanov profile link current availability (UTC+4, 3 hours ahead of author)
    UX @timnoah profile link current availability (UTC+0, 1 hour behind author) Maintainer review is optional for UX

    Please refer to documentation page for guidance on how you can benefit from the Reviewer Roulette, or use the GitLab Review Workload Dashboard to find other available reviewers.

    If needed, you can retry the :repeat: danger-review job that generated this comment.

    Generated by :no_entry_sign: Danger

    Edited by ****
  • Angelo Gulina
  • Angelo Gulina added 1 commit

    added 1 commit

    • f01b5829 - Store recently delete billable members to ease the sync up

    Compare with previous version

  • Angelo Gulina changed the description

    changed the description

  • Angelo Gulina requested review from @jmontal

    requested review from @jmontal

  • Angelo Gulina requested review from @timnoah

    requested review from @timnoah

  • Angelo Gulina added 1 commit

    added 1 commit

    • 6499f0c2 - Store recently delete billable members to ease the sync up

    Compare with previous version

  • Angelo Gulina added 1 commit

    added 1 commit

    • ec7c1632 - Store recently delete billable members to ease the sync up

    Compare with previous version

  • Angelo Gulina marked this merge request as ready

    marked this merge request as ready

  • Angelo Gulina removed review request for @jmontal

    removed review request for @jmontal

  • Angelo Gulina requested review from @aalakkad

    requested review from @aalakkad

  • Angelo Gulina added 1 commit

    added 1 commit

    • 39deab02 - Store recently delete billable members to ease the sync up

    Compare with previous version

  • Angelo Gulina
  • Angelo Gulina added 1 commit

    added 1 commit

    • fb709604 - Store recently delete billable members to ease the sync up

    Compare with previous version

  • Ammar Alakkad approved this merge request

    approved this merge request

  • Ammar Alakkad requested review from @ohoral

    requested review from @ohoral

  • Ammar Alakkad
  • Olena Horal-Koretska approved this merge request

    approved this merge request

  • Before you set this MR to auto-merge

    This merge request will progress on pipeline tiers until it reaches the last tier: pipelinetier-3. We will trigger a new pipeline for each transition to a higher tier.

    Before you set this MR to auto-merge, please check the following:

    • You are the last maintainer of this merge request
    • The latest pipeline for this merge request is pipelinetier-3 (You can find which tier it is in the pipeline name)
    • This pipeline is recent enough (created in the last 8 hours)

    If all the criteria above apply, please set auto-merge for this merge request.

    See pipeline tiers and merging a merge request for more details.

  • Bundle size analysis [beta]

    This compares changes in bundle size for entry points between the commits 957a845c and b679ef68

    :sparkles: Special assets

    Entrypoint / Name Size before Size after Diff Diff in percent
    average 4.9 MB 4.9 MB - 0.0 %
    mainChunk 3.79 MB 3.79 MB - 0.0 %

    Note: We do not have exact data for 957a845c. So we have used data from: 9050bdf9.
    The intended commit has no webpack pipeline, so we chose the last commit with one before it.

    Please look at the full report for more details


    Read more about how this report works.

    Generated by :no_entry_sign: Danger

    Edited by ****
  • E2E Test Result Summary

    allure-report-publisher generated test report!

    e2e-test-on-cng: :white_check_mark: test report for b679ef68

    expand test summary
    +------------------------------------------------------------------+
    |                          suites summary                          |
    +-------------+--------+--------+---------+-------+-------+--------+
    |             | passed | failed | skipped | flaky | total | result |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Package     | 29     | 0      | 15      | 0     | 44    | ✅     |
    | Data Stores | 33     | 0      | 10      | 0     | 43    | ✅     |
    | Secure      | 2      | 0      | 5       | 0     | 7     | ✅     |
    | Create      | 140    | 0      | 22      | 0     | 162   | ✅     |
    | Verify      | 52     | 0      | 20      | 0     | 72    | ✅     |
    | Plan        | 86     | 0      | 8       | 0     | 94    | ✅     |
    | Monitor     | 8      | 0      | 12      | 0     | 20    | ✅     |
    | Govern      | 83     | 0      | 11      | 0     | 94    | ✅     |
    | Release     | 5      | 0      | 1       | 0     | 6     | ✅     |
    | Fulfillment | 2      | 0      | 7       | 0     | 9     | ✅     |
    | Analytics   | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Manage      | 1      | 0      | 9       | 0     | 10    | ✅     |
    | ModelOps    | 0      | 0      | 1       | 0     | 1     | ➖     |
    | Ai-powered  | 0      | 0      | 2       | 0     | 2     | ➖     |
    | Configure   | 0      | 0      | 3       | 0     | 3     | ➖     |
    | Growth      | 0      | 0      | 2       | 0     | 2     | ➖     |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Total       | 443    | 0      | 128     | 0     | 571   | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+

    e2e-test-on-gdk: :white_check_mark: test report for b679ef68

    expand test summary
    +------------------------------------------------------------------+
    |                          suites summary                          |
    +-------------+--------+--------+---------+-------+-------+--------+
    |             | passed | failed | skipped | flaky | total | result |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Plan        | 82     | 0      | 8       | 0     | 90    | ✅     |
    | Create      | 135    | 0      | 23      | 0     | 158   | ✅     |
    | Monitor     | 8      | 0      | 12      | 0     | 20    | ✅     |
    | Govern      | 78     | 0      | 14      | 0     | 92    | ✅     |
    | Secure      | 4      | 0      | 3       | 0     | 7     | ✅     |
    | Verify      | 51     | 0      | 21      | 0     | 72    | ✅     |
    | Release     | 5      | 0      | 1       | 0     | 6     | ✅     |
    | Data Stores | 33     | 0      | 10      | 0     | 43    | ✅     |
    | Package     | 24     | 0      | 14      | 0     | 38    | ✅     |
    | Manage      | 1      | 0      | 9       | 0     | 10    | ✅     |
    | Ai-powered  | 0      | 0      | 2       | 0     | 2     | ➖     |
    | Fulfillment | 2      | 0      | 7       | 0     | 9     | ✅     |
    | Configure   | 0      | 0      | 3       | 0     | 3     | ➖     |
    | Analytics   | 2      | 0      | 0       | 0     | 2     | ✅     |
    | ModelOps    | 0      | 0      | 1       | 0     | 1     | ➖     |
    | Growth      | 0      | 0      | 2       | 0     | 2     | ➖     |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Total       | 425    | 0      | 130     | 0     | 555   | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+
    Edited by ****
  • Tim Noah approved this merge request

    approved this merge request

  • Angelo Gulina added 1 commit

    added 1 commit

    • 568571b9 - Add try/atch for extra safety

    Compare with previous version

  • Angelo Gulina reset approvals from @aalakkad and @ohoral by pushing to the branch

    reset approvals from @aalakkad and @ohoral by pushing to the branch

  • Angelo Gulina added 1 commit

    added 1 commit

    • 5d8026a3 - Add try/atch for extra safety

    Compare with previous version

  • Olena Horal-Koretska approved this merge request

    approved this merge request

  • Angelo Gulina requested review from @ohoral and removed approval

    requested review from @ohoral and removed approval

  • Olena Horal-Koretska approved this merge request

    approved this merge request

  • Angelo Gulina added 1913 commits

    added 1913 commits

    Compare with previous version

  • Angelo Gulina resolved all threads

    resolved all threads

  • Rajendra Kadam enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • Rajendra Kadam approved this merge request

    approved this merge request

  • Rajendra Kadam mentioned in commit 94243d5e

    mentioned in commit 94243d5e

  • added workflowstaging label and removed workflowcanary label

  • Please register or sign in to reply
    Loading