si
si copied to clipboard
chore(edda,web): Remove Secret specific MVs and include necessary data alongside props/attributes
The secrets subsystem originally was designed to manage and create secrets separately from components. The original Secret MVs were designed to support this, but given secrets will now map 1:1 with components, we no longer need any of these independent MVs or lists of secrets/secret definitions.
This PR makes that change, along with a few front end fixes alongside:
- Components Details will now display all secret props (previously it was only showing one)
- If the prop is the secret definition, show the form to create/replace the secret
- If the prop is not secret defining, allow the user to create a prop to prop connection and use an existing secret.
- For Possible Connections, we don't want to show the
attributeValue.valuefor secrets, as it's just theSecretId. Instead, grab the name of the secret. - Add description to the Secret Form
Todos:
- Ability to remove a connection for a secret prop
- We likely need a custom
AttributeInput.vuecomponent for interacting with secret props - Account for secrets correctly in the Possible Connections calculation (right now it'll show all string props as available, which is not what we want, but this can be improved outside of this PR)
- Styling!
- Show name + description for a secret (but not the encrypted values).
