Frontend (Tanu-Key): Create index page
Summary
Create the index page for secrets management based on our Figma design.
This should be available through the /
route.
While the API is not yet available, we will use client resolvers for our GraphQL queries and mock some data for development. Make sure to query what permissions the current user has, since different actions (create/view/edit/revoke) may require different permissions.
This issue can be broken down further into several iterations.
Out of Scope
This issue serves to set up the index page on the frontend. Depending on the progress of the MVC development, it's possible that actually fetching the key/value of the secrets, or committing actions such as copying curl commands etc. will not be doable yet at this stage. In that case, we can make the page functional in another iteration.
We will not implement sorting by last accessed
and created
yet.
Acceptance Criteria
-
Show table of secrets, ordered by last accessed
by default. -
List of secrets are paginated -
New secret button leads to /secrets/new
(user must have permisson to create secrets) -
Edit access button leads to /secrets/:id/edit
(user must have permisson to edit secrets)
Links/References
Please refer to the main frontend epic for more information.
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.