Add table and pagination to deploy keys Vue conversion
What does this MR do and why?
Part of #344927 (closed)
Adds table data and pagination to admin deploy keys view. This builds on top of !73580 (merged).
What this MR doesn't do? (will be implemented in future MRs)
- Open confirmation modal when remove button is clicked
- Add total count of deploy keys to page title. e.g.
Deploy keys (54)
Screenshots or screen recordings
Desktop
Before | After |
---|---|
Mobile
Before | After |
---|---|
How to set up and validate locally
- Fire up the Rails console
bin/rails console
- Create some deploy keys
50.times do
project = Project.order("RANDOM()").first
deploy_key = FactoryBot.create(:deploy_key, public: true)
FactoryBot.create(:deploy_keys_project, :write_access, deploy_key: deploy_key, project: project)
end
- Enable the
admin_deploy_keys_vue
feature flagFeature.enable(:admin_deploy_keys_vue)
- Sign in as an Admin and navigate to
/admin/deploy_keys
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.
Edited by Peter Hegman