Jaco Greeff
1d8613655f
Convert options & items (tabs) to useMemo ( #2207 )
...
* Convert options & items (tabs) to useMemo
* Add missing var in useMemo
* Remove floating isSubstrateV2
* Cleanup staking entry
* Remove unneeded ?
2020-01-28 15:01:18 +01:00
Jaco Greeff
1d5a756b69
Auto-add Button.Group inside Modal.Actions ( #2165 )
...
* Auto-add Button.Group inside Modal.Actions
* Pass onCancel prop through to Modal.Actions
* Cancel rendering in contracts
2020-01-21 17:34:34 +01:00
Jaco Greeff
8e971ef7eb
Use ButtonCancel for all Cancel-only buttons ( #2164 )
...
* Use ButtonCancel for all Cancel-only buttons
* Small cleanups
2020-01-21 15:47:44 +01:00
Jaco Greeff
79de1162ea
useTranslation Suspense fallback ( #2158 )
...
* useTranslation Suspense fallback
* import path
* Some small useTranslation conversions
2020-01-20 17:20:04 +01:00
Jaco Greeff
18af907070
Set Modal default to open ( #2157 )
2020-01-20 15:30:25 +01:00
Jaco Greeff
562e11dc06
Bump deps ( #2091 )
2020-01-06 16:16:50 +01:00
Jaco Greeff
15bd35fd90
Add useTranslation for all apps ( #2076 )
2019-12-19 11:08:21 +01:00
Jaco Greeff
6dab5e1295
Rollback latest (something went wrong) ( #2039 )
...
* Revert "[CI Skip] 0.38.0-beta.64"
This reverts commit 632c224df4 .
* Revert "Apply useToggle as appropriate (#2036 )"
This reverts commit 62f74422f2 .
* Revert "[CI Skip] 0.38.0-beta.63"
This reverts commit 635f61637c .
* Revert "Small updates for V2 democracy (#2038 )"
This reverts commit 32db955f8c .
* Revert last bumps
2019-12-13 11:25:50 +01:00
Jaco Greeff
62f74422f2
Apply useToggle as appropriate ( #2036 )
...
* Apply useToggle as appropriate
* Update inset
2019-12-13 10:05:54 +01:00
Jaco Greeff
2f899cef4d
Add header prop on Modal ( #2025 )
...
* Add header prop on Modal
* Bump API, fixed electionsPhragmen
* s/HEADER/header/
2019-12-09 23:35:12 +01:00
Jaco Greeff
dafea25972
Allow voting on treasury page ( #2019 )
...
* Allow voting on treasury page
* More re-usable voting components (a start)
* Ficup imports
* Adjust modals
* Bump API
2019-12-09 17:54:57 +01:00
Jaco Greeff
99834b3534
Always pass hex to signRaw ( #1945 )
2019-11-25 21:24:14 +01:00
Jaco Greeff
082f4147a9
Allow signRaw usable from extension ( #1936 )
...
* Allow signRaw usable from extension
* Add sign button
* Allow signing via extension
* Cleanup states, this was really messy...
* null check... ok, just need to test through
* Minor ocd
* Cleanup sign unlock
* Cleanup display flashing
* Message for extension
2019-11-25 10:33:05 +01:00
Jaco Greeff
e0acd15b43
useAccounts hook ( #1898 )
...
* useAccounts hook
* Drop some withRouter
* Add setImmediate to trackStream
* Combine unsubscribe into subscribe
* Use before define
* Ass trackPromise
* Cleanup mapping for params
* Addressbook display
2019-11-16 10:13:07 +01:00
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