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

As a guy who fills in blob fields, I want the GUI to offer a button so that I can specify a Candid value there and it gets automatically encoded #372

Open
ggreif opened this issue Aug 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ggreif
Copy link
Contributor

ggreif commented Aug 26, 2022

Is your feature request related to a problem? Please describe.
I'm always frustrated when I have to use a different tool to candid-encode complex values (e.g. into a vec { ... }), and paste them into a blob form byte-by-byte.

Describe the solution you'd like
Instead I'd like to see a GUI drop-down button so that

  • by default presents the current vec nat8 interface
  • I can textually enter a Candid value and it would get encoded to a blob.
  • I can specify a Candid type and I'd get a form for that type (on the side)
  • I can specify the blob as hex-encoded text
  • include the blob directly from a file.

Dually blob outputs could have a decode button

  • with (similar) dual options

Describe alternatives you've considered
Candid encoding a blob manually is hard and error-prone.

@ggreif ggreif added the enhancement New feature or request label Aug 26, 2022
@ggreif ggreif changed the title As a guy who fills in blob fields, I want to GUI to offer a button so that I can specify a Candid value there and it gets automatically encoded As a guy who fills in blob fields, I want the GUI to offer a button so that I can specify a Candid value there and it gets automatically encoded Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant