Commit Graph

417 Commits

Author SHA1 Message Date
Jaco
a983a07261
Make active/waiting click "snappy" (#7361) 2022-04-12 11:09:53 +03:00
Jaco
5f7662a60c
Consolidate *--hidden classes (#7359)
* Consolidate *--hidden classes

* Additional
2022-04-12 09:48:06 +03:00
Jaco
1e4f97c1d5
Combine active & waiting staking views (#7354)
* Combine active & waiting staking views

* Sort by stashes

* Filter by own

* useRef for options
2022-04-12 08:05:53 +03:00
Jaco
e27058540f
Pass through minComm to validate (#7343) 2022-04-10 08:52:10 +03:00
Jaco
325cd4a1c8
Combine bags ids & list hooks (#7335) 2022-04-09 11:22:38 +03:00
Jaco
298354881c
Don't show rebag button on load (#7320)
* Don't show rebag button on load

* Remove extra useEffect dep

* renames
2022-04-07 09:25:27 +03:00
Jaco
a5372949a3
Consolidate rebag operations (#7319)
* Consolidate rebag operations

* Don't pass stashNodes
2022-04-07 08:33:13 +03:00
Jaco
0e54bb3643
Adjust options for useTxBatch (#7311) 2022-04-06 08:21:07 +03:00
Jaco
c339e7166a
Rebag all dislocated (#7289)
* Perform per-loaded bag rebag calculations

* Allow global rebag
2022-04-02 11:27:12 +03:00
Jaco
97b4217610
Perform per-loaded bag rebag calculations (#7288) 2022-04-02 10:04:00 +03:00
Radha
7c637b71b6
Add info about Bags List (#7283)
* Add info about Bags List

* Update packages/page-staking/src/Bags/index.tsx

Co-authored-by: Jaco <jacogr@gmail.com>

* Update packages/page-staking/src/Bags/index.tsx

Co-authored-by: Emre Surmeli <s.emre.s.8@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
Co-authored-by: Emre Surmeli <s.emre.s.8@gmail.com>
2022-04-02 09:43:43 +03:00
Jaco
3f8a2df05f
Making staking Bags & Pools visible (#7273) 2022-03-30 17:59:31 +03:00
Jaco
326f0ecb1a
Bags summary adjustment (#7272)
* Filter for own/all bags

* Initial Own/All depending on stashes

* Adjust bags summaries
2022-03-30 14:00:34 +03:00
Jaco
3882a970ff
Filter for own/all bags (#7271)
* Filter for own/all bags

* Initial Own/All depending on stashes
2022-03-30 12:44:29 +03:00
Jaco
ac8deadece
Rebag on lower limit breached (#7270) 2022-03-30 11:07:58 +03:00
Jaco
9187f68bd2
Rebag on upper limit breached (#7269)
* Mrege prev/curr loadable bags

* Rebag on upper limit breached
2022-03-30 10:34:04 +03:00
Jaco
ab509efcf1
Mrege prev/curr loadable bags (#7268) 2022-03-30 10:00:17 +03:00
Jaco
e182d20853
Merge prev/current bags stash info (& React.memo) (#7267)
* Merge prev/current bags stash info (& React.memo)

* Adjust

* Adjust loading
2022-03-30 09:29:15 +03:00
Jaco
7c18a1fb4c
Format bags id as balance (#7265) 2022-03-29 17:37:26 +03:00
Jaco
18ef33433c
Small updates to pool creation logic (#7264) 2022-03-29 15:32:56 +03:00
Jaco
bf80de2205
Add trigger for bags refresh (#7263)
* Add trigger for bags refresh

* isLoading pass-through

* Adjust
2022-03-29 14:45:55 +03:00
Jaco
47cf9afc11
Add a move counter (#7260) 2022-03-29 12:05:33 +03:00
Jaco
3ead92db53
Add own stash jumps (#7259) 2022-03-29 11:36:31 +03:00
Jaco
2a7af81d16
Staking pools (#7089)
* Staking pools

* Fly-by comment fix

* Some infrastructure

* multi

* Create value

* Retrieve singular params instance

* defaultValue for multi query

* Retrieve list of pool ids

* Drive-by param formatting

* Pool list retrieval

* Retrieve pool info

* Adjust trigger placement

* Dump info

* Join modal

* Fix build

* Allow creation & joining

* caveman typing

* Adjust disabled state

* Adjust

* cowboy types

* Some basic stats

* Created/Destoyed events

* Adjust for latest

* Set metadata on creation

* Basic pools
2022-03-28 21:34:08 +03:00
Jaco
963f335336
Bags overview (#7257) 2022-03-28 20:22:34 +03:00
Jaco
9e5fa6a353
Add blockInterval hook (#7165) 2022-03-15 11:30:41 +02:00
Jaco
b520fda58a
Improve isChilled check (#7143) 2022-03-11 15:47:36 +02:00
Jaco
178afa65d9
Display chilled (only with minCommission) (#7141) 2022-03-11 15:18:37 +02:00
xnorly
84cbd83d36
trying to improve the filtering options for target validators (#7080)
* removing redundant word 'only'

When applying a filtering option, it is obvious that the resulting list will ONLY contain items that passed the filter. The remaining filtering options don't make use of the word 'only', o why use it here?.

* positive wording

These filtering options contain the word 'no' and may sound negative. Changing them slightly to achieve positive wording may improve UX.

* The label 'single from operator' may sound unclear, especially for new users. Maybe being a bit more descriptive with 'one validator per operator' could help.
2022-03-02 09:15:43 +02: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
Dmytro Filippov
a9ff87ebf0
Targets page: fix validators sorting (#6886)
Co-authored-by: dmitry@fleetonomy.io <dmitry@fleetonomy.io>
2022-01-26 14:00:35 +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
Jaco
a7a48c1140
Extract derive.accounts.* into own hooks (#6755)
* Extract derive.accounts.* into own hooks

* useAccountApi as applicable

* Rename step 1

* useSystemApi
2021-12-30 10:02:41 +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
0a26f52103
Bump @polkadot deps (#6514)
* Bump @polkadot deps

* Bumps
2021-11-07 12:09:50 +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
Jaco
a08cc3eda8
Turn staking query into link (#6383) 2021-10-23 16:33:52 +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