Skip to content

Add table key to state getter

Laura Callahan requested to merge 8701-table_keys into master

What does this MR do and why?

Related to https://gitlab.com/gitlab-org/customers-gitlab-com/-/issues/8701

Refactors table key logic to be centralized in preparation for further table changes in !146835 (merged)

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

No changes should be present

Premium Screenshot_2024-03-07_at_3.40.32_PM
Free Screenshot_2024-03-07_at_3.42.17_PM
Trial Screenshot_2024-03-07_at_3.43.24_PM

How to set up and validate locally

  • Create and link a premium subscription to your GitLab group
  • Navigate to billings page (http://localhost:3000/groups/YOUR-GROUP-NAME/-/billings)
  • Verify usage/billing table still appears with correct content
  • Verify the same with a trial and free plan (or alter logic in store/getters.js to force different table layouts)
Edited by Laura Callahan

Merge request reports