Closed AndreasGassmann closed 5 years ago
we don't need . because we already have @download/blockies and myethewallet-blockies library.
I updated about navcontroller, we will use navcontroller for only pop feature.
ProtocolSelectPageModule is already enabled, so need to remove that.
swap.ts onDidDismiss uses protocolIdentifier.data. Shouldn't it be "protocolIdentifier"?
I debugged out, ionic 4 returning data with object.data format. so used .data
Some issues I noticed while testing: This list is not complete yet.
Build
[x] Check all dependencies
[x]
ionic build -prod
doesn't work withfullTemplateTypeCheck
re-enabled[x]
npm run test
doesn't work[x]
npm run e2e
doesn't work[x] Check if crypto libs work with prod build (this will not be a compile time error, but rather it won't work when trying to prepare a transaction)
[x] Check if project builds in the docker container
[x]
<script src="assets/libs/blockies.min.js"></script>
is not included inindex.html
anymore. Check if it's still needed.Code
[x] Update ionic to
4.3.1
[x] Some pages still use NavController (eg. account-address)
[x]
walletDeeplink
inapp.component.ts
has code commented out (pushing tx page in chrome extension)[x] account-transaction-list has commented code in "presentEditPopover"
[x] sub-account-add.ts "prepareOriginate" not implemented yet
[x] sub-account-import.html "import-all" string with translated parameter is commented out
[x] sub-account-select.ts "goToDelegateSelection" not implemented
[x] Enable
ProtocolSelectPageModule
incomponents.module.ts
[x] swap.ts
onDidDismiss
uses protocolIdentifier.data. Shouldn't it be "protocolIdentifier"?[x] In the swap.html, this line was changed:
[(ngModel)]="exchangeAmount"
. Check if it still works[x] add-account page has inconsistent navigation (info and mainProtocolIdentifier)
[ ] @devotebest scanner on
scan-address.ts
doesn't work (and not sure ifsendAddressToParent
callback will be executed)Refactoring (not high priority)
[ ] No shadowed variables
[x] Check sentry error handler
[ ] Use async/await instead of promises (eg. alerts)
[ ] Use TS 2.7 features
[ ] Data service use TS 2.7
[ ] Scan-Sync page not used?
[ ]
component-selector
anddirective-selector
should use prefixairgap
[ ] Discuss if "DataResolverService" should be a Guard or a Service
[ ] Page transitions fire a lot of events (looking at the performance tab in Chrome). Is there a way to improve that?
[ ] Not a regression, was like that in Ionic 3 Animations are sometimes covering or not covering the previous page. Easy place to reproduce: When opening an account and then using "swipe to go back" slowly, you can see that the "header" of the transaction page overlays the chart on the portfolio screen.
Tests
[x] Remove ionic3 mocks and replace with ionic4 mocks.
[ ] @devotebest Re-Enable all tests
UI
[x] @AndreasGassmann Exchange screen input doesn't allow "."
[x] @devotebest
prepare transaction
page slider only has 2 steps, but should have 3.[x] @devotebest Transaction detail sometimes does not include info like "fee", "amount", etc. This is probably related to the error
TypeError: _co.transaction.fee.toNumber is not a function. (In '_co.transaction.fee.toNumber()', '_co.transaction.fee.toNumber' is undefined)
on thetransaction-list
page.[x] Text "FROM", "AMOUNT", on "transaction-confirm" and "transaction-detail" is too big.
Web
Extension
npm run extension:build:extension-only
givesError: Could not inject extension css!
iOS
[ ] @pascuin Buttons on the bottom are too close to the border on an iPhone X, there should be a bigger gap. So it's most likely not the right style.
[x] Edit popover on transaction list screen has an "empty space" below the 2 items.
[x] When importing a wallet (same device), the address gets generated and displayed, but the amount is only visible after touching the screen (probably related to ngZone).
Android
Ionic issues / Needs discussion