-
Notifications
You must be signed in to change notification settings - Fork 33
Conversation
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.
-
I've been able to replicate the issue by running
rm -rf ~/Library/Application\ Support/fether/ && rm -rf ~/Library/Application\ Support/Electron/
.
Where is that information stored in Linux and Windows so I can test it there too? -
It works great if it doesn't run the "if statement" when
isFirstRun
istrue
. But if I comment out the codeif (isFirstRun) {
so it runs the code in that if statement (i.e. pretending that it's the first time I've run it), and then open Developer Tools and open it in Full Screen so I can choose the Application tab and clear Local Storage, then when I runyarn electron
when it opens the Terms of Use page the "Accept" button doesn't work when I click it (not even after Parity Ethereum has downloaded).
Also, why is it storingparitylight::firstRun
with a value offalse
even though I've deleted everything in those directories and cleared local storage? Shouldn't it be recognising that it's my first run? (sorry haven't had time to investigate this myself yet) -
Additionally, when I was testing, somehow I managed to get to the Accounts page, and when it showed
Downloading Parity Ethereum... (100%)
using the component (instead of the overlay) at 100% it caused that message to shift over to a new line (instead of on the same line as the small health icon (since100
has one more character than99
).
See appData here https://github.com/electron/electron/blob/master/docs/api/app.md#appgetpathname
This is an expected behavior when you remove the line
hmm, that's weird. Normally, if you run Side note: a better name for
The best way to achieve that is to do
Fixed, thanks. |
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.
Works well!
To test:
rm -rf ~/Library{Application Support/{io.parity.ethereum | Electron | fether}
On master, #416 introduced a bug where, on fresh launch, a blank screen was shown (because of these lines).
This PR basically just replaces this
null
with aRequireHealthOverlay
.Moreover,
<Health>
and<HealthModal>
(both can be rendered before api is defined) use light.js'schainName$
when syncing/synced, but we only allow calling this method when the api is connected.