ProjectTech4DevAI / ProjectTech4DevAI/kaapi-frontend
GCP Credentials: Improved input fields
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- Avg merge
- 10h 40m
- Merged PRs (30d)
- 4
Description
Is your feature request related to a problem?
Malformed GCP credential JSON leads to a 422 JSONDecodeError. This creates a poor user experience and could cause frustration when users encounter this issue.
Describe the solution you'd like
Collect the four GCP fields as discrete input fields in the Kaapi console:
- Add discrete input fields for the four GCP credential fields
- Assemble and store the JSON on the backend
Original issue
Context
Malformed GCP credential JSON (particularly newline escaping in the private key) produces a 422 JSONDecodeError. This is poor UX but deferred for now, as it is unlikely to be hit near-term.
Preferred long-term fix
Collect the four GCP fields as discrete input fields in the Kaapi console, so we control assembly and storage on our backend rather than relying on clients to paste well-formed JSON.
Next steps
- Add discrete input fields for the four GCP credential fields in the Kaapi console
- Assemble and store the JSON on the backend
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating the Kaapi console's GCP credential input flow and tracing how the current JSON is accepted and sent to the backend. Identify the four existing credential fields, then verify that assembled credentials handle private-key newlines and no longer produce a 422 JSONDecodeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, typescript
- Domain
- backend, cloud, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100