Commit Graph

140 Commits

Author SHA1 Message Date
Jaco Greeff
5e3c9185d7
Fix bond more isDisabled check (#4278) 2020-12-28 21:28:54 +01:00
Jaco Greeff
5830e5eab6
Pass explicit function through to TxButton tx prop (#4251)
* Pass explicit function through to TxButton tx prop

* Updates

* Claim adjust

* Allow null on tx

* Adjust

* Apply suggestions from code review

* Adjustments after merge
2020-12-24 10:01:42 +01:00
Jaco Greeff
93b38ece21
Cleanup WebPack (#4258)
* Remove unused WP5 override

* Adjust

* Additional imports

* Adjust
2020-12-21 13:15:40 +01:00
Jaco Greeff
582d0a18cc
Warn on non-atomic batches (#4242) 2020-12-19 16:46:29 +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
e6d3c61176
Use type imports from @polkadot/types/interfaces (#4103)
* Move chain params to apps-config

* Use type imports from @polkadot/types/interfaces
2020-11-29 19:03:06 +01:00
Jaco Greeff
ca21879056
Staking accounts filtering (#4099) 2020-11-29 13:47:32 +01:00
Jaco Greeff
ab00ed377a
Validator chill refresh (#4082) 2020-11-26 13:50:21 +01:00
Jaco Greeff
7425ff11ee
Use batchAll as appropriate (#4066) 2020-11-24 19:23:04 +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
fce4f76297
Adjust config imports/exports (#4051)
* Adjust config imports/exports

* Move type import

* yarn

* drive-by type imports
2020-11-19 14:17:29 +01:00
Jaco Greeff
dfdf75ba2b
On-demand Expander rendering (#4039)
* On-demand Expander rendering

* Use indexes, not progress
2020-11-17 15:33:13 +01:00
Jaco Greeff
b62def9a87
Allow selection of payment destination (#3956) 2020-11-01 09:50:33 +01:00
Jaco Greeff
922c786e9b
Bump deps (#3926)
* Bump deps

* Additional bumps

* New linting

* Solve styling issues

* Revert style adjustments (logged)
2020-10-24 09:59:09 +02:00
Jaco Greeff
364bb3bcfc
Revert https://github.com/polkadot-js/apps/pull/3922 (#3923)
* Revert "[CI Skip] release/beta 0.63.2-18"

This reverts commit a11d5fd582.

* Revert "Bump deps (#3922)"

This reverts commit b698fb4961.
2020-10-23 15:35:29 +02:00
Jaco Greeff
b698fb4961
Bump deps (#3922)
* Bump deps

* linting

* external dep resolution
2020-10-23 14:54:13 +02:00
Jaco Greeff
59623f419b
(Very) experimental dark theme (only localhost) (#3731)
* (Very) experimental dark theme (only localhost)

* Listener for theme changes

* ThemeProps

* Use actual theme with colors

* Page background

* Adjust with theme.bgPage

* Table adjustments

* Some progress (menu & inputs)

* Adjustments in a number of places

* Progress colors

* Modals

* Some calandar stuff

* Toggle

* Updates

* Hack around dropdowns

* Popup menus

* Overlays

* Connecting overlays
2020-10-01 15:50:33 +02:00
Thibaut Sardan
e1424e5a4d
Show nomination balance below nominees (#3714)
* show nomination balance belo nominees

* alphabetical order

* with useCall and useMemo

* derive staking may be undefined

* Update packages/page-staking/src/Actions/Account/ListNominees.tsx

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

* Update packages/page-staking/src/Actions/Account/ListNominees.tsx

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

* Update packages/page-staking/src/Actions/Account/ListNominees.tsx

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

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-09-18 15:42:04 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
3dc3f2b1f5
Add Account as payout desitination (#3684) 2020-09-15 13:13:02 +02:00
Jaco Greeff
fab8c86dfa
Expander adjustment (right-align, icons) (#3668)
* Expander adjustment (right-align, icons)

* Alignements

* caret

* caret alignment
2020-09-12 12:14:47 +02:00
Jaco Greeff
731408696a
i18n for rewardDesitination options (#3650) 2020-09-10 10:17:36 +02:00
Jaco Greeff
d17efb4014
Display reward destination for isAccount (#3646)
* Display reward desitnation for isAccount

* Allow adjustment of destination
2020-09-09 16:21:59 +02:00
Jaco Greeff
230938b6b7
Align slashing layout with the rest (#3614)
* Align slashing layout with the rest

* Adjust

* Adjust banners

* Extra...
2020-09-05 11:28:56 +02:00
Jaco Greeff
ce084ccacc
Align overstaked on actions with red color (#3577) 2020-08-30 18:04:27 +02:00
Jaco Greeff
eba24d5ca4
Remove 64 fallback (#3575)
* Remove 64 fallback

* toString

* Protection

* No slice-and-dice when in-range

* linting

* Ref for labels
2020-08-30 16:30:52 +02:00
Jaco Greeff
d78770a094
Oversubscriptions by size index (#3573) 2020-08-30 14:25:20 +02:00
Jaco Greeff
5c3bf740cd
Expand max-nominations badge displays (#3563)
* Expand max-nominations badge displays

* Ignore > 64 in profitable selection

* Indicate oversubscribed

* Show oversubscribed in actions
2020-08-29 09:58:37 +02:00
Jaco Greeff
c35081f6c7
Adjust for new reward desitination (#3540) 2020-08-27 14:45:20 +02:00
Jaco Greeff
7247cec8e5
Media & highlight name adjustments (#3482)
* Media & highlight name adjustments

* 2000 sizing

* Restore progress inner
2020-08-23 12:11:12 +02:00
Jaco Greeff
cdf052724f
Adjust waiting noms extraction (#3432) 2020-08-17 13:03:45 +02:00
Jaco Greeff
ebad8635f7
Adjust useCall options (#3430)
* Adjust useCall options

* Extract useCall options

* typo

* Apply suggestions from code review

* Adjust param creation in calls
2020-08-17 12:24:51 +02:00
Jaco Greeff
8f47873942
useRef for table headers (no changes) (#3429)
* useRef for table headers (no changes)

* Cleanup Tabs hidden (constants)
2020-08-16 16:29:10 +02:00
Thibaut Sardan
4d1c18fec5
Add info about the nominators state (#3420)
* add info about the nominators state

* Apply suggestions from code review

* remove duplicated info

* Apply suggestions from code review

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-08-14 20:12:00 +02:00
Jaco Greeff
8c07ccc83f
Staking render opt. useEffect/useState -> useMemo (#3408)
* Staking render opt. useEffect/useState -> useMemo

* Targets opt

* Simplify

* Couple more

* Targets useEffect

* Update packages/page-staking/src/Actions/Account/BondExtra.tsx

* Additional

* Cleanup

* Unused state

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

* Update packages/page-staking/src/index.tsx
2020-08-13 11:04:10 +02:00
Jaco Greeff
dc5bd4b87b
Small staking cleanups (#3395) 2020-08-11 23:54:47 +02:00
Jaco Greeff
612dbd55b4
Adjust account actions slash indicator (#3394) 2020-08-11 23:35:26 +02:00
Jaco Greeff
e16eb134aa
Validator-only payout toggle (#3386)
* Validator-only payout toggle

* ToggleButton consistency
2020-08-11 13:31:42 +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
e3f4b4c6df
s/Chilled/Renomination required/ (#3375)
* s/Chillded/Renomination required/

* Keep active/inactive
2020-08-08 12:04:47 +02:00
Jaco Greeff
fd70692193
Non-zero lastZeroSlash (#3364)
* Displayed chilled nominators in waiting

* Non-zero-era slashingSpans
2020-08-07 13:00:20 +02:00
Jaco Greeff
e498669d50
Displayed chilled nominators in waiting (#3361) 2020-08-07 12:21:47 +02:00
Jaco Greeff
7b64762478
Bumps, yarn stale (#3352)
* Bumps, yarn stale

* Bump berry

* WIP

* Rewrite
2020-08-06 15:47:43 +02:00
Thibaut Sardan
a6315aa915
Take unlocking and redeemable into account to bond more funds (#3348)
* take unlocking and redeemable into account

* spacing
2020-08-06 13:35:39 +02:00
Jaco Greeff
d8e1a9a4b2
Align nominate sizing (#3313) 2020-08-01 22:24:53 +02:00
Jaco Greeff
bab644ec82
Nominate trust warning (#3309) 2020-08-01 14:39:41 +02:00
Jaco Greeff
ce49da0029
Remove auto validator defaults (#3306)
* Remove auto validator defaults

* Adjust

* Additional cleanups

* Disable nominate on no target validators

* Remove unused next from targets
2020-08-01 12:34:40 +02:00
Jaco Greeff
43470277e7
Add slashing indicator (#3302)
* Add slashing indicator

* Display slashing on targets page

* Show chilled from before slash

* Sizing
2020-07-31 14:09:28 +02:00
Jaco Greeff
a370da33d5
Randomize same-parent inclusion via nomination (#3295) 2020-07-30 17:16:49 +02:00