-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ui for template registration in console wallet (#5444)
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 version `12`, template type `WASM: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. <!-- Checklist --> <!-- 1. Is the title of your PR in the form that would make nice release notes? The title, excluding the conventional commit tag, will be included exactly as is in the CHANGELOG, so please think about it carefully. --> Breaking Changes --- - [x] None - [ ] Requires data directory on base node to be deleted - [ ] Requires hard fork - [ ] Other - Please specify <!-- Does this include a breaking change? If so, include this line as a footer --> <!-- BREAKING CHANGE: Description what the user should do, e.g. delete a database, resync the chain --> --------- Co-authored-by: Andrejs Gubarevs <[email protected]> Co-authored-by: stringhandler <[email protected]>
- Loading branch information
1 parent
d492c30
commit 701e3c2
Showing
18 changed files
with
1,315 additions
and
32 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.