-
Notifications
You must be signed in to change notification settings - Fork 26
feat: add nano contract register screen [13] #466
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
Conversation
a0caced
to
f823c2b
Compare
0beae3a
to
0b47402
Compare
98ffb88
to
a946e8f
Compare
8ec62ff
to
39aaf33
Compare
a946e8f
to
12d5cc2
Compare
1c3f438
to
cde4b2d
Compare
4d8a8a9
to
33a6d7a
Compare
cde4b2d
to
9629e2c
Compare
33a6d7a
to
34fffb2
Compare
b08cd79
to
f5a626b
Compare
34fffb2
to
a9caff1
Compare
f5a626b
to
9adfec7
Compare
locale/pt-br/texts.po
Outdated
|
||
#: src/screens/NanoContract/NanoContractRegisterScreen.js:153 | ||
msgid "Load First Addresses Error" | ||
msgstr "" |
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.
Missing translation?
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.
Translated.
locale/pt-br/texts.po
Outdated
msgid "Contract successfully registered." | ||
msgstr "Nano Contract registrado com sucesso." | ||
|
||
#: src/sagas/mixins.js:33 |
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.
This file is gone now, is an update missing on the translations?
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.
Same for all below
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.
Removed.
/** | ||
* Verifies if the invalidModel of the form has an error message. | ||
*/ | ||
function hasError(invalidModel) { |
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.
Should this also be a helper?
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.
Moved to utils.
- Remove blueprintId from registered nano contract once state doesn't return blueprint_id in its payload - Add firstBlock to nano contract transaction on history - Assign state response to ncState directly
- Add feedback content for empty list - Add feedback content for error on load - Create FeedbackContent component - Add action NANOCONTRACT_HISTORY_LOADING - Make small tweaks on reducer - Remove NoNanoContract component - Refactor NanoContractsList component to use FeedbackContent component - Do small tweaks on sagas/nanoContract
0d35063
to
2072e15
Compare
@@ -1305,20 +1357,24 @@ msgstr "" | |||
msgid "Unregister contract" | |||
msgstr "" | |||
|
|||
#: src/components/NanoContract/NanoContractTransactionHeader.component.js:93 | |||
#. XXX: add <ArrowUpIcon /> when shrank component can be used. |
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.
What is this? It was added automatically here? Weird
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.
Yes, it was added automatically. The first time I removed it, but it has appeared again and I left it there.
- Add firstBlock to nano contract transaction on history - Feat: improve NanoContractTransactionsList component - Add feedback content for empty list - Add feedback content for error on load - Create FeedbackContent component - Remove NoNanoContract component - Refactor NanoContractsList component to use FeedbackContent component - Refactor: use replace on navigation in place of navigate - Feat: add feedback content for the first address loading - Refactor: move fetch first wallet address to saga effect - Refactor: move fetchFirstWalletAddress to sagas/wallet - Refactor: extract hasError to utils - Fix: avoid show success feedback on register screen because of initialization load
Acceptance Criteria
NanoContractRegisterScreen
NANOCONTRACT_REGISTER_READY
FeedbackModal
componentHathorModal
componentncId
toNanoContractDetailsScreen
Nano Contract Registration
nc-registering-recording.mp4
First Address Loading

First Address Error

Note
It depends on:
Security Checklist