-
Notifications
You must be signed in to change notification settings - Fork 986
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
Send transaction GUI #9499
Send transaction GUI #9499
Conversation
Pull Request Checklist
|
Jenkins BuildsClick to see older builds (39)
|
36ec0bd
to
1f1ceda
Compare
@@ -81,6 +81,7 @@ | |||
(navigation/navigate-to-cofx (assoc-in cofx [:db :contacts/identity] public-key) :profile nil)))) | |||
|
|||
(fx/defn handle-eip681 [cofx url] | |||
;;TODO !!!!!!!! |
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 needs to be done?
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.
not ready for review
{:permissions [:camera] | ||
:on-allowed | ||
#(do | ||
(re-frame/dispatch [:bottom-sheet/hide-sheet]) |
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.
is code that got moved? could you create an event to avoid the triple dispatch?
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.
will fix to one event
(for [item [{:title (i18n/label :t/accounts) | ||
:icon :main-icons/profile | ||
:theme :action | ||
:on-press #(do |
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.
is code that got moved? could you create an event to avoid the triple dispatch?
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.
will fix to one event
:icon :main-icons/address | ||
:theme :action | ||
:on-press #(do | ||
(re-frame/dispatch [:bottom-sheet/hide-sheet]) |
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.
is code that got moved? could you create an event to avoid the triple dispatch?
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.
will fix to one event
[list-item/list-item | ||
{:icon [chat-icon/custom-icon-view-list (:name account) (:color account)] | ||
:title (:name account) | ||
:on-press #(do |
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.
is code that got moved? could you create an event to avoid the double dispatch?
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.
will fix to one event
:key-fn (comp str :symbol) | ||
:render-fn (wallet.accounts/render-asset | ||
(:code currency) | ||
#(do |
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.
is code that got moved? could you create an event to avoid the double dispatch?
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.
will fix to one event
["re-frame: overwriting" | ||
"Warning: componentWillMount is deprecated and will be removed in the next major version. Use componentDidMount instead. As a temporary workaround, you can rename to UNSAFE_componentWillMount." | ||
"Warning: componentWillUpdate is deprecated and will be removed in the next major version. Use componentDidUpdate instead. As a temporary workaround, you can rename to UNSAFE_componentWillUpdate."]) | ||
#js ["re-frame: overwriting" |
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 changed?
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.
nothing, just fixed formatting
@@ -0,0 +1,44 @@ | |||
(ns status-im.ui.screens.chat.extensions.views |
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.
is it the gui commands selection panel?
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
(re-frame/dispatch [:qr-scanner.callback/scan-qr-code-cancel identifier]) | ||
(re-frame/dispatch [:navigate-back])))] | ||
[toolbar/content-title title]]]) | ||
(defn- viewfinder [size] |
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 component doing?
@yenda PR isn't ready for review yet |
1f1ceda
to
35521c8
Compare
27e4dac
to
56f1992
Compare
@yenda ready for review |
84% of end-end tests have passed
Failed tests (15)Click to expand
Passed tests (78)Click to expand |
56f1992
to
9ab9842
Compare
@flexsurfer, I can't send transaction from any network besides Mainnet.
|
9ab9842
to
ecb0f32
Compare
thanks @Serhy , fixed ,also added network name |
Tested on Xiaomi Mi Note 9 Pro:
Looks good to me. |
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.
Good for me too thanks Andrey! I think it is better to merge now if it works, I will have to do some changes anyway for the full integration of the send/receive commands
Signed-off-by: Andrey Shovkoplyas <[email protected]>
ecb0f32
to
507cc5c
Compare
DEMO: https://www.youtube.com/watch?v=7nyXYO18JNg
also
fixes #9381
fixes #9210
FOR QA: sending tx from the chat is not in the scope of this PR, please text only sending from the wallet