Jaco Greeff
6c58db0187
Small cleanups on withCalls ( #2040 )
...
* Fixups
* More
* Some withCalls -> useCall
* Linting
* Always defined
* Re-apply democracy changes
* TimePeriod adjusted
* Cleanup imports
* Additional
* More conversions
* Small loading cleanups
* Small context updates
2019-12-13 15:55:15 +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
5b9be93aa7
Bump API (Polkadot frame-identity types) ( #2024 )
...
* Bump API (Polkadot frame-identity types)
* Typo
2019-12-09 21:13:39 +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
ce89d7e92d
Revert "Remove contracts call functionality (not working) ( #1999 )" ( #2004 )
...
This reverts commit 0aacf3a09d .
2019-12-05 19:50:12 +01:00
Jaco Greeff
0aacf3a09d
Remove contracts call functionality (not working) ( #1999 )
2019-12-04 14:28:06 -05:00
Jaco Greeff
e1464b85f9
Adjust with API with explicit registry ( #1922 )
...
* Update for latest API (explicit registry)
* Edgeware adjusted types
* Bump API
2019-11-21 17:04:54 +01:00
Keith Ingram
7e65066d18
Functional InputNumber with fixed bugs ( #1820 )
...
* Functional InputNumber
* linting
* linting
* remove max button
* linting
* linting
* version
* version
* combine values
* fix
* Re-enable SI dropdown
* KSM formats
* Formatting tweaks
* Mini fixes
* Adjust postfix opacity
* Linting
* More linting
* Remove unneeded list override
* Misc small adjustments
* Vertical alignment
2019-11-12 12:00:44 +01:00
Keith Ingram
669910cc2a
Use most recent contract from result block ( #1861 )
...
* find most recent contract
* Use filterRecords
* Bump API
2019-11-09 12:15:06 +01:00
Jaco Greeff
a7404079cb
Bump deps ( #1849 )
2019-11-07 00:25:40 +01:00
Keith Ingram
dd300c4431
Fix contract bug & improvements ( #1845 )
...
* constructor index bug
* Contract fixes
* lint
* console
* console
2019-11-05 21:23:44 +01:00
Jaco Greeff
5b219d546c
Bump API
2019-11-05 15:34:26 +01:00
Keith Ingram
c2543ae9b2
Contract.call RPC interface with return type ( #1780 )
...
* contracts api + rpc
* finalized
* tweak
* api bump
* linting
2019-10-31 20:45:31 +02:00
kwingram25
1dc4e0e967
Contract call interface using RPC for non-mutating messages ( #1745 )
...
* start
* Droptdown functional
* continue
* initial working version
2019-10-21 15:25:05 +02:00
Jaco Greeff
2f3117dc05
Droptdown functional ( #1731 )
2019-10-18 10:24:03 +02:00
Jaco Greeff
332936cac3
Remove value & defaultValue combinations (contracts) ( #1728 )
2019-10-15 15:22:56 +02:00
Jaco Greeff
5d7c2f1433
Fix typos ( #1724 )
2019-10-15 10:06:58 +02:00
Jaco Greeff
3f0d3eea2e
Bump API (Latest polkadot types) ( #1721 )
2019-10-11 16:56:40 +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
kwingram25
81c925f3d7
UI support for v2 ABI ( #1602 )
...
* ui support for v2 ABI
* drop v1 support
* update ABI display
* changes
* buttons
* update ABI display
* ABI v1 error message
* fix key warning
* Bump deps
* Bump deps
* Updates for merge
* default gas and endowment
2019-10-10 21:37:07 +02:00
Jaco Greeff
f67058e4c0
Cleanup InputAddress export, proper props ( #1673 )
2019-09-27 12:29:30 +02:00
Jaco Greeff
f5b0247270
Additional func. component conversions ( #1659 )
...
* Additional func. component conversions
* rendering function cleanups (pre-convert)
* Additional
* Forks to functional
2019-09-26 16:16:07 +02:00
Jaco Greeff
6f8da05805
More func. components, Button labelIcon -> icon (req.) ( #1649 )
2019-09-24 10:00:05 +02:00
Kai
41a7a07602
Fix broken contract deployment function ( #1643 )
...
* Fix contract deployment after contracts runtime module change <https://github.com/paritytech/substrate/pull/3649 >
* Fix style warning detected by ci
2019-09-21 18:41:32 +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
fbe68b6c5d
Reset themes, single palette ( #1607 )
...
* Reset themes, single palette
* Additional comments
* Bump identicon, darkorange highlights
* Default button colors to $default
* isPrimary for all major (maybe rather shouldn't)
* All input buttons are non-primary
* Toggle to $highlight, links to $primary
* Swap darkorange to Thibaut-orange
* Icon highlight to non-orange
* Highlight package bump
* Updates
* Adjust referendum result color (aligning with orig Polkadot)
* Bumpos, button text color
2019-09-18 12:59:56 +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
ec8be875df
typescript-eslint 2 ( #1568 )
...
* Setup for typescript-eslint 2
* Cleanup linting
* Bump ui version
* Exclude build folders
2019-09-01 13:34:56 +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
66ca8ea61e
Hygiene, some additional type -> interface ( #1552 )
...
* Higene, some additional type -> interface
* Liniting
2019-08-28 12:52:48 +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
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
9d76cadeec
Update for new Extrinsic v1/v2 support ( #1435 )
...
* Pull era/nonce/signer information for Extrinsic
* Bumop api... here we go...
* Fixup types, only signer is left
* Stub signer
* Apisigner operational
2019-07-22 21:27:17 +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
Jaco Greeff
012eb9e7b2
vanity cli updates ( #1400 )
...
* vanity cli updates
* Cleanup assertion
* any[]
2019-07-14 20:41:07 +02:00
Jaco Greeff
babd33bc34
Bump deps ( #1399 )
...
* Bump deps
* Cleanup assertion
* Bump API, contract fn params
2019-07-14 18:58:29 +02:00
Jaco Greeff
68a523a778
Beauty is in the eye of the beerholder ( #1328 )
...
* Beuty is in the eye of the beerholder
* Signer dialog
* .multiple with address
* Transfer wrapper
* Multiple input height
* 2rem -> 1.75rem
* Adjustments for invalid
* Break IdentityIcon out of box
* Small layout adjustments
* Row adjustment
* Remove commented styles
* Remove commented code
* Remove unneeded padding
* Remove unused i81n
* Display messages with input-like styling
* InputFile & Messages overrides
* Adjust input margins (non-flex)
* Center icon
* Adjust labelExtra placement, staking dropdown
* Combine linked lists into one
* Fix developer settings
2019-07-08 22:33:57 +02:00
Jaco Greeff
a33292803a
Remove api imports (only on store, non-context) ( #1347 )
2019-06-25 15:20:03 +01:00
Jaco Greeff
f9a28fc6ea
Remove all tags on create dialogs ( #1348 )
2019-06-25 15:15:08 +01:00
Andrew Jones
f9c779574d
Fix upload and deploy contract(s) after rename ( #1346 )
...
* Fix upload and deploy contract(s) after rename
* Fix api import name collision
2019-06-25 12:52:09 +02:00
Jaco Greeff
1a404b76ca
Additional styled componentn adjustments ( #1337 )
2019-06-24 16:40:32 +01:00