Commit Graph

199 Commits

Author SHA1 Message Date
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
37f44367b4
Rework context usage (& move most to react-hooks) (#8731)
* Rework context usage (& move most to react-hooks)

* Move use{Accounts, Addresses} to use contexts

* Cleanups

* Global alignment renames

* Combine keyring subjects into KeyringCtx

* Cleanups to contexts

* Small adjustment to window size usage

* Popup test via data-testid

* Fix Bounties tests

* Move getStats to correct location

* Adjust ApiStats

* Do add unsubs (although unneeded)
2023-01-09 12:56:38 +02:00
Jaco
453a505d58
Predefine columns for Table favorites/expander (#8690)
* Predefine columns for Table favorites/expander

* Adjust header definition types

* Additional header typings

* lint override

* Add Table.Column.Id

* Use Table.Column.Favorite for staking
2023-01-05 17:39:02 +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
b3917bd36e
Adjust council/staking accounts tables (#8632) 2022-12-26 09:16:57 +02:00
Jaco
2bef228fd0
Chilled filtering adjustments (no-auto, recent Substrate) (#8551) 2022-12-15 15:57:51 +02:00
Jaco
24a136b320
Bump deps (w/ deprecations) (#8532) 2022-12-14 10:07:49 +02:00
Jaco
72b0f96176
lastNonzeroSlash > submittedIn for chilled (#8518)
* lastNonzeroSlash > submittedIn for chilled

* Note on logic

* Cleanups
2022-12-12 07:44:07 +02:00
Jaco
04e5f4d23b
Retrieve pool pending via runtime call (#8083)
* Retrieve pool pending via call

* Remove is

* mountedRef
2022-09-03 12:13:29 +03:00
Kami
48784489a9
Update ListNominees.tsx (#7948)
* Update ListNominees.tsx

useTranslation format is not correct in the tooltip while a validator is oversubscribed

* Update ListNominees.tsx

* Update ListNominees.tsx
2022-08-01 11:11:52 +03:00
Jaco
a54b71c2a4
Bump deps (#7879)
* Bump deps

* Additional

* Prev pool reward info

* Adjust Account for V0
2022-07-16 10:25:33 +03:00
Jaco
c55a15dc53
Extract Latency/API stats reusable chart (#7679)
* Extract Latency/API stats reusable chart

* Adjust
2022-06-02 11:54:47 +03:00
Jaco
83f62196c0
Badge for pool nominators (#7470) 2022-04-27 17:49:49 +03:00
Jaco
47913892cd
Expansion to pools logic (#7384)
* Expansion to pools logic

* Add filtering

* Pass through own pools

* Allow pool nominate tx

* Start with account actions

* Asho pool nominees

* Nomination operational

* Adjust table rows

* BondExtra for pools

* use availableBalance in calcs (w/ existential)

* Re-use isAmountError check

* Pass through actual pool info

* s/id/poolId/

* Display payout stashes

* Display points balance

* OCD cleanups

* claimPayout

* Calculate pool claimable

* Unbond

* Fix Unbond max

* Display remaining witldrawal eras

* Stashed/Pooled selection

* Withdraw unbonded

* StakingRedeemable display

* Renames as per metadata

* Additional

* s/pool/pools/

* PoolInfo display hints

* Adjust usePoolInfo hook

* Ordering adjustments

* Additional dedupes

* Combine queries

* Combinations & renames

* Flatten transform

* Non-existent reward

* bnMax sub

* lint fixes

* Bump API
2022-04-26 18:21:38 +03:00
Jaco
471447180c
Cater for non-standard nominee maps (#7450) 2022-04-26 10:35:45 +03:00
Jaco
374bb47335
Adjust Menu.Item with label prop (#7413) 2022-04-21 10:52:48 +03:00
Jaco
818ab80982
Use ExpanderScroll on staking lists (#7406) 2022-04-20 12:10:17 +03:00
Kami
8fe5646d87
Remove repeated "available" (#7388) 2022-04-18 19:20:05 +03:00
Jaco
5f7662a60c
Consolidate *--hidden classes (#7359)
* Consolidate *--hidden classes

* Additional
2022-04-12 09:48:06 +03:00
Jaco
e27058540f
Pass through minComm to validate (#7343) 2022-04-10 08:52:10 +03:00
xnorly
38d4c02659
changing 'tense' of label, because funds are not yet 'bonded' (#7077)
the label is shown when users are about to bond additional funds. Therefore, I propose to change the content of the label to 'additional funds to bond'. The old version 'additional bonded funds' suggests that the funds are already bonded which is not the case.
2022-03-01 11:49:43 +02:00
Jaco
525657ee01
Min commission check (#7068) 2022-02-28 14:34:34 +02:00
Jaco
cb60c73daa
0.105.1 (#6931)
* 0.105.1

* maxNominations
2022-02-07 09:01:29 +02:00
Jaco
5e1b8a8f49
Prepare for selectable groups (#6842) 2022-01-18 09:23:55 +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
tarrball
16c757eb8b
Grammar fix in staking tooltip (#6727)
Co-authored-by: Andrew <andrew@tarrball.com>
2021-12-23 08:19:59 +02:00
Jaco
40c3e9c45b
Warn on large bond amount (#6585) 2021-11-21 16:00:15 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
0b28229bda
Rebond modal (#6434)
* Rebond modal

* Fix modal open
2021-10-28 17:29:42 +03:00
Jaco
64e3182ab2
Ensure disabled menuitems are shown as disabled (#6394) 2021-10-24 16:27:16 +03:00
Radha
9e77b27b42
Updating Inactive Nominations warning message (#6331)
* Updating Inactive Nominations warning message

Context for the issue - https://github.com/polkadot-js/apps/issues/6316

* Update ListNominees.tsx

* Update ListNominees.tsx

after incorporating reviews and feedback
2021-10-19 15:58:27 +03:00
Jaco
f512c1a539
Bump de & api (w/ __Unused on enum) (#6326)
* Bump de & api (w/ __Unused on enum)

* Linting fixes

* tsc adjustments

* Api bump
2021-10-17 16:37:57 +03:00
MiZiet
b4967ca82c
Popup menu replace and styling (#6007)
* Add custom popup

* Render popup window with react portal

* Handle scroll

* Handle pointer scroll

* Refactor types

* Add useOutsideClick

* Restore button styles

* Update types

* Add tests

* Set multiple refs

* Cleanup

* Cleanup

* Move offset const to the utils

* Add useCallback in useScroll

* Remove empty lines in useElementPosition

* Change styled components to functional

* Make sure popup window stays in view

* Highlight trigger button when popup is open

* Add uesPopupWindow hook

* Make triangle larger

* Use full trigger height

* Apply new lint rules

* Group popup items into groups suggested by Jaco

Menu.Item is of SUI (semantic UI). It supports icons, but
we plan to replace SUI and thus this feature is likely to use
font awesome instead of SUI icons.

* Remove sui menu

* Improve styles

* Add translations

* Add hover

Co-authored-by: Marcin Wachulski <marcin@ethworks.io>
2021-08-31 10:39:17 +02:00
MiZiet
b6c827a908
Remove sui popup (#5924)
* Add custom popup

* Render popup window with react portal

* Handle scroll

* Handle pointer scroll

* Refactor types

* Add useOutsideClick

* Restore button styles

* Update types

* Add tests

* Set multiple refs

* Cleanup

* Cleanup

* Move offset const to the utils

* Add useCallback in useScroll

* Remove empty lines in useElementPosition

* Change styled components to functional

* Make sure popup window stays in view

* Highlight trigger button when popup is open

* Add uesPopupWindow hook

* Make triangle larger

* Use full trigger height

* Apply new lint rules

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-31 09:35:33 +02:00
Jaco
b8daf379e7
Bump dev (w/ lint fixes) (#6006)
* Bump dev (w/ lint fixes)

* Additional

* Bump ui/extension
2021-08-26 12:16:11 +02:00
MiZiet
9ac3d6a095
Replace sui modal with a custom one (#5914)
* Remove SUI modal

* Update modal positioning

* Clean up imports

* Restore removed size

* Add tests for Modal component

* Add border radius to actions

* Disable global scroll

* Introduce ESC_KEYCODE const

* Arrange props

* Change components definitions

* Change styled components to functional

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-24 12:14:34 +03:00
George Angelopoulos
1a1dfeaaf5
typo fix (#5704) 2021-06-29 05:58:40 +02:00
Jaco
d91bdcd191
Warn on staking min bond (#5674)
* Warn on staking min bond

* Warn on min validator amount
2021-06-24 13:46:09 +02:00
Jaco
8a95b1a93b
Handle BN type-only imports correctly (#5428)
* Handle BN type-only imports correctly

* lint fixes
2021-06-03 10:41:55 +02:00
Jaco
92443b64b8
Adjust focus for Validate/Session partials (#5321) 2021-05-19 10:19:41 +02:00
WoeOm
07af3f6279
Adapt Darwinia, Crab Network types (#5218) 2021-05-07 06:47:45 +02:00
Jaco
cf6c682333
Optional balances & timestamp (#5188) 2021-05-02 16:00:48 +02:00
Jaco
3f34af239b
Add check for reward destination existence (#5180)
* Add check for reward destination existence

* Align checks
2021-05-01 06:46:52 +02:00
Jaco Greeff
e2687701ff
Bump deps (#5055) 2021-04-12 10:30:28 +02:00
SimonKraus
8463b8619a
fix(staking): fix typo (#4926)
fixed #4925

Co-authored-by: Simon Kraus <simon.kraus@tag24.de>
2021-03-25 08:36:00 +01:00
Nikos Kontakis
7c8ad1cbe8
fix typo in InputValidationController and in translations (#4881)
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-03-20 22:41:45 +01:00
Jaco Greeff
15c08c6364
Display next action countdown (#4849)
* Display next action countdown

* Show parathreads
2021-03-14 19:45:02 +01:00
Jaco Greeff
a86bc3284a
Flatten modal columns (#4841)
* Flatten modal columns

* Additional

* Additional

* Additional

* Additional

* Additional

* Adjust tests

* No bids outside ending

* s/winners/bids/

* Adjust

* lease offsets
2021-03-14 14:36:49 +01:00
Jaco Greeff
ba4d14a836
Filter targets by blocking status (#4800) 2021-03-10 09:47:31 +01:00