1. 21 Apr, 2020 1 commit
    • Hanwen Cheng's avatar
      feat: add passworded identity (#565) · 67fd659d
      Hanwen Cheng authored
      * fix: upgrade react navigation v5
      
      * update project settings in ios
      
      * improve navigation by upgrading to react navigation v5
      
      * make compiler happy
      
      * unlink react-native-secure-storage
      
      * make detox and react-navigation happy again
      
      * make e2e test happy
      
      * use safe area context app wide
      
      * delete stray comment
      
      * fix screen heading styles
      
      * fix pin backup navigation
      
      * revert change to rust target
      
      * fix ui overlap on android
      
      * remove bounce in ios scroll view
      
      * lint fix
      
      * feat: enable passworded identity
      
      * use keyboard scroll view
      
      * complete password generation
      
      * update react-native-camera and related polkadot api packages
      
      * add registry store and use type override
      
      * reduce android bundle size
      
      * update yarn.lock
      
      * update metadata
      
      * prettier happy
      
      * update polkadot api
      
      * add password in pinInputt
      
      * remove password from identity
      
      * add password in path derivation
      
      * remove log
      
      * complete password support
      
      * make compiler happy
      
      * refactor account store error handling
      
      * remove password check when signing
      
      * add lock icon for passworded account
      
      * add hint also on path
      
      * add extra hint text
      
      * fix autofocus and remove useRef
      
      * add e2e test suit for passworded account
      
      * make lint happy
      
      * add path error indicator
      67fd659d
  2. 01 Apr, 2020 1 commit
  3. 19 Mar, 2020 1 commit
    • Hanwen Cheng's avatar
      refactor: Imporve navigation (#562) · 91410fe6
      Hanwen Cheng authored
      * fix: upgrade react navigation v5
      
      * update project settings in ios
      
      * improve navigation by upgrading to react navigation v5
      
      * make compiler happy
      
      * unlink react-native-secure-storage
      
      * make detox and react-navigation happy again
      
      * make e2e test happy
      
      * use safe area context app wide
      
      * delete stray comment
      
      * fix screen heading styles
      
      * fix pin backup navigation
      
      * revert change to rust target
      
      * fix ui overlap on android
      
      * remove bounce in ios scroll view
      
      * lint fix
      91410fe6
  4. 11 Mar, 2020 1 commit
  5. 03 Mar, 2020 1 commit
    • Hanwen Cheng's avatar
      refactor: migrating to typescript (#521) · e1785af7
      Hanwen Cheng authored
      * init typescript settings
      
      * change let to const
      
      * use typescript strict
      
      * update lint config for typescript
      
      * update lint config for typescript
      
      * upgrade to react-navigation v4 and use typed navigator
      
      * add required dependency for react navigation
      
      * update with eslint and App.tsx
      
      * following merging
      
      * refactor buttons
      
      * refactor
      
      * stash
      
      * add types for networks specs
      
      * fix add legacy account error
      
      * update typescript configs
      
      * refactor identity and account stores
      
      * hoc.js to typescript
      
      * refactor main landing page
      
      * complete identity utils and account store
      
      * renaming files
      
      * refactor components and payloads component
      
      * refactor all the components and scanner store
      
      * fix typescript compiler errors
      
      * rename alls screens
      
      * refactor screens
      
      * refactor all the screens
      
      * fix typescript compiler errors
      
      * fixed compiler and lint error
      
      * reorder files and use path alias
      
      * reoder imports
      
      * ignore jest caches
      
      * integrate typescript with jest
      
      * integrate e2e test
      
      * update travis config and readme
      
      * remove logs and comments
      
      * delete redundant line
      
      * fix scanner name
      
      * multi signing fix
      
      * add default catch
      
      * use await to avoid async problem and remove one warning with source.uri
      
      * use path alias of e2e and utils
      
      * imporve sign button display in small screen
      
      * hide path derivation option for ethereum account
      
      * fix path display error
      
      * fix ethereum delete problem
      
      * imporve navigation
      
      * upgrade react navigation to resolve bug
      
      * add react hooks lint
      
      * fix missing icon bug
      e1785af7
  6. 06 Feb, 2020 1 commit
    • Hanwen Cheng's avatar
      feat: enable network selection for custom path (#536) · 5700a4dd
      Hanwen Cheng authored
      * extract root as normal custom account
      
      * extract network root account into list
      
      * do not create root account when create new identity
      
      * renaming new root account
      
      * enable derive path in paths list
      
      * init network selector component
      
      * complete UI component and path derivation
      
      * complete functionality
      
      * fix bug
      
      * exclude network options in dev
      
      * use pathId to index custom path account's network
      
      * update warning
      
      * enable create custom path and fix touchable error in android
      5700a4dd
  7. 16 Jan, 2020 1 commit
  8. 09 Jan, 2020 1 commit
  9. 02 Jan, 2020 1 commit
  10. 23 Dec, 2019 1 commit
    • Hanwen Cheng's avatar
      feat: Enable create custom path (#497) · c89ee27b
      Hanwen Cheng authored
      * add network icon to legacy account
      
      * refactor screen heading
      
      * fix stylesheet creation
      
      * remove protocol from AccountIcon
      
      * add root account derivation
      
      * enable derivation root from derivationPath screen
      
      * add '//kusama' into test suites
      
      * fix match and remove console.log
      
      * flatten styles in screenHeadings
      
      * fix: enable creating custom path
      
      * enable signing with unknown network
      
      * fall back unknown network to substrate network
      
      * change workflow
      
      * adjust e2e test
      
      * add custom path test
      
      * adjust test and fix group with unknown network root path
      
      * remove redundant component
      
      * fix nits
      
      * enable root address
      
      * use corresponding network key when generating known network
      
      * root identity in the network list screen
      
      * fix ui of root account
      
      * fix delete navigation
      
      * remove root from customized paths
      
      * update warning text
      
      * grammar ...
      
      * rephrase and fix network list calculation
      
      * display account info in transaction screen
      
      * fix signing and naming
      
      * rephrase warnings
      
      * fix signing problem
      
      * fix scanner extra cleanup error
      
      * refine navigation
      c89ee27b
  11. 21 Dec, 2019 1 commit
  12. 12 Dec, 2019 1 commit
    • Hanwen Cheng's avatar
      feat: enable create root account under a network (#494) · b1ea1f6d
      Hanwen Cheng authored
      * add network icon to legacy account
      
      * refactor screen heading
      
      * fix stylesheet creation
      
      * remove protocol from AccountIcon
      
      * add root account derivation
      
      * enable derivation root from derivationPath screen
      
      * add '//kusama' into test suites
      
      * fix match and remove console.log
      
      * flatten styles in screenHeadings
      
      * change workflow
      
      * move add network button to bottom
      
      * revert the channge on AccountNetworkChooser.js
      b1ea1f6d
  13. 27 Nov, 2019 1 commit
  14. 22 Nov, 2019 1 commit
    • Hanwen Cheng's avatar
      major: HDKD feature (#431) · 4c86d8cf
      Hanwen Cheng authored
      * create legacy account list and identities switch
      
      * refactor account store for legacyAccountList view
      
      * init identityNew screen
      
      * style: logo
      
      * style: color change
      
      * react vector icons
      
      * component: ButtonIcon
      
      * IdentitySwitch in header
      
      * rename empty to emptyAccount
      
      * finish identityNew screen data binding
      
      * Update IdentitiesSwitch.js
      
      * style: header
      
      * ButtonIcon text option
      
      * remove useless isWelcome and fix lint error
      
      * fix typo
      
      * refactor LegacyAccountBackup
      
      * init IdentityNew
      
      * ButtonIcon onPress isRequired
      
      * font styles component
      
      * style: IdentitySwitch
      
      * style mop up: IdentitySwitch
      
      * style chores
      
      * style: listed cards
      
      * basic account creation for identity backup screen
      
      * IdentityBackup, IdentityPin, PathsList
      
      * shadow and misc styles
      
      * style mop up: listed cards
      
      * network logos
      
      * AccountCard can function as a networkButton
      
      Because in v4 each identity has only one network account for each network, there's no need for visual differenciation between networkButton and AccountCard in AccountList, NetworkChooser, AccountNew, AccountRecover etc.
      
      * style: layout containers for screens with AccountCard
      
      * style and fixedPrefix prop for TextInput
      
      fixedPrefix will be used to indicte full derivation path
      
      * fontStyle for seed phrases
      
      * unlock logic, new seed generation, path derivation
      
      * prepared place for identityList
      
      * integrate idenity serializer
      
      * add and move specs to certain foler
      
      * Button props
      
      * show path with netwok
      
      * merge
      
      * data bind with derivation path screen
      
      * remove navigationOptions and refactoring to stateless component
      
      * finish identity recover feature
      
      * fix all lint warnings
      
      * current identity label on identitiesSwitch
      
      * identiy management and identity backup
      
      * fix derivation and add error handling for wrong derivation path
      
      * group paths in paths list screen
      
      * show path name
      
      * path details screen, delete path function
      
      * add Path Management Screen
      
      * reset disconnect behaviour
      
      * use accountId as address
      
      * ethereum account list in idenitty and remove legacy account creation
      
      * signing function for the account in identity store
      
      * fix according to YJ review, reset some navigation behavior
      
      * fix some warnings
      
      * Update SecurityHeader.js
      
      * scrollable identitySwitch
      
      * show only available networks
      
      * rephrase backup identity
      
      * add scan buttton to the bottom
      
      * start screen with network chooser
      
      * revert conflicts
      
      * settings
      
      * Revert "revert conflicts"
      
      This reverts commit c54069f5.
      
      * e2e test for default substrate account creation
      
      * e2e test for derivation hard key
      
      * show no accountt hint text on androiid
      
      * refactor qr scanner
      
      * add identity management dropdown to every identity
      
      * style: identity screen
      
      * fix initial errors
      
      * update account network chooser
      
      * directly navigation to derivation if there is no key
      
      * add path id for kusama dev
      
      * directly account creation with ethereum account
      
      * networkParams example
      
      * show error icon if network is unknown
      
      * style: pathCard for non-Substrate
      
      * style: group path
      
      * style: substrate derivation
      
      * display path of groupPaths
      
      * vertical spacing for (un)grouped pathCards
      
      * fix address issue
      
      * btns: new derivation and scan
      
      * style: qr
      
      * delete error handling
      
      * after delete non-substrate
      
      * switcher style corrections
      
      * antdesign icons
      
      * icons and headings
      
      * eth address render fix
      
      * heading PathsList
      
      * sign message bug fix, navigate to signedMessage
      
      * style details
      
      * styles: optimised for smaller screens
      
      * ScreenHeader and ButtonMainAction components everywhere
      
      * ButtonMainAction display adjustments
      
      * display logic for different user cases
      
      * scan button fix
      
      * security and errors
      
      * upgrade detox to latest version and merge
      
      * use new fonts
      
      * `add legacy account` button for test backward compatibility
      
      * add test for delete path
      
      * textInput adjustments
      
      * delete idenitity
      
      * add currentIdentity to pathcard
      
      * fix test multi item problem
      
      * add mock file for scanning test
      
      * mock recover identity and update genesisHash
      
      * Screens with seeds
      
      * screens w popups
      
      * identity (mnemonic) icon in paths
      
      * add account signing process
      
      * tested signing process, and bug fixes
      
      * style chores
      
      * correct signing process
      
      * improved touch, scroll and popup behaviours
      
      * new shadows
      
      * error test @YJ
      
      * fix: test_substrate_sign1
      
      * remove test sign1
      
      * fix delete bugs
      
      * style onboarding message
      
      * payload screen styling
      
      * fix navigation after scan
      
      * refactor signed screen
      
      * button position @ios fix
      
      * icon centering @ios fix
      
      * back from debugging
      
      * lead to identitiesSwitch after deletetion
      
      * signed message styling
      
      * fix signed message styling
      
      * fix signing in ethereum
      
      * fix eslint with hooks
      
      * use async functions for setState
      
      * group alerts
      
      * more test cases and soft key fix
      
      * improve path grouping
      
      * sort list and add keys
      
      * hide tac buttons after first login
      
      * put logo on left consistently
      
      * use alternative for regex look behind
      
      * fix e2e test
      
      * use switchNavigator
      
      * remove logs and remarks
      
      * remove useless code
      
      * copyright and use strict everywhere
      
      * comment out unused code
      
      * use accountId instead of address
      
      * remove warnings
      
      * remove logo when back button appear
      
      * Use about screen instead of settings
      
      * fix grumbles
      
      * remove unused refs
      
      * style fix
      
      * back from debugging
      
      * fix card name not shown problem
      
      * style: Substrate TxDetails
      
      * indication of sender/recipient for PathCards
      
      * move duplicated code into component and fix merge error
      
      * fix: loading error
      
      * move method to top
      
      * fix naming in path derivation
      
      * separate soften keys from harden
      
      * use memo to improve performance on pathslist
      
      * Revert "Merge branch 'hanwen-fix-loading' into sveta-hanwen-hdkd"
      
      This reverts commit 7fbcfb25, reversing
      changes made to b0375444.
      
      * UI fix, fix unclickable legacy items on legacyAccountList
      
      * TxDetails for small screen
      
      * 8 * 4 = 32
      
      * fixes according to code review
      
      * extract onPress and use PureComponent if possible
      
      * add error handling for derived address generation
      
      * fix signing
      
      * fix grumbles according to review
      
      * save uppercase account id
      
      * fix styling
      
      * fix grumbles
      
      * extract function out of render method
      
      * Update identityManipulation.spec.js
      
      * fix extra separator
      
      * two buttons in row for small screen
      
      * styling fix
      
      * remove extra margin
      4c86d8cf