-
Notifications
You must be signed in to change notification settings - Fork 215
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: ui for template registration in console wallet #5444
feat: ui for template registration in console wallet #5444
Conversation
Test Results (Integration tests) 2 files + 2 12 suites +12 17m 53s ⏱️ + 17m 53s For more details on these failures, see this check. Results for commit 1ca7dfc. ± Comparison against base commit d492c30. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack
Description
Added code template registration tab to the console wallet.
The UI shows proper errors. It will not erase the fields when something is wrong.
Autofill everything that it can from the binary url (template name, version, type, repo link).
Computes the hash for the template.
Motivation and Context
The autofill works like this:
If the link is e.g.
https://github.com/tari-project/tari/blob/development/template.12.wasm
.It will fill the repo as
https://github.com/tari-project/tari
Template name
template
, template version12
, template typeWASM:1
.The hash is always computed as of now, because there is no way for the user to generate it manually.
How Has This Been Tested?
Manually.
What process can a PR reviewer use to test or verify this change?
Register a code template, and look into the VN UI.
Breaking Changes