Monorepo for Tangled tangled.org
753
fork

Configure Feed

Select the types of activity you want to include in your feed.

proposal: pipelines secrets (ux): allow importing multiple secrets through copy-pasting #199

open opened by samanthanguyen.me

Importing multiple secrets one at a time could be slightly time consuming, depending how many secrets there are.

Proposed changes#

  1. Proposed change 1:
    1. There could be a button in the repository settings via "settings > pipelines > secrets", which has its own separate dialog (like the "+ add secret" button).
    2. The content is parsed with a package like https://github.com/joho/godotenv, which then gets encrypted the same way secrets already are.
  2. Proposed change 2:
    1. The current "+ add secret" could also allow pasting a string in the pattern of a "KEY=VALUE", which is then parsed with the same package. The key text input would listen to the paste event, which would detect if the string matches the pattern. If it does, it would automatically move the value string into the value input. The dialog's description should also explain this to make the UX affordance explicit.

Proposal implementation#

I'm imagining something like below:

Settings page#

A UI prototype showcasing an extra button in the secrets settings, labeled "import multiple".

The import dialog#

A UI prototype showcasing a dialog overlay for importing multiple secrets

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:smd2mvg2dao4rqnnz6qexdov/sh.tangled.repo.issue/3mbyz2mezbj22