Commit Graph

28 Commits

Author SHA1 Message Date
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
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
5ee21ae275
Staking performance updates (#1670)
* Staking performance updates

* More default on props
2019-09-26 22:21:16 +02:00
Jaco Greeff
c3ce788215
More functional components (#1667)
* More functional components

* sudo setKey

* Additional  components
2019-09-26 17:16:56 +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
089719c97e
Limit Ledger capabilities per chain (#1629)
* Limit Ledger capabilities per chain

* Linting & Props
2019-09-18 16:20:16 +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
c9790f85d9
useContext instead of withApi (#1579)
* useContext instead of withApi

* types to interface, fixes
2019-09-03 15:00:09 +02:00
Jaco Greeff
e4c933cc87
Bump deps (#1560) 2019-08-30 09:09:11 +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
kwingram25
537e7529c2
Remove unsafe React methods (#1520)
* unsafe react methods

* Update sui to 0.88.0
2019-08-27 14:43:12 +02:00
Jaco Greeff
b8ee65c52a
componentWillMount -> UNSAFE_componentWillMount (#1508)
* componentWillMount -> UNSAFE_componentWillMount

* componentWillReceiveProps -> UNSAFE_componentWillReceiveProps

* Bump API for session keys
2019-08-17 13:39: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
kwingram25
07e79097ff collective => council (#1462) 2019-08-02 13:51:07 +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
Stefanie Doll
7d451c6f88 Add endpoint fallbacks option and handling of consts to ui-api (#1416)
* Add `fallback` option to ui-api to pass more than one endpoint for backwards compatibility

* set correct endpoint

* remove console.logs

* linting issues

* const -> consts typo

* changed query example to blockPeriod

* turn `fallback`: string[] | string into fallbacks array

* turn while loop into map

* less params & removed let

* Adjust withCall typing, don't allow voting in treasury
2019-07-18 15:11:57 +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
kwingram25
a7791a8e69 Submit candidacy (#1402)
* Change council to collective/elections

* fix proposal type

* package

* Submit candidacy

* update index

* Minor eslint cleanups

* rename back to council

* blank line
2019-07-15 22:42:17 +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
kwingram25
e9b5f72e8b
Change council to collective/elections (#1398)
* Change council to collective/elections

* fix proposal type

* package
2019-07-14 20:26:32 +01:00
kwingram25
e691868d76
Council motions (#1358)
* council motions

* continue

* council motions > propose

* travis ci

* latest api

* add council votes, proposal views

* linting

* remove settings

* new yarn.lock

* base-x

* Only pick text-transform from Labelled changes

* collapse voting view, aye/yay

* move button

* lint

* fixes

* approve <details> tag

* aye/nay lists
2019-07-10 17:49:46 +01:00
Jaco Greeff
6e5d7d08fd
s/Yay/Aye/ (text) (#1367)
* s/Yay/Aye/ (text)

* One more
2019-07-09 00:46:36 +02:00
kwingram25
f21de3dd1c
ActionItem component for responding to proposals (#1351)
* ActionItem

* rearrange
2019-07-01 18:00:26 +01:00
kwingram25
b74755bbaa
Treasury app (#1324)
* treasury app

* fixes

* more fixes

* treasury app

* fixes

* more fixes

* fixes + collections

* force travis
2019-06-25 15:20:53 +01:00