-
Notifications
You must be signed in to change notification settings - Fork 979
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
Disabling Testnet alert banner #19762
Conversation
Jenkins BuildsClick to see older builds (2)
|
Did we agree to this? 🤔 Can you include a video/ screenshots of how it looks? |
At least just do this for the screens where its breaking- wallet looked fine imo |
:theme :dark | ||
:text (i18n/label :t/testnet-mode-enabled) | ||
:duration 100000}]]]}))) | ||
|
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.
empty line
@alwx please remove fixes from PR description as this will close the issue. |
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.
let's align on this before merging, should we really remove for all screens?
There's some minor issues for our developer experience but does that justify this?
Does this make things better/worse for QA etc?
@J-Son89 we can't easily show it only in Wallet because that banner is a part of a global alert mechanism implemented in |
Hi @J-Son89 @Parveshdhull @alwx ! Yes, Testnet banner gives great visibility but it also raise issues and extra time for their fix. |
Thank you @alwx and @mariia-skrypnyk for your feedback and thank you @J-Son89 for raising the point that this needs to be discussed properly before moving forward.
I would say this is a little over-exaggeration. If we see issues reported in #19506 they were minor styling issues and needed two lines of fix
This is expected. Whenever we build something new, issues are expected and need to be properly tested and fixed. As the alert banner's implementation was sandboxed it missed proper testing phase and now as this is enabled issues are visible. (In idle case these issues should be caught/reported in either of these PRs). If there are any issues related to alert banner please do report, so we can fix them. As issues mentioned in #19506 are fixed in #19773. I don't think issues are any problem, they are minor styling issues and can be fixed quickly. The main question should be do we want this feature or not and discuss it with the design team? As far as I remember, we only implemented this functionality because the design team was very keen on this and little persisting. |
@clauxx please let me know if you need any help. Also if issue is only after enabling alert banner, please feel free to log it separately, I can checkout later. |
Hi, I just want to add one more detail from the perspective of e2e tests. This banner presence makes some elements on some screens to be hidden so we need to scroll for them and so it makes the tests a little bit longer. Especially having the issue with SauceLabs emulators that the resolution is a way smaller than a usual modern phone, we need to scroll even more often. Of corse it's not a critical issue but I think it can also be pointed here |
Thank you @yevh-berdnyk, I can disable alert banner for e2e builds, will that be ok? |
That will be definitely cool! |
|
I agree with @Parveshdhull to hide it only on the debug builds as hiding the banner completely is not a good idea for the end user (There is a feature planned to disable testnet by tapping on the banner). If this PR fixes those issues and we are all in agreement, can we close this PR? |
I don't understand why @Parveshdhull decided to work on this despite the discussions we've had. But whatever, I'm closing this then. |
temporarily closes the issue of testnet banner (see #19506) by disabling the testnet alert banner and replacing it with a simple toast that is shown when the user is logged in.
also adds a comment why it's done for the future.
Platforms
Areas that maybe impacted
Functional
status: ready