GCP Credentials: Improved input fields

Open
#253 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
gcp, typescript

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.

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
Dominant language
TypeScript
Stars
1
Forks
0
Avg merge
10h 40m
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ProjectTech4DevAI/kaapi-frontend

All issues in ProjectTech4DevAI/kaapi-frontend

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.