Setup admin deploy keys Vue application
requested to merge 334874-convert-table-in-admin-applications-and-admin-deploy-keys-to-pajamas into master
What does this MR do and why?
Sets up the Vue app needed to convert Admin
-> Deploy keys
from HAML to Vue. This MR does the following:
- Introduces the
admin_deploy_keys_vue
feature flag - Adds a
#js-admin-deploy-keys-table
mount element to app/views/admin/deploy_keys/index.html.haml#L20 - Creates a
table.vue
component that:- Renders the page title
- Renders the
New deploy key
button - Renders an empty table
- Creates a
index.js
file that mountstable.vue
to the#js-admin-deploy-keys-table
mount element
The following will be completed in follow-up MRs:
- Populate the table using the
deploy_keys
API endpoint - Display an empty state if there are no deploy keys
- Implement pagination
Screenshots or screen recordings
admin_deploy_keys_vue
feature flag enabled
admin_deploy_keys_vue
feature flag disabled
expected to look the same
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #344927 (closed)
Edited by Peter Hegman