Commit Graph

51 Commits

Author SHA1 Message Date
Jaco
c231b66f6b
Asset modal rework (min balance with decimals) (#5126)
* Asset modal rework (min balance with decimals)

* Language cleanups
2021-04-23 10:54:51 +02:00
Jaco
732b3ca673
Show asset supply & add responsive columns (#5125)
* Show asset supply & add responsive columns

* Drop decimals column

* Allow decimals & symbol override
2021-04-23 09:48:32 +02:00
Jaco Greeff
5a834648e6
Gilt app (#4893)
* Gilt app

* Basic queue display

* Gilt bidding

* disabled status

* defaultValue toString
2021-03-22 18:30:52 +01:00
Jaco Greeff
024c03ba9b
Crowdloans (#4613)
* Crowdloans

* update icon

* crowdloads -> crowdloan

* Overview start

* Fund indexes

* Fund displays stucture

* Fund view

* Fund view expanded

* Update packages/page-crowdloan/src/useFundIndexes.ts

* Add skeleton

* useEventTrigger

* Cleanups

* Fund proposal

* Registrar

* Adjust current versions

* Update README.md
2021-02-06 11:24:04 +01:00
Jaco Greeff
fd0ceaff0d
Use BN_{BILLION, MILLION} constants (#4577)
* Use BN_{BILLIN, MILLION} constants

* BN_ONE

* Update packages/page-treasury/src/Overview/ProposalCreate.tsx

* Update packages/page-staking/src/Payouts/useStakerPayouts.ts

* Additional

* Update packages/page-democracy/src/Overview/Summary.tsx

* Additional

* Additional

* Re-apply

* Cleanups

* Apply suggestions from code review
2021-02-03 10:59:37 +01:00
Jaco Greeff
38b7ebc24c
Format multiple balances w/ properties (#4480)
* Format mutiple balances w/ properties

* Bump API

* Update chainDecimals extraction

* Fox bounties mock API

* Expand rendering

* Bumps
2021-01-23 15:30:37 +01:00
Jaco Greeff
2d1da5332c
Staking fixes (comm, entries) (#4329)
* Staking fixes (comm, entries)

* Flatten
2021-01-06 11:15:19 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
7d071d147d
Remove global registry imports (only use on api) (#4218)
* Remove global registry imports (only use on api)

* Additional

* QR only displayed when valid

* ApiSigner
2020-12-17 11:18:34 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group (#4168)
* Plug new beta of eslint plugin simple import sort

* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Ewa Kowalska
87505b1c59
Eslint imports (#4037)
* Add eslint configuration

* Patch eslint plugin for sorting imports

* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
ee25db733d
Remove classes utility (#4106)
* Remove classes utility

* Update packages/react-components/src/InputNumber.tsx
2020-11-30 16:01:37 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } (#4052)
* Use import type { ... }

* value imports

* TypeDefInfo

* Apply suggestions from code review

* fixes... am going blind.
2020-11-19 16:20:14 +01:00
Jaco Greeff
685971fa09
Max length for InputNumber (equal to allowed digits) (#4034)
* Max length for InputNumber (equal to allowed digits)

* Description on length check
2020-11-16 16:35:03 +01:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
54f997eb99
Limit to max chainDecimals on InputNumber (#3548) 2020-08-27 18:44:23 +02:00
Jaco Greeff
51b6956301
Add ui--Toggle overlay positioning (#3377)
* Add ui--Toggle overlay positioning

* adjust label classes

* Max bonded to unbond

* Update packages/page-parachains/src/Parachain/Details.tsx

* Update packages/page-parachains/src/Parachain/Deregister.tsx

* Apply suggestions from code review

* Adjust parachains

* Adjust

* Formatting

* Additional
2020-08-09 11:16:37 +02:00
Jaco Greeff
ddebfec73e
Override locale seperator consistently (#3253) 2020-07-23 11:58:07 +02:00
Jaco Greeff
8ed93360d9
Rework Button (#3171)
* Rework Button

* Input dropdown buttons

* Adjust cursor & border (InputNumber SI, disabled)

* first/last-of-byte in Button.Group

* Cleanup classes

* Cleanup linting

* Small cleanups

* Swap to actual <button ...>

* Sidebar adjust

* Adjust className creation

* Adjust signer toggle

* Button disabled cursor

* Poll adjust loading

* Basic buttons, SideBar with theme

* Adjust button styling

* Adjust Button shadows
2020-07-13 21:25:12 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43:06 +02:00
Jaco Greeff
5460da3a48
Extend fund bonding warnings (#2980)
* Extend fund bonding warnings

* Fix warning display
2020-06-18 14:28:16 +02:00
Keith Ingram
2081464de8
Rewrite & update to page-contracts (#2873)
* first commit

* finish

* InputMegaGas, use BN consts'

* update util'

* tags issue

* manifest

* import bn_zero

* rm

* restore contract tags

* fix tags onClose

* sec to ms

* ms -> sec

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-06-09 14:56:10 +02:00
Jaco Greeff
c60ba8708a
Bumps w/ eslint (#2802)
* Bumps w/ eslint

* Additional

* Additional

* Additional

* Additional

* Remove style props

* Additional

* Additional

* Additional

* Additional (< 100)

* eslint passes, tsc next

* tsc fixes

* Update deps

* Update i18n
2020-05-24 19:41:14 +02:00
Jaco Greeff
5b8894d167
Allow voting to use locked balance (#2668)
* Allow voting to use locked balance

* Update linting

* i18n strings
2020-05-01 14:46:57 +02:00
Jaco Greeff
2b2b7d3695
Modal columns for democracy modals (#2654) 2020-04-29 10:26:00 +02:00
Jaco Greeff
2c2816475b
Voting dialog overhaul (#2653) 2020-04-28 23:03:32 +02:00
Jaco Greeff
57d8bfc80e
Cleanup InputNumber, simplify (#2648) 2020-04-28 13:46:49 +02:00
Jaco Greeff
c906794397
Store/use parentAddress alongside derivation (#2526)
* Store/use parentAddress alongside derivation

* Show actual parent relationships

* Tooltip for address
2020-04-07 15:04:02 +02:00
Jaco Greeff
67b70b075e
Rewrite yarn.lock (#2504) 2020-04-01 23:34:51 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02:00
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules (#2499) 2020-04-01 15:30:08 +02:00
Jaco Greeff
529e253d39
Revert "Add extra Input types to the UI (#2324)" (#2493)
This reverts commit 7a159976f4.
2020-04-01 07:35:11 +02:00
Alexander Popiak
7a159976f4
Add extra Input types to the UI (#2324)
* fix typo

* WIP introduce float input

* remove si dropdown for float input

* assume floats to have si 1 billion

* use correct SI name and parse decimal

* fix linting issues

* remove VecDeque from Vector UI component mapping
2020-03-30 07:31:36 +02:00
Jaco Greeff
e4c0cfd262
Exhaustive hooks (#2463)
* Exhaustive hooks

* selectUrl screw-up

* Adjust name badge

* Cleanup SideBar effects
2020-03-27 12:49:17 +01:00
Jaco Greeff
15c6b90b6a
Introduce React.memo for react-components (#2404)
* Introduce React.memo for react-components

* Api with memo

* Cleanup Dropdown

* Adjust toggle highlight

* Chart exports
2020-03-17 12:49:42 +01:00
Jaco Greeff
304dab95cc
Add React.memo to some components (#2375)
* Add React.emomo to some components

* Linting
2020-03-12 11:15:38 +01:00
Jaco Greeff
77256b24e3
Fully split active/inactive nominations (#2169) 2020-01-22 16:05:16 +01:00
Jaco Greeff
de39bbe297
Additional useTranslation conversions (#2109)
* Additional useTranslation conversions

* quotes

* Bumps

* Cleanup params wit overrides
2020-01-13 13:12:03 +01:00
Jaco Greeff
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +01:00
Keith Ingram
a69bdfeef1 Propose tech committee motions (#1996)
* Propose tech committe motions

* bug, ignore .vscode

* linting

* Some cleanups

* Move Propose back
2019-12-04 12:22:19 +01:00
Keith Ingram
9bc6194265
Replace TxComponent and TxModal (base) (#1951)
* essentials

* cleanup

* versions

* rv file

* useForm function refs

* restore button ref

* adjust TxModalNew

* refactor

* useTx

* arg

* rework

* linting

* restore changed comps
2019-12-02 13:42:49 -08:00
Jaco Greeff
918822f48a
Auto-populate Vote balance (#1879)
* Auto-populate Vote balance

* Commenting
2019-11-14 10:44:15 +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
Jaco Greeff
a7404079cb
Bump deps (#1849) 2019-11-07 00:25:40 +01:00
Jaco Greeff
b847268bd6
Add voting balance display (#1843)
* Add voting balance display

* Linting

* Naming
2019-11-04 23:05:32 +01:00
Jaco Greeff
6f8da05805
More func. components, Button labelIcon -> icon (req.) (#1649) 2019-09-24 10:00:05 +02:00
Jaco Greeff
f35b2d4428
Update fees, mortal & tips (#1590)
* Update fees, mortal & tips

* Linting

* Revert findCall

* Fix fee calculation (take version byte  into account)

* Remove MAX (weights), add weight note

* does not *
2019-09-18 14:53:51 +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
4c53997b66
Bump deps (#1543) 2019-08-27 15:19:59 +02:00