Connect vue app to api _links
What does this MR do?
This MR connects details and delete actions to the urls returned by the API. This MR is part of the work outlined in !18860 (merged)
Related backend MR: !20820 (merged)
Screencapture
How to test
Feature flag to enable: :vue_package_list
Currently we have a fixture that will add 5 packages to a random 'starter' project in GDK. The project is one of the basic ones:
What is supposed to work in this MR:
- the list is loaded and display 5 packages
- if the user can delete the package the delete button lights up and the delete works
If this is not a sufficient test scenario is possible to add more packages by following this procedure:
- checkout locally this repository: https://gitlab.com/nmezzopera/npm-package-starter
- follow the readme of the project
- verify the component in the
project
andgroup
package page
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
-
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
- [-] Label as security and @ mention
@gitlab-com/gl-security/appsec
- [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
- [-] Security reports checked/validated by a reviewer from the AppSec team
Part of #33905 (closed)
Edited by Nicolò Maria Mezzopera