-
Mark Florian authored
This normalizes the Vuex action and mutation names according to our established [request/receive/fetch pattern][0]. Part of [Remove parsed_license_report flag from front end code][1]. The batch case-preserving renaming was achieved using [repren][2]: repren --word-breaks --preserve-case -p patterns ee where the `patterns` file contains: requestLoadManagedLicenses requestManagedLicenses receiveLoadManagedLicenses receiveManagedLicensesSuccess receiveLoadManagedLicensesError receiveManagedLicensesError loadManagedLicenses fetchManagedLicenses # requestLoadParsedLicenseReport requestParsedLicenseReport receiveLoadParsedLicenseReport receiveParsedLicenseReportSuccess receiveLoadParsedLicenseReportError receiveParsedLicenseReportError receiveLoadLicenseReportError receiveParsedLicenseReportError loadParsedLicenseReport fetchParsedLicenseReport Note that the `receiveLoadLicenseReportError` identifier is also being renamed to `receiveParsedLicenseReportError`, since it is functionally the same as the `receiveLoadParsedLicenseReportError` action/mutation. The resulting duplicates will be removed by the next commit. [0]: https://docs.gitlab.com/ce/development/fe_guide/vuex.html#actions-pattern-request-and-receive-namespaces [1]: https://gitlab.com/gitlab-org/gitlab/issues/37271 [2]: https://github.com/jlevy/repren
9e7d2ed9