Commit Graph

50 Commits

Author SHA1 Message Date
Jaco
815ecd9446
Bump dev (#9359) 2023-04-21 16:17:36 +03:00
Jaco
eacf028ba6
Use .js imports in src (#9132)
* Use .js imports in src

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Add WP extension aliases

* Bump dev

* Additional

* Additional

* Adjust extensionAlias order
2023-03-09 12:11:03 +02:00
Jaco
739c5e2aae
Apply consistent ordering to className prop (#8812) 2023-01-15 18:06:52 +02:00
Jaco
0bf67023d0
Adjust InputBalance label positions (#8790)
* Adjust InputBalance label positions

* Allow null values

* Fix undefined params
2023-01-14 09:46:26 +02:00
Jaco
0abc803231
Pass all decimals on InputBalance (#8786) 2023-01-13 16:39:49 +02:00
Jaco
e1727917d1
Remove label help tooltips (#8767)
* Remove label help tooltips

* Fix missed item

* Adjust

* adjust

* Back to defaults
2023-01-12 10:11:02 +02:00
Jaco
ff328328ac
Small update to menu sizing (#8769)
* Small update to menu sizing

* Additional

* Align all short address displays

* shor hashes, short addresses

* isLoading to inputs

* Adjust --tmp for Labelled

* jiggle endpoint display

* button sizes

* label sizing

* final label sizing

* column headers

* label padding

* parachain hashes
2023-01-12 09:36:21 +02:00
Jaco
96af3c1f42
Balance unit detection with pre-defined values (#8753) 2023-01-10 21:38:10 +02:00
Jaco
f889abb7af
Overall adjustment to font styling (#8725)
* Overall adjustment to font styling

* Additional

* AccountName

* Table header

* One less font override

* Remove commented code

* Adjust menu sizing

* Adjust tab menu

* Adjust

* Adjust lightGreyColor
2023-01-08 12:53:43 +02:00
Jaco
4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
b80b4b72ad
Apply Balance component overrides to inputs (#8583)
* Apply Balance component overrides to inputs

* Additional

* Adjust

* Adjust
2022-12-19 22:08:48 +02:00
Jaco
1e3cf6094b
Adjust Call/Event display (known balance args) (#8569)
* Adjust Call/Event display (known balance args)

* Additional

* Adjust

* smooth

* adjust colors
2022-12-18 15:48:03 +02:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
b4ea9af9ce
Fix small input-related bugs (#6258) 2021-10-08 12:15:53 +03:00
Jaco
951af6454a
Balance display with SI units (#5440)
* Balance display with SI units

* Remove extra logs

* Always return SiDef

* Update packages/react-components/src/InputNumber.tsx

* Only use SI (detected) in isDisabled

* Move logic
2021-06-04 10:13:32 +02:00
Jaco
d00c562e70
Show minimum balance on asset mint/transfer (#5134)
* Show minimum blanace on asset mint/transfer

* Bump API
2021-04-24 07:08:50 +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
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +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
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
71f6ec83c1
Adjust formatting with large balance values (#3871) 2020-10-14 19:14:52 +02:00
Jaco Greeff
0b7d6de2a0
Bump deps (#3779) 2020-09-27 21:31:58 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
182671b539
Additional useMemo (no useEffect + useState) (#3409)
* Additional useMemo  (no useEffect + useState)

* Apply suggestions from code review
2020-08-14 10:02:32 +02:00
Jaco Greeff
b47bbab428
Balance unit alignment (#3406)
* Balance unit alignment

* Small formatting updates
2020-08-12 16:14:24 +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
78dcf3c8a9
Adjust alignment of SI dropdown (#3206)
* Adjust alignment of SI dropdown

* line-height 1
2020-07-16 09:26:48 +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
16eaca36f6
Suggest max values in bonding (leaving existential) (#2985) 2020-06-19 11:48:57 +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
deeb8b11de
InputBalance default formatting with 3 decimals (#2766)
* InputBalance default formatting with 3 decimals

* Cleanup reformatting
2020-05-18 12:31:55 +02:00
Jaco Greeff
8cdb813255
InputNumber fix (#2669)
* InputNumber workaround for edit bug

* defaultValue robustness checks
2020-05-01 18:55:55 +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
57d8bfc80e
Cleanup InputNumber, simplify (#2648) 2020-04-28 13:46:49 +02:00
Keith Ingram
9703811f8b
AddressMenu popup when clicking on address name (#2563)
* AddressMenu

* use menu

* refactor

* draft

* cleanup

* Sidebar

* Sidebar

* improvements

* redesign

* bump

* Small adjustments

* Layout adjustments, useCallbacks (not perfect...)

* Remove _setName with extra effect, re-add badges (edit missing)

* Missing useCallback in Address

* no withSidebar on AddressToggle

* useAccountInfo CPU spikes (split effects, no useCallback deps)

* Alway have underline (even on address)

* secondary button color

* Add name callback

* Make identity appear with displayname

* Adjust judgement button position

* UI adjustments

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-04-22 19:43:20 +02:00
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules (#2499) 2020-04-01 15:30:08 +02:00
Jaco Greeff
2b534fc1fb
Additional wrappers via React.memo (#2377)
* More React.memo

* Last non-memo functional components in staking
2020-03-12 15:45:59 +01:00
Jaco Greeff
77256b24e3
Fully split active/inactive nominations (#2169) 2020-01-22 16:05:16 +01:00
Jaco Greeff
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +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
be039f9d5a
Fix InputBalance default display (#1880) 2019-11-14 11:44:40 +01: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
b847268bd6
Add voting balance display (#1843)
* Add voting balance display

* Linting

* Naming
2019-11-04 23:05:32 +01:00
kwingram25
cdf1d88de5 Functional components (apps, react-components) (#1564)
* Functional components (apps, react-components)

* move consts
2019-09-01 14:23:42 +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