Jaco Greeff
64aa46d299
Toolbox verify func. ( #1749 )
2019-10-21 13:08:38 +02:00
Eswara Sai
2a4d761e0f
Added parser to extract i18n strings ( #1710 )
...
* Added parser to extract i18n strings
* Fixed issues with eslint for config file
* Moved i18n locales to apps/public folder
* Updated script to have i18n strings as default value
2019-10-11 15:12:36 +02:00
Peter Chung
f930d4c113
Align Sig Validity Indicator ( #1660 ) ( #1697 )
...
* Align Sig Validity Indicator (#1660 )
* Verify: moved AlignedIcon to top of the file and adjust indent size
* Verify: add font-size:32px to i element of AlignedIcon and remove redundant className
2019-10-08 09:35:40 +02:00
Jaco Greeff
7c6a4b1b07
Add Option handler to param inputs ( #1686 )
...
* Add Option handler to param inputs
* Remove stray debug log
* Linting cleanups
* Bump deps
2019-10-02 14:06:25 +02:00
Jaco Greeff
1f30baba76
Display Option<Type> on RPC toolbox ( #1685 )
2019-10-02 10:34:24 +02:00
Jaco Greeff
1440d83545
Additional functional components ( #1668 )
...
* Additional functional components
* Additional
* SideBar
* Sign & Verify
* Small Signer modal updates
* Formatting
* Remove staking css (external file)
* Defaults in props
* Small adjustments
2019-10-01 16:22:23 +02:00
Jaco Greeff
f67058e4c0
Cleanup InputAddress export, proper props ( #1673 )
2019-09-27 12:29:30 +02:00
Jaco Greeff
6f8da05805
More func. components, Button labelIcon -> icon (req.) ( #1649 )
2019-09-24 10:00:05 +02:00
Jaco Greeff
00048285d0
Some more functional component conversions ( #1648 )
2019-09-23 17:46:15 +02:00
Bhanu Teja P
01271da389
Add relevant icons to top-level buttons ( #1618 )
...
* Add relevant icons to top-level buttons
* Add some missing icons
* Add some missing icons
* Add missing icons
2019-09-19 12:57:10 +02:00
Jaco Greeff
72f803926f
Some small component conversions ( #1581 )
...
* Some small component conversions
* Default exports
* Squashing
* Some additional components
* Linting
2019-09-13 10:29:44 +02:00
kwingram25
2752bedc6e
Functional components (app-*) ( #1559 )
...
* Functional components (app-*)
* refactor
* refactor
* refactor
* refactor
* refactor
* Revert "refactor"
This reverts commit 300a12ed7de5b1000f32f5269dff67f5ee1c1515.
* onRemove
2019-08-29 17:45:02 +02:00
Jaco Greeff
9beece08c9
Allow optional params in state/toolbox ( #1554 )
...
* Allow optional params in state/toolbox
* RPC calls work with optional
2019-08-28 17:30:11 +02:00
Jaco Greeff
66ca8ea61e
Hygiene, some additional type -> interface ( #1552 )
...
* Higene, some additional type -> interface
* Liniting
2019-08-28 12:52:48 +02:00
Jaco Greeff
4c53997b66
Bump deps ( #1543 )
2019-08-27 15:19:59 +02:00
Jaco Greeff
e6ca2db884
Rename ui-* -> react-* ( #1495 )
...
* Rename ui-* -> react-*
* Rename actual folders
* react-app -> react-components
* CSS links
2019-08-12 13:12:05 +02:00
Jaco Greeff
b4de745cda
Support latest api (with dynamic types) ( #1447 )
...
* Make a start, halfway down with issues found...
* Around 80% through untangling the linter
* Seems linted...
* Adjust latest
* Update for latest (Moment -> u64)
* Method -> Call
* Bump api from npm
* formatNumber (no unwrap needed)
* Update to latest ui packages
* Revert internal version downgrades
2019-07-29 12:24:43 +02:00
Jaco Greeff
37da9af44e
Allow selection of address prefix ( #1412 )
...
* Allow selection of address prefix
* Revert local prefix change
* Allow vanitygen network flag
* Cleanup linting
2019-07-16 22:31:16 +02:00
Jaco Greeff
8bb35dd9ff
Complete eslint swap ( #1407 )
2019-07-16 11:56:40 +02:00
Jaco Greeff
144c8bbd85
eslint fixes (round 2) ( #1401 )
...
* eslint fixes (round 2)
* ui-params converted
* Tiny.
* Classes fix
* Some type cleanups
* Cleanup traling ,
* < 1k
* Small additions
* <750
* Mini updates modifiers
* More ui-app cleanups
* 312 problems (182 errors, 130 warnings)
2019-07-15 23:17:19 +02:00
Jaco Greeff
0e2265ff70
Some initial pre-eslint cleanups ( #1383 )
...
* Some initial cleanups
* Make it lint
* Small s/type/interface/ additions
* Small minor s/type/interface/
* More type -> interface
* Add lint:new rule
* Some small updates
* Cleanup dangling tslint issues
* Small updates
* ui-signer cleanups
* ui-reactive updated
* Make lint:new run
* Mini ui-params cleanups
* Some additions
* Tiny... and done for now.
* 1950 problems (1241 errors, 709 warnings)
* 1829 problems (1181 errors, 648 warnings)
* 1674 problems (1181 errors, 493 warnings) (no any... for now)
* Small additions.
* Array<T> -> T[] (all)
2019-07-14 22:27:12 +02:00
Thibaut Sardan
4205907b7c
Fix for democracy overflow and signing ( #1379 )
...
* unlock-signing-fix
* overflow in referenda and motions
* revert
* sign fix bis
* alphabetical order
2019-07-12 00:46:08 +02:00
Jaco Greeff
1a404b76ca
Additional styled componentn adjustments ( #1337 )
2019-06-24 16:40:32 +01:00
Jaco Greeff
c76161263b
Small rework of styled (to bottom) ( #1310 )
...
* Small rework of styled (to bottom)
* Add isRoot to council
2019-06-19 17:31:31 +02:00
Jaco Greeff
6440e3baaa
Bump deps (change use as required) ( #1293 )
...
* Bump deps (change use as required)
* Bump api with send fix
2019-06-13 20:19:15 +02:00
kwingram25
4b7987ae1c
New contracts app ( #1283 )
...
* new contracts app
* new contracts app
* test ci fix
* fixes
* fixes
* remove abi inline
* css code card
* icon buttons
* fixes
* fixes cont.
* travis ci fixed
* api version
2019-06-12 13:52:53 +02:00
kwingram25
dc943d7cd6
Button/TxButton submit on enter ( #1170 )
...
* Button/TxButton submit on enter
* promise linting
* testing ref approach
* Add TxComponent to handle submit on enter
* remove accountNonce
* remove input ref
* remove TxButton constructor
* remove comment
* empty constructor
* linting
* bug with null ref
* linting
2019-05-22 18:08:58 +02:00
Jaco Greeff
47f38e5192
Unlock modal update ( #1166 )
...
* Unlock modal update
* Update packages/app-toolbox/src/Unlock.tsx
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2019-05-16 16:02:43 +02:00
Stefanie Doll
a2d0eabf66
Toolbox App RPC method bugfix & cleanup ( #1171 )
...
* WIP
* Removed unused code
* Add missing init values to ui-params
* Removed unused import
* Poke Travis
* Removed console.log
* Happy linting
* re-added the unused prevProps
2019-05-15 21:30:26 +02:00
Thibaut Sardan
634560938a
Fix signing tool ( #1157 )
...
* fix input
* remove logs
* with logs
* remove defaultValue
* unlock overlay warning
* address comments
* white space
2019-05-14 11:44:08 +02:00
Jaco Greeff
2596c3c940
Style cleanups (styled & unused) ( #1151 )
2019-05-14 11:04:49 +02:00
Jaco Greeff
92a6d0c7df
Additional help messages ( #1137 )
...
* Additional help messages
* Toolbox
* Update packages/app-settings/src/General.tsx
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
* Update packages/app-toolbox/src/Unlock.tsx
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2019-05-10 19:33:50 +02:00
Jaco Greeff
f4f20575c3
Support sr25519 signatures (toolbox verify) ( #1131 )
...
* Support sr25519 signatures (toolbox verify)
* Rework verify layout
* Update packages/app-toolbox/src/Verify.tsx
Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2019-05-10 19:12:00 +02:00
Jaco Greeff
bb5cf67d61
Convert some apps to styled components ( #1099 )
...
* Move 123code to styled components
* Convert some apps to using styled-components
2019-05-10 14:03:37 +02:00
Jaco Greeff
19bfb7f3c4
Adjust toolbox layout (.small is problematic) ( #1106 )
2019-05-09 14:35:29 +02:00
Jaco Greeff
338bd517a0
Remove /index imports (swap to bare) ( #814 )
...
* Remove /index imports (swap to bare)
* Bump deps
2019-03-14 10:45:58 +01:00
Jaco Greeff
9adfd46cc3
Bump i18next version (with usage changes) ( #736 )
...
* Bump i18next version (with usage changes)
* Remove unneeded i18n wrapping (Unlock)
* Bump semantic-ui version
2019-02-20 10:26:27 +01:00
Jaco Greeff
5feb22b07e
Cleanup @polkadot/types imports ( #711 )
2019-02-13 22:49:10 +01:00
Jaco Greeff
1e86fb745c
Bump API for hash-value signatures ( #665 )
...
* Bump API for hash-value signatures
* Imports, hide tabs, not apps
* Update with derive-fixed API
* Remove unused type import
2019-01-31 21:19:36 +01:00
Jaco Greeff
a8ed300dc4
Small init changes (static state) ( #663 )
...
* Small init changes (static state)
* Hide vanity on empty accounts
* Require accounts for apps, cleanup needsApi/needsCalls
* Display InputAddress when disable (but no options)
* Filter toolbox based on accounts
* Accounts gated via app, don't display add
* Cleanup linting
* Validation display & clear on settings types
* Split save for developer & general
* Add Reset button to dev settings
2019-01-31 18:02:47 +01:00
Jaco Greeff
6ce31fc1da
Rework Tabs component (using react-router) ( #660 )
...
* Rework Tabs component (using react-reouter)
* Remove unneeded props (already specified)
* Bump API
* Bump API for finalised v1 support
2019-01-30 20:40:29 +01:00
Jaco Greeff
f547f8f0b1
Rework labelled layouts ( #654 )
...
* Rework labelled layouts
* Adjust storage output display
* Minor adjustments
* Linting cleanups
* Remove unused injected ia8n
* Minor adjustments
* Force Param re-render, fix Nonce params
* Text updates
* Expand Params key
2019-01-27 22:33:29 +01:00
Jaco Greeff
653c2a505f
Basic info display for 123-code ( #641 )
...
* Add withCalls
* withCalls operational
* Basic header display & cleanups
* Global account selector for app
* Remove errant debug log
* Simple transfer applet working
* Update Upgrade.tsx
* Update InputNumber.tsx
* Update Transfer.tsx
* Move TxButton back to 123code (for the time being)
* Good enough for a v1
2019-01-27 12:50:47 +01:00
Jaco Greeff
612b5d0f45
API update (metadata v1), fragment support ( #652 )
...
* Use fragments instead of [] returns
* Frament part 2
* Update API
* Update Creator.tsx
* Review cleanups
2019-01-26 17:27:13 +01:00
Jaco Greeff
bbb9bb0fee
Move app-rpc into app-toolbox ( #637 )
...
* Staking condensed
* Move app-rpc into app-toolbox
* Adjust children rendering (summary)
* Polkadot highlights
* Display most-recent as expanded (explorer)
2019-01-22 13:38:56 +01:00
Jaco Greeff
864171e00a
Simplify i18n templates ( #623 )
...
* Start...
* Complete simplify i18n
2019-01-20 13:14:27 +01:00
Jaco Greeff
45e42047f3
Node status app ( #618 )
...
* Structure for app-status (bonus: starting app-template to document)
* Add steps to add a new app from the template
* Follow instructions, ensure we have something working
* README update
* Disable Wiki (for the time being)
* Split last sidebar render helper
* speellung (edit: spelling), AppProps & empty new apps (current)
* app-template -> app-123code
* Status header in-place
* Very basic distus display in place
* Overflow for hash
* app-status -> app-nodeinfo
2019-01-19 22:18:35 +01:00
Jaco Greeff
7e01f3cb37
Allow edit/add from address in recents ( #601 )
...
* Allow edit/add from address in recents
* Package upgrade restore after merge
2019-01-14 15:16:28 +01:00
Jaco Greeff
fef9f61c65
Use ApiPromise instance, replace ApiObservable ( #540 )
...
* Expose ApiPromise, cleanup API props
* WIP
* First component via ApiPromise
* More items via ApiPromise
* More robust availability handling
* Disable routes based on API endpoint checks
* Handle promises
* Low-hanging fruit for call conversion
* Remove extra params
* Adjust rx components with children props
* Start pulling in derived values
* Additional derived
* Bump
* More derived values
* Add derive.balances.fees
* Additional account lookups
* derive lookup for Id -> Index mappings
* Cleanups, accountIdToIndex
* Rework for new API
* Update deps, all-ok after API bumps
* Add voting and validating balances
* Cleanup callback
* Democracy wrap-up
* 2019
* withApiPromise -> withApiCall
* Calculate referendum number
* Fix balances, withObservableBase -> withObservable
* Cleanup with actual interfaces
* withApiCall -> withCall
* Bumps
* api-observable types replaced
* Half-effort to adjust extrinsic creation
* No api-observable refs anymore
* Cleanup storage query app
* Cleanup call
* Voting works...
* Add Vote component
* Update API
2019-01-07 17:54:01 +01:00
Jaco Greeff
4f96fc0d3f
Merge next into master ( #529 )
...
* Update API deps
* Duplicate new Api from api
* Explorer renders
* Cleanup trapping
* Allow Moment values
* Vector -> Array
* Add mapping FIXME
* Updates
* proposals -> publicProposals
* QueueTx
* nonce -> accountNonce
* Cleanup (some) naming
* FIXME
* Cleanups
* cmp & isZero on UInt
* WIP... storage dropdowns may work after latest API PR...
* Misplaced .public
* Update exposed methods
* Remove getBlock checks (available in poc-3)
* Align method/section
* Align with API (method)
* api-codec -> types
* Reanme API interfaces
* Type updates, still very much a WIP
* We have updating queries... without params
* Chainstate app is working
* Get rid of some params imports
* Cleanups
* Remove app-example... outdated, non-working
* Remove app-example link from README
* Additional cleanups
* InputRpc dropdowns working
* We can make transfers (Transfer app)
* Call doesn't encode toU8a
* Cleanup to use extrinsics from Api
* Remove references to @polkadot/params
* Update deps
* Submitting transactions hsould work in app-*
* Bump
* Extrinsics app renders
* Extrinsic app can transfer
* Adapt travis.yml
* Force things to pass checks...
* Update @polkadot/dev for gh-pages -> next
* Bump dev (hopefully now gh-pages deploy)
* Default theme
* Don't skip signer for sending
* Don't throw on unknown types
* Signer queue rework
* Render input params for rpc
* Explorer click-through working
* Update deps
* WIP#327 - app-accounts with ss58 address inputs
* transformtoss58 returns valid address or null
* syntax
* app-accounts
* app-democracy
* app-extrinsics
* app-rpc
* app-staking
* app-transfer
* Generate ui-identicon from ss58 as input
currently handling null address with null return - there should be a better way to do this but it "works".
* ui-app
adapt onChange Props params
* manage identities with ss58 addresses rather than u8a.
also currently handling null value input, should be a better way to handle this but currently "works".
* ui-signer use ss58 address in keyring
* ui-signer combine duplicate imports
* ui-signer signMessage with ss58 address
derive public key by decoding ss58 input
* use 'accountId' as variable name instead of 'ss58'
* Addressing some issues
* sanity check for accountId by decoding and checking public key
* allow u8a account id types for more flexibility around short address input types in the future
* throw error on generate identicon with empty seed
* fix: accountId over publicKey
Transactions work in extrinsics and transfers.
* fix linting errors in rpc, addresses, transfer, identicon
* accountId in stakelist
* Allow file upload for Bytes
* Extrinsic change updates correctly, Params track codec instances
* Unused import
* Cleanup conflicts, linting
* [next] Display balance with μ, k & m (#350 )
* Display balance with μ, k & m
* balanceFormat to handle UInt
* let -> const
* Format static Balance properly
* Take care of new extrinsics format
* m -> M (not mili, mega)
* [next] Proposals & democracy updates (#352 )
* Update README.md
* Proposals actually submit (non-valid atm)
* New API package
* Promposal propose
* Poposal decoding
* Proposal & Referendums show up
* Formats
* Proposal & voting works as expected
* Staking works as expected
* Staking & Democracy fully operational
* Update package.json
* [next] Update API deps (#354 )
* Update API deps
* Update type locations
* Update api deps
* [next] Add mnemonic support from keyring (#356 )
* Add mnemonic support from keyring
* Bump @polkadot/api
* Bump dependencies (#358 )
* [next] Add app-settings (#359 )
* [next] Add app-settings
* Update deps, cleanups
* Re-encode address for adding
* Action for seedType selection
* Revert denominations (#360 )
* [next] Dependency bumps (#362 )
* Bump API decoding
* Bump deps
* [next] Chain configs (#361 )
* Revert denominations
* Chain Id
* Distinct colours
* Cleanup options for settings
* Adjust tests aftrer colour change
* Gated on isConnected & isReady
* Allow selection/add of AccountIndex
* Remove examples (code removed already)
* Reverse Id <-> Index lookups
* Index reverse lookups
* Usable AccountIndex
* [next] Bump API (#363 )
* [next] Merge master (#364 )
* Update README.md
* Re-lock account only after save
* trying to get mapping of nominators correct (#346 )
* trying to get mapping of nominators correct
* changed double quote to single
* Fix for disabled chain state button bug (#351 )
* merge prev and next params on Selection key change
* build error
* [next] Balance formatting (#365 )
* Update README.md
* Re-lock account only after save
* trying to get mapping of nominators correct (#346 )
* trying to get mapping of nominators correct
* changed double quote to single
* Fix for disabled chain state button bug (#351 )
* merge prev and next params on Selection key change
* build error
* Load order (we need chain)
* Dropdown for seed type selection
* Allow SI unit selection on number inputs
* Remove unused function
* Cleanup BalanceFormatter
* Fix tests
* [next] Bump API version (#366 )
* Bump API version
* Proposal construction & chain units
* Update Extrinsic -> Call
* Pass correct call params
* Cleanup linting
* Re-encode address on loading
* Bump
* Lint fix.
* [next] Import from package indexes (#370 )
* [next] Import form package indexes
* Update deps, fix Transfer balance checks
* Add error on unlock
* Save account with hex encoded (not address)
* Import InputAddress for swap
* Bump @polkadot/api (staking nominators show up)
* Align api & util deps
* Bump @polkadot/api
* [next] Bump API, adjust call/method (#372 )
* Bump API, adjust call/method
* Add votes correctly to yay/nay
* [next] Local Testnet
* Don't link block 0
* [next] FF Warning message (#374 )
* FF Warning message
* Bump deps, massage message a bit
* Bump deps
* i18next upgrade changes
* Bump yarn to 1.10.1 in engines, travis (#379 )
* [next] submitAndWatchExtrinsic for transactions (#377 )
* WIP: Replace submitExtrinsic with submitAndWatchExtrinsic
TODO:
* don't `complete` when calling send, rather update as update messages come in from API
* adjust queue statuses in UI with new Status codec type from API.
* update api wrapper for subscribeAndWatch
* Update index.tsx
* subscribe to updates
* remove unneeded subscribe
* display result type
* Wrap up submitAndWatch status display
* Status background colours
* Revert indent
* Queue status icons (#380 )
* [next] Bump dependencies (#383 )
* Bump dependencies
* Update mock creation
* Don't mangle classes via uglify (#384 )
* [next] Update status overlay styling (#385 )
* Update status overlay styling
* Adjust colours for status messages
* Slight padding adjustments
* [next] refactor: Create export index files in ui-react-rx/src/{with/util} for single line destructuring imports (#388 )
* refactor: Create ui-react-rx/src/with index of exports. Import single line destructuring
* refactor: Create ui-react-rx/src/util index of exports. Import single line destructuring
* refactor: Use ui-react-rx/src/ index of exports. Import single line destructuring
* refactor: Refactor to use exported index
* refactor: Refactor to use another exported index
* fix: Add missing license headers. Avoid import from index in same location
* [next] Support latest substrate master (#390 )
* Update deps (api, compact support)
* Bump deps
* Update deps
* Compact<BlockNumber> for Header
* Handle Compact<*> rendering
* Cleanup warnings
* Update deps
* Not perfect, but warn on (invalid) hashes for blocks
* [next] keyring classify (#393 )
* refactor: reorder imports and props alphabetically
* fix: Make class methods private
* fix: Restrict user restoring account to select only .json. Add missing withLabel
* refactor: Replace onBack with onCreateAccount and onRestoreAccount
* fix: Show console.log of error in try/catch of Backup/Restore
* fix: accountAll is array of objects
* refactor: Move Backup keyring logic into ui-keyring
* refactor: Move restoreAccount logic into ui-keyring
* refactor: Move validatePass to ui-keyring as isPassValid with MAX_PASSWORD_LEN
* refactor: Issue #138 convert closure to separate function declare, call, export
* refactor: Issue #138 convert function to ES6 class object
* refactor: Move addPair, create, createMnemonic, restore, save into Keyring class
* refactor: Move backup/encrypt/forget account, get accounts, and save account meta functions into Keyring class
* refactor: Move get address/addresses, forget/save address, and save recent functions into Keyring class
* refactor: Move isPassValid, isAvailable functions into Keyring class
* refactor: Move loadAll into Keyring class
* refactor: Move much of ui-keyring/options into Keyring class
* refactor: Move private methods to top of class
* fix: fix: Prevent creating multiple instances of Keyring class
* Prevent creating multiple instances of Keyring class. i.e. the following does not create the second instance:
```
const keyringInstance = new Keyring();
const keyringInstance2 = new Keyring();
```
* References:
* https://codepen.io/JoeCoulam/pen/mRqbzz
* https://medium.com/@dmnsgn/singleton-pattern-in-es6-d2d021d150ae
* https://stackoverflow.com/questions/26205565/converting-singleton-js-objects-to-use-es6-classes/26227662#26227662
* fix: Prevent calling initOptions of Keyring singleton multiple times
* the following calls to initOptions are prevented since initOptions called when instance created with by loadAll() function:
```
const keyringInstance = new Keyring();
keyringInstance.initOptions();
keyringInstance.initOptions();
```
* test: Add test for Keyring singeton instance check and so initOptions only callable once
* feat: Move Keyring options back. Remove singleton check. Move initOptions check. Only export Keyring instance
* Move keyring options back into options folder
* Remove checking if Keyring is singleton
* Move checking if initOptions called multiple times and associated tests out of Keyring and into options folder file
* Add type to pair to fix linting
* Remove exporting Keyring class, only Keyring instance is exported
* refactor: Class-ify the Keyring options directory into a class named
* fix: Store state outside of Keyring instance
* refactor: Move keyring state into Keyring class. Add getters and setters
* Move observable accounts and addresses into Keyring class.
* Rename KeyringInstance interface to KeyringStruct (similar to app-settings)
* Add getter for keyring, accounts, and addresses to Keyring
* Add setter for keyring
* Add AccountSubject type
* Fix State type to use AccountSubject instead of AddressSubject
* Small private member tweaks
* Rework (overzealous private members)
* Fix rename in test
* [next] Block explorer event display (#392 )
* Update README.md
* Re-lock account only after save
* trying to get mapping of nominators correct (#346 )
* trying to get mapping of nominators correct
* changed double quote to single
* Fix for disabled chain state button bug (#351 )
* merge prev and next params on Selection key change
* build error
* Updated required Node version in README (#367 )
The minimum Node version is 10.1.0 as specified in the package.json 'engines'. The installation fails if the node version is below that (eg. v10.0.0 ), that's why I changed it in the README
* Simple (unformatted) event display
* section, method + types
* Display events on explorer
* Styling & overflow fixes
* Fix linting issues
* Node 10.13.0 LTS
* Revert message on block, reduce flicker
* [next] Update nvmrc version. Add missing packages to Readme. Indicate LTS required (#395 )
* docs: Fix typo in Readme
* fix: Update nvmrc to version in package.json
* docs: Add missing packages to Readme. Indicate that LTS is required
* Render logs in expanded block display (#396 )
* [next] Cleanup staking list balance displays (#397 )
* Cleanup staking list balance displays
* Don't naked map balances (params passed)
* Cleanup block display with cleaner formatting (#398 )
* Only filter dev accounts when in dev (#401 )
* [next] Move BIP generation to worker (UI responsiveness) (#400 )
* Move BIP generation to worker (responsive)
* Test & cleanup via local prod build
* [next] Fix length encoding for uploaded Bytes (#405 )
* Fix length encoding for uploaded Bytes
* Remove addressed FIXME
* Cleanup linting, adjust encoding via helpers
* [next] Handle null nonce in extrinsics (in addition to undefined) (#407 )
* Handle null nonce (in addition to undefined)
* Adjust types for partials
* Helper for submit RPC
* [next] Highlight validators (#402 )
* Add isHiglight to IdentityIcon
* Display validator highlight in Address{Row,Summary}
* Highlight validators in AddressMini
* Highlight validators in AddressInput
* Display zero balalnce as 0 instead of 0.000f (#408 )
* Cleanup explorer header display (#410 )
* [next] Align article headers (all h3, no extra classes) (#411 )
* Align article headers (all h3, no extra classes)
* Adjust overflowing columns in explorer
* Adjust app contemnt to cover screen (#412 )
* [next] Retrieve hash instead of calculating (slower) (#415 )
* Retrieve hash instead of calculating (slower)
* Cleanups
* Allow raw-key queries via the storage app (#416 )
[next] Allow raw-key queries via the storage app
* [next] Remove IdentityIcon bond dependencies (#419 )
* Remove IdentityIcon bond dependencies
* Cleanup tests
* Update README
* Update header
* Update headers
* Catch & display observable status errors (#422 )
* [next] refactor: Move backup/restore functionality to Keyring. See details (#386 )
* refactor: reorder imports and props alphabetically
* fix: Make class methods private
* fix: Restrict user restoring account to select only .json. Add missing withLabel
* refactor: Replace onBack with onCreateAccount and onRestoreAccount
* fix: Show console.log of error in try/catch of Backup/Restore
* fix: accountAll is array of objects
* refactor: Move Backup keyring logic into ui-keyring
* refactor: Move restoreAccount logic into ui-keyring
* refactor: Move validatePass to ui-keyring as isPassValid with MAX_PASSWORD_LEN
* fix: Change allAccounts type to SubjectInfo
* refactor: Example with clearer usage of for React Dropzone
* [next] refactor: Issue #138 . Convert closure into ES6 class object. Move methods into class (#387 )
* refactor: Issue #138 convert closure to separate function declare, call, export
* refactor: Issue #138 convert function to ES6 class object
* refactor: Move addPair, create, createMnemonic, restore, save into Keyring class
* refactor: Move backup/encrypt/forget account, get accounts, and save account meta functions into Keyring class
* refactor: Move get address/addresses, forget/save address, and save recent functions into Keyring class
* refactor: Move isPassValid, isAvailable functions into Keyring class
* refactor: Move loadAll into Keyring class
* refactor: Move much of ui-keyring/options into Keyring class
* refactor: Move private methods to top of class
* fix: fix: Prevent creating multiple instances of Keyring class
* Prevent creating multiple instances of Keyring class. i.e. the following does not create the second instance:
```
const keyringInstance = new Keyring();
const keyringInstance2 = new Keyring();
```
* References:
* https://codepen.io/JoeCoulam/pen/mRqbzz
* https://medium.com/@dmnsgn/singleton-pattern-in-es6-d2d021d150ae
* https://stackoverflow.com/questions/26205565/converting-singleton-js-objects-to-use-es6-classes/26227662#26227662
* fix: Prevent calling initOptions of Keyring singleton multiple times
* the following calls to initOptions are prevented since initOptions called when instance created with by loadAll() function:
```
const keyringInstance = new Keyring();
keyringInstance.initOptions();
keyringInstance.initOptions();
```
* test: Add test for Keyring singeton instance check and so initOptions only callable once
* feat: Move Keyring options back. Remove singleton check. Move initOptions check. Only export Keyring instance
* Move keyring options back into options folder
* Remove checking if Keyring is singleton
* Move checking if initOptions called multiple times and associated tests out of Keyring and into options folder file
* Add type to pair to fix linting
* Remove exporting Keyring class, only Keyring instance is exported
* refactor: Class-ify the Keyring options directory into a class named
* fix: Store state outside of Keyring instance
* refactor: Move keyring state into Keyring class. Add getters and setters
* Move observable accounts and addresses into Keyring class.
* Rename KeyringInstance interface to KeyringStruct (similar to app-settings)
* Add getter for keyring, accounts, and addresses to Keyring
* Add setter for keyring
* Add AccountSubject type
* Fix State type to use AccountSubject instead of AddressSubject
* Small private member tweaks
* Rework (overzealous private members)
* Fix rename in test
* merge latest from next. fix merge conflicts
* fix linting error
* fix: Remove unncessary code
* Bump API version (bugfixes) (#424 )
* [next] Apply fee color classes correctly (#426 )
* Apply fee color classes correctly
* Class ordering
* Adjust menu & IdentityIcon styling (#427 )
* Cleanup proposal & referendum display (#429 )
* [next] Cleanup Referendums & voting process (with Vec<KV>) (#431 )
* Cleanup Referendums & voting process (with Vec<KV>)
* Remove FIXME (addressed)
* [next] Cleanup styling (#428 )
* Adjust backgrounds to be slightly darker
* Cleanup validator/intentions lists
* update readme reflect removal of ui-react (#434 )
* moved shared function to parent (#404 )
* moved shared function to parent
* lint
* remove balance array dance
* lint
* Bump deps, metadata parsing (#436 )
* article styling updates (#437 )
* [next] Merge master, param change update (#438 )
* Marge master, param change update
* Tie params to section.method
* [next] autoFocus app fields (#439 )
* autoFocus app fields
* Toolbox autoFocus
* Cleanup warnings in staking nominate
* Align borders
* Remove unused var
* [next] Revert menu border override (#440 )
* Revert menu border override
* Revert article single border
* Menu background
* Align grays
* Lighten content background
* [next] Support dynamic Tuple & Array inputs (#441 )
* Allow Tuple value entry
* Fire Param events
* Remove extra debug log
* Allow entry of Array<*>
* Bump deps
* Bump deps (API d.ts fixed)
* [next] Display intention/validator name in staking list #303 (#448 )
* Added getAccount() method to ui-keyring package
* Added getDisplayName function for staking accounts/ addresses
* removed deprecated argument from earlier approach
* formatting (added empty line)
* Removed unnecessary typecheck & encoding from getAccount(),
* Added getAccount to types.d.ts
* removed space
* changed type of `address` to string (failing build fix)
* [next] Backup warning modal on account creation #394 (#447 )
* Added address summary and auto-download of backup file to 'create'-modal
* Removed deprecated code after falsy merge
* Fixed typo Plesae -> Please
* Move check for whenCreated property from saveAccount to separate method
* removed unnecessary return statement
* grammar fix 'was' -> 'is'
* Added Highlight to Modal class, styling adjustments
* removed surrounding <p> in modal content
* Changed Modal.Highlight to built in MUI Modal.Description
* renamed translation key of Modal.Description
* Moved timestamp creation back to save Account
* [next] Explicit Identityicon prefix (#446 )
* set IdentityIcon default prefix
* Update with import from keyring
* Rework encoding/decoding of addresses
* Update keyring deps
* [next] Bump deps (#449 )
* Bumpo deps, work around i18next definitions being wonky (again)
* Cleanup yarn.lock
* [next] add user notifications in App-Accounts (#391 )
* add toaster for app-accounts status changes
* status notifs
* linter
* lint
* refactor with addressmini
* remove debugger statement
* fixintl, status obj creation pattern
* lint
* Track events globally, alert use (notification pop-up) (#413 )
* move Status component to ui-app
* move status stuff up the component tree
some more generalizations with action types
* global status
currently works in app-accounts and ui-signer
* I18n and linting
* lintlint
* style
* add notifs to app-address
* status notifs with backup, changepass
* addresses unnecessary translates
* lint
* Fix merge
* Vector should not render add/remove in isDisabled mode (#452 )
* [next] Bump API version (#455 )
* Bump API version
* Bump deps
* Update README and LICENSE
* Bump dependencies
* [next] Track extrinsics, don't allow until accountIndex is updated (#406 )
* dont allow queueing until accountindex increments
* WIP: deny txn submit before account nonce increments
* readding blocked extrinsics to the queue. Still need to properly set the accountNonce though
* queue unclog
* remove unnecessary _this=this scoping dance
* Moving the need for `?:` to a separate issue
* update types to match codec, account for different accountid with same nonce
* Fix toString for undefined (#456 )
[next] Fix toString for undefined
* [next] Cleanup translate HOC definitions (#457 )
* Cleanup translate HOC definitions
* Alignment
* [next] Bump API for Grandpa compat (#461 )
* Bump API for Grandpa compat
* Update types for new API
* [next] Handle byte display consistently (#463 )
* Handle byte display consistently
* Chack blocked status against completed status
* Bump
* Democracy countdown (lauch & voting) (#464 )
* Bump API to handle StorageData -> Bytes with prefix (#466 )
* Bump dependencies, align with stricter TS checks (#467 )
* Only remove local files, not nested (#468 )
* Bump api deps (#469 )
* Display nonce via toString(), cleanup blocked checks (#470 )
* [next] Bump deps, update with linting rules (#472 )
* Bump deps, update with linting rules
* Update root package config
* Revert testing ruleset config
* Update tslint config pulling in dev-react
* Bump deps with UI packages, remove now unused eslint config (#474 )
* Move types.d.ts -> types.ts (#475 )
* [next] Bump dependencies (#481 )
* Bump deps
* Bump deps
* Cleanup lintin issues with 3.2.1
* Bump @polkadot/api with Tuple map support
* Format JSON results from RPC app
* [next] Make settings accessible from non-running node (#484 )
* Add onCopy to IdentityIcon
* Allow settings to be accessible when no node
* Proper license naming for identicon (#488 )
* [next] Split ui-{identicon,keyring,settings} into ui repo (#491 )
* Split ui-{identicon,keyring,settings} into ui repo
* Correct settings import from ui-app
* Use @polkadot/ui-* split from npm
* Update with latest @polkadot/ui
* Migrate to travis-ci.com, bump deps
* Change non-local imports to direct
* #459 Add spread and copy buttons for substrate.code query (#465 )
* #459 Add spread and copy buttons for substrate.code query
* fix code style checks
* render spread© buttons for all queries which produce byte code
* Type and name refinement
* #459 A first revision where spread functionality for Byte queries is implemented
* remove state property
* Review fixes
* Review fixes
* break query output for overflowing content
* call valueToText with -1
* Fix linter issue
* [next] Global shared status queue and consumer (#490 )
* Global shared status queue and consumer
* Bump deps
* Adjust styling
* Remove copy (unimplemented), spread & concat
* [next] Display received events (balalnces.Transfer atm) (#494 )
* Display received events (balalnces.Transfer atm)
* Cleanup Status class
* Keys for values in Vector
* Extra information on address decode errors (#495 )
* [next] Cleanup React & API errors (#498 )
* Cleanup React & API errors
* Revert value override, breaks input
* InputNumber does not switch between controlled and uncontrolled
* Status has key for entries
* Adjust receive icon
* Bump dependencies, cleanup Unknown types (#499 )
* Bump dependencies, cleanup Unknown types
* Cleanup status styling, icon stretch
* [next] fix: Fixes #493 . Contain logs digest item within div (#497 )
* fix: Fixes #493 . Contain logs digest item within div
* refactor: Remove monospace and drop-down css. Add only wrapping and space between elements
* fix: Remove AuthoritiesChange, forgotten how that got there, but not required
* Allow onCopy Status for IdentityIcon (#501 )
* Allow onCopy Status for IdentityIcon
* Clanup same-package imports
* [CI Skip] Update .codeclimate.yml (#502 )
* [next] Bump dependencies (#503 )
* Bump dependencies
* Bump dependencies
* Downgrade react-dropzone (8.x has new context API)
* Bump deps (API types fix)
* Cater for check where key has no meta (#504 )
* Align number inputs to 0 defaults (#506 )
* fix InputAddress display (#509 )
* [next] Bump dependencies (#512 )
* Bump dependencies
* Don't change status (flicker) when completed
* Expand status timeout
* Pull svg from ui-assets (#513 )
* [next] Read chain properties, inject (#514 )
* Read chain properties, inject
* Linting
* Bump deps (#520 )
* Bump deps
* ... and include lockfile
* [next] Support latest Polkadot types (#523 )
* Bump deps, latest Polkadot types
* Rendered for ParaId
* [next] Charred Cherry support (#522 )
* Charred Cherry support
* Update deps to include CC
* Update injection & new method interfaces
* Naming, extrinsic vs method
* Update ExtrinsicStatus results
* Bump deps
* [next] launguage -> language (#524 )
* [next] Bump deps, support latest metadata struct (#525 )
* Bump deps, support latest metadata
* Bumpdeps
* Bump dev
* Bump local deps
* Display target period * 2 (#526 )
* Alexanber support (#528 )
* Bump API
* Bump deps
* Fix referendums, chain id for Alexander
* Bump deps
2018-12-21 17:17:26 +01:00