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
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
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
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
Jaco Greeff
ea829237de
eslint cleanup (as unknown as State -> Pick<State, never>) ( #1405 )
2019-07-15 12:36: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
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
Jaco Greeff
63ca2a1687
Bump deps (incl. Babel 7.5, current API) ( #1366 )
2019-07-08 16:02:27 +02:00
kwingram25
f21de3dd1c
ActionItem component for responding to proposals ( #1351 )
...
* ActionItem
* rearrange
2019-07-01 18:00:26 +01:00
Thibaut Sardan
81c89bd78d
Fixes for democracy display ( #1353 )
...
* fix chart display
* fix description overflow
* alphabetical ordering and cleanup
2019-06-30 10:42:28 +02: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
Jaco Greeff
9295fb060f
Horizontal bar layout for referendum results ( #1317 )
...
* Initial stab, gremlins remain
* It is ok.
2019-06-19 18:15:53 +02:00
Jaco Greeff
b497f5599a
Seconding modal ( #1313 )
...
* Seconding modal
* Add voting modal, adjust button placement
2019-06-19 15:56:53 +02:00
Jaco Greeff
53339e5f1b
Democracy layout changes ( #1309 )
...
* Democracy layout changes
* Select democarcy.propose as default
* Revert default, blonde moment
* Remove min-height for ui--Card
* Extract Item styles
* Extract all styles into styled-components
* lint hack
* Update Row.tsx
* Update Address.tsx
* Small layout cleanups
2019-06-19 13:13:48 +02:00
Jaco Greeff
957e210043
Default proposal/sudo for new 2.x substrate ( #1296 )
2019-06-16 07:10:59 +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
Jaco Greeff
83c3f115fd
Render AddressInfo directly from balances.all ( #1220 )
...
* Render AddressInfo directly from balances.all
* lint
* Bumps (linting fixes)
2019-05-27 21:23:25 +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
bc15fa8d79
Add ability to second proposals ( #1150 )
2019-05-14 07:37:55 +02:00
Jaco Greeff
2552f20b83
Hide developer settings & democracy propose for light mode ( #1141 )
...
* Hide developer settings for light mode
* Hide democracy propose on light
2019-05-13 11:58:19 +02:00
Jaco Greeff
f83d7bb4ab
Swap yay/nay to be correct ( #1084 )
2019-05-03 17:52:12 +02:00
Jaco Greeff
dec64403c6
Consistent staking filter placement ( #1064 )
2019-05-02 13:37:51 +02:00
kwingram25
7d899bfc9a
Add create proposal option to app-democracy ( #1046 )
...
* new proposal flow
* fixes
* separate concerns
* basePath
2019-05-02 12:08:56 +02:00
kwingram25
6435293ff4
Refactor TxButton and expand use ( #1023 )
...
* Refactor TxButton and expand use
* Set button to loading while broadcasting
* Travis CI
* add extrinsic prop, req changes
* restore loading indicator
2019-05-02 10:25:51 +02:00
kwingram25
95a3690c35
Replace withCall -> withCalls ( #1021 )
...
* Wiki link
* replace withCall => withCalls
* rv wiki
* fix typing errors -> withMulti
* Fix typing errors
* callOnResult
2019-04-30 16:28:44 +02:00
Thibaut Sardan
345cd06539
Add help on critical apps ( #1030 )
...
* add help on account app
* add help on addresses app
* add help on transfer app
* typos
* add help for voting app
* add help slidein for accounts
* correction session needs to be ed25519
* add transfer and address book
* add democracy and fix typo
* Update packages/app-democracy/src/md/basic.md
Co-Authored-By: Tbaut <33178835+Tbaut@users.noreply.github.com>
* Apply suggestions from code review
Co-Authored-By: Tbaut <33178835+Tbaut@users.noreply.github.com>
* Update packages/app-transfer/src/md/basic.md
* use both DOTs and Units, move crypto to help, fix typo
2019-04-29 17:13:17 +02:00
Jaco Greeff
def0506e1d
formatting utils from @polkadot/util ( #878 )
2019-04-02 15:12:58 +02:00
Jaco Greeff
5b3619ae1b
Re-add media queries (pertinent info) ( #877 )
2019-04-02 09:56:01 +02:00
Ross Bulat
4c65729b5e
Scrollable summary bar ( #850 )
...
* scrollable summary bar
* subtle outline
* subtle plus / article flex / centered labelling
* height -0.1rem
* inset shadow spread
* styled Card / tidy up
* tslint
* webkit scrollbar
* >
* nitpicking
2019-04-02 08:40:59 +02:00
Ross Bulat
b097ae8f9a
<SummaryBox /> styled component ( #830 )
...
* <SummaryBox /> styled component
* remove comment
* apps -> ui-app comment
* rolling back to .css
* rm styled
* styled SummaryBox
* indent
2019-03-24 20:59:29 +01:00
Jaco Greeff
eb67ec0f9a
Simplify referendum rendering ( #837 )
2019-03-24 09:06:28 +01: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
12ffd0425a
Fix referendum votes not showing ( #748 )
...
* Fix referendum votes not showing
* Bump deps
2019-02-21 15:54:53 +01:00
Jaco Greeff
06dd4651f2
Cleanup ComponentMap (easier to reason about) ( #744 )
...
* Cleanup CompoinentMap (easier to reason about)
* Remove voting countdown
2019-02-21 11:06:36 +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
4889fb7147
Pull in new API (Option<Type> for storage) ( #730 )
...
* Pull in new API (Option<Type> for storage)
* staking_nominating is Option
* WIP
* Seems working, however democracy, not happy
* Bump API, Option storage fix
* Pull latest API
* Api version display
2019-02-20 08:45:42 +01:00
Jaco Greeff
cf23041b85
Pull in @polkadot/ui-util ( #724 )
...
* Pull in @polkadot/ui-util
* Pull in @polkadot/ui-util
* Skip tests
2019-02-18 14:45:29 +01:00
Jaco Greeff
5feb22b07e
Cleanup @polkadot/types imports ( #711 )
2019-02-13 22:49:10 +01:00
Jaco Greeff
75b519151b
Collapse sidebar ( #700 )
...
* Collapse sidebar
* Collapse button is fixed
* Small updates (styling)
* Add small collapsed logos
2019-02-12 15:55:32 +01:00
Jaco Greeff
d873512ccc
Forward-port low-hanging breaks ( #673 )
...
* Pull in media from jg-ui-break
* Test apps, pull in flex-media settings
2019-02-05 08:01:40 +02: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
3ff2053370
Bring tabs into apps without (consistency) ( #659 )
...
* Bring tabs into apps without (consistency)
* Small signer updates
* Explorer info as label
* Adjust fonts for modals
* Cleanup imports
* .ui.modal base color
* Adjust Account summary opacity
* Bump API (metadata V1 events)
* Update Event.tsx
* Remove order overrides
* Expand isDisabled balance
* Update index.tsx
* Update index.tsx
2019-01-28 20:30:49 +01:00