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: ui for template registration in console wallet #5444

Merged
merged 10 commits into from
Jun 14, 2023

Conversation

Cifko
Copy link
Contributor

@Cifko Cifko commented Jun 8, 2023

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.

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

@Cifko Cifko changed the title feat: UI for template registration in console wallet feat: ui for template registration in console wallet Jun 8, 2023
@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Jun 8, 2023
@github-actions
Copy link

github-actions bot commented Jun 8, 2023

Test Results (CI)

0 tests   - 1 154   0 ✔️  - 1 154   0s ⏱️ - 10m 4s
0 suites  -      37   0 💤 ±       0 
0 files    -        1   0 ±       0 

Results for commit 1ca7dfc. ± Comparison against base commit d492c30.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jun 8, 2023

Test Results (Integration tests)

  2 files  +  2  12 suites  +12   17m 53s ⏱️ + 17m 53s
29 tests +29  28 ✔️ +28  0 💤 ±0  1 +1 
31 runs  +31  28 ✔️ +28  0 💤 ±0  3 +3 

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.

Copy link
Collaborator

@SWvheerden SWvheerden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack

@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Jun 14, 2023
@SWvheerden SWvheerden merged commit 701e3c2 into tari-project:development Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants