View secret details (Frontend)

Context

With the backend API available, the frontend can switch from client-side resolvers to actually making GraphQL requests to get real data.

There may also be changes to the design to be made while we are connecting the frontend to the backend data.

Work completed prior to milestone start

Sample query:

query {
    projectSecret(
      name: "SECRET_1"
      projectPath: "root/egg",
  	) {
      branch
      description
      environment
      name
  }
}

Objective

  • Switch from client-side resolver to actual GraphQL request
  • Remove expired data
  • Remove status data
  • Ensure secret value is not included in request nor shown in UI

References

Edited by Mireya Andres