1. 30 Jul, 2020 1 commit
  2. 28 Jul, 2020 1 commit
    • Hanwen Cheng's avatar
      refactor: state management and extract unstated (#660) · 5b5c5c78
      Hanwen Cheng authored
      * alert backbones
      
      * extract global state into context
      
      * create and use context for alert
      
      * make lint happy
      
      * add actions to alert
      
      * refine alert styles
      
      * replace all the alert with context
      
      * refactor context
      
      * install unstated next
      
      * Create AccountsContext.ts
      
      * remove withAccountStore
      
      * refactor accountStore with Context
      
      * use withCurrentIdentity HOC
      
      * make linter happy
      
      * fix props types
      
      * use scanner context
      
      * refactor registries store and scanner context
      
      * refactor txStore
      
      * remove unstated from account unlock
      
      * remove state when scanning
      
      * update alerts
      
      * upgrade detox
      
      * make lint happy
      
      * fix identity manipulation e2e test
      
      * refactor account store
      
      * safe area view for container
      
      * fix scanning
      
      * fix signing issue with react hooks
      
      * remove debugging code
      
      * clean hoc and rename accountsStore
      
      * update types
      
      * fix types
      
      * remove unused functions
      
      * revert detox upgrade
      
      * fix lint warning
      
      * update ios version on e2e
      5b5c5c78
  3. 02 Jun, 2020 1 commit
    • goldsteinsveta's avatar
      style: revamp / mop up ui (#619) · 77195601
      goldsteinsveta authored
      
      
      * style: navigation bar bg color
      
      * feat: component QrTab
      
      * rename: QrTab > QrScannerTab
      
      * style: networkCard icons
      
      * fix: tsc declare 'react-native-navbar-color'
      
      * style: ButtonNewDerivation
      
      * style: pink everything derivation + refactor components
      
      * refactor: colors
      
      * style: identitiesSwitch
      
      * font: RobotoMono-Medium
      
      * refactor: ButtonMainAction
      
      * style: nits
      
      * fix image names
      
      * add images in ios
      
      * add font in ios
      
      * ignore yellowbox in e2e local test
      
      * fix header styling
      
      * style: nits
      
      * style: removes gap between PathsList view and ButtonNewDerivation
      
      * style: ButtonNewDerivation nits
      
      * move qrscanner to the bottom of the screen
      
      * style and typo: nits
      
      * style: color coding as in polkadotjs apps and polkascan
      
      * style: contrast ratios
      
      * style: derivations
      
      headings, gaps between groups
      
      * style: nit
      
      * style: signedMessage
      
      * reorder styles
      
      * change opacity of white color
      
      * fix button styles
      
      * use scroll container
      
      * fix: borked button
      
      * style: lighter white-gray
      
      * style: column buttons
      
      to be safe at small devices
      
      * style: compact seed input
      
      * style: nits
      
      * fix: typo
      
      * fix: blurry pixels
      
      * fix: app bg mismatch
      
      * style: center small lock
      
      * style: shadow
      
      * set pin input to vertical center
      
      * remove unused component
      
      * align button styles for android and ios
      
      * add extra padding for identities switch icon make it easier for tap
      
      * style: signed extrinsic/tx
      
      same as the new signed msg
      
      * style: QR first signing screens
      Co-authored-by: default avatarHanwen Cheng <heawen.cheng@gmail.com>
      77195601
  4. 26 May, 2020 1 commit
  5. 30 Apr, 2020 1 commit
    • Hanwen Cheng's avatar
      feat: support pinless signing when user already input pin recently (#589) · 23cc5f65
      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
      
      * destroy reference when app go into background
      
      * fix lint
      
      * add seed ref functions
      
      * enable pin los address creation
      
      * signing with seed reference
      
      * fix bridge in ios
      
      * use lists for data pointers for each identity
      
      * createSeedRefWithNewSeed function
      
      * fix logic error
      
      * more fix and complete e2e test
      
      * remove console log
      
      * add copyright
      
      * fix lint errors
      
      * fix unlock identity error
      23cc5f65
  6. 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
  7. 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
  8. 20 Jan, 2020 1 commit
  9. 09 Jan, 2020 1 commit
  10. 21 Dec, 2019 1 commit
  11. 28 Nov, 2019 1 commit
  12. 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