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

Bulk fixes 2 #597

Merged
merged 12 commits into from
Feb 5, 2023
Merged

Bulk fixes 2 #597

merged 12 commits into from
Feb 5, 2023

Conversation

rithvikvibhu
Copy link
Collaborator

settings: save log file by file copy

(closes #556)
"Download Log" in settings used to read from file, send over IPC to renderer and then downloading as blob. This has a size limit and often didn't save the complete log file (which can be as big as 20 MB).
Also, log file was only saved if hsd path hadn't been changed from the default path.
This commit replaces the read+save with an fs copyFile and also takes care of custom hsd dir path.

watchlist: refresh name state on new blocks

(resolves part of #570)
BlockStatus now refreshes a name on height change (and throttled as usual to 10 secs). Watching (and other pages where BlockStatus is used) will update dates as and when states change.

sign-msg: sort names dropdown properly

In some cases, the correct name was not used to sign messages. This has been fixed by sorting the names earlier.

pkg: fix CSP with correct values

On every start, the console had a CSP error that users mistook for a real error. This commit moves the CSP into app.html, removes the replacer in package scripts, and cleans up the values.

ui: pass strings instead of bool to autoComplete

Javascript false was passed to a textarea's autoComplete and autoCorrect and this threw errors. They are now strings "false" as required.

ci: add macos builds

Adds macos to the package workflow (that's triggered manually, not related to build-and-test that runs on PRs). These DMGs aren't signed and won't run, but with https://github.com/indygreg/apple-platform-rs/tree/main/apple-codesign it should be possible to download this and sign it on non-macos devices!

ci: update actions

(closes #577)
Old nodejs and upload artifacts were showing warnings in GH action runs, updated them. And we have npm caching now that should slightly speed up repeated builds.

ci: add retry for flaky npm install on windows

(closes (maybe) #595)
See issue why windows builds randomly fails. This adds a retry action which retries failed npm install up to 3 times.

send: extract HIP-2 address field as component

The HIP-2 address field was tightly part of the Send page. This commit extracts all that logic to a new AddressInput component. This was done because...

my-domain: use HIP-2 address for transfer

(closes #572)
...the transfer section can use the same AddressInput. Now names can be transferred to HIP-2 aliases.

@rithvikvibhu rithvikvibhu added the needs translation PR updates locale strings and have not yet been translated label Jan 31, 2023
@rithvikvibhu rithvikvibhu merged commit a50b9ae into kyokan:master Feb 5, 2023
@rithvikvibhu rithvikvibhu deleted the fixes1 branch February 21, 2023 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs translation PR updates locale strings and have not yet been translated
Projects
None yet
1 participant