Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds password type to widgets #891

Closed
wants to merge 1 commit into from

Conversation

yuriassuncx
Copy link
Contributor

What is this Contribution About?

In this PR, I added a new widget type called Password, which allows sensitive strings to be hidden in the Deco.cx admin. This implementation removes the need to transform data into a Secret, simplifying the demonstration process and preventing the exposure of confidential information in actions or loaders. This change provides a practical way to manage sensitive data without the complexity of encryption and decryption.

Changes

  • Added the type:
    /**
     * @format password
     */
    export type Password = string;

Admin's view:
image

Benefits

  • Enhanced security by hiding sensitive information.
  • Reduced complexity in handling confidential data.

I added a new widget type called Password, which allows sensitive strings to be hidden in the Deco.cx admin.
Copy link
Contributor

Tagging Options

Should a new tag be published when this PR is merged?

  • 👍 for Patch 0.59.18 update
  • 🎉 for Minor 0.60.0 update
  • 🚀 for Major 1.0.0 update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant