Commit Graph

1097 Commits

Author SHA1 Message Date
Jaco Greeff
013e10f487
placeholder shortcuts (#4637) 2021-02-09 14:19:35 +01:00
Jaco Greeff
d7cdfecc18
Add ParaLink component (#4625) 2021-02-06 16:00: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
MiZiet
072b26b6f2
Adjust the popup's arrow according to the theme (#4583) 2021-02-03 09:18:34 +01:00
Jaco Greeff
85b084b265
Pass registry along with call decoding (#4570)
* Pass registry along with call decoding

* Bump API
2021-02-01 21:35:48 +01:00
Jaco Greeff
59ad14c658
Don't call query (useState via fn) (#4569) 2021-02-01 20:36:55 +01:00
Jaco Greeff
1b43ffa046
Ensure useState doesn't re-init with function calls (#4552)
* Ensure useState doesn't re-init with function calls

* extra

* Additional
2021-02-01 14:17:14 +01:00
Jaco Greeff
3f93ac2af7
Adjust Menu.Divider (only when between items) (#4560)
* Adjust Menu.Divider (only when between items)

* typos
2021-02-01 13:52:15 +01:00
Jhon
916a925cda
added validator/nominator flags (#4546)
* lighter read to make it more readable on dark mode

* added missing themeprops ref

* ran linter

* undo opacity 1 on non red 'other stake' to keep the focus on the whle number'

* ran linter

* isolate opacity change to format balance error text

* updated settings > metadata layout to be more consistent with the rest

* ran linter

* Update packages/page-settings/src/Metadata/Extensions.tsx

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

* updated ternary condition to get rid of empty string at the end as well as fixed weird indentation on styled components

* added validator flag

* Update packages/react-hooks/src/useAccountInfo.ts

* Update packages/react-hooks/src/useAccountInfo.ts

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-02-01 13:26:08 +01:00
Jaco Greeff
b5731e537a
Inline block for parachain links (#4540)
* Inline block for parachain links

* Cleanups
2021-01-29 21:35:27 +01:00
Jaco Greeff
0196649ce4
Adjust endpoint logos with allowed empty (#4539)
* Adjust endpoint logos with allowed empty

* Displa parachain logos alongside
2021-01-29 16:11:54 +01:00
Jaco Greeff
99ae6ecd8e
Bump API (Kusama upgrade) (#4519) 2021-01-28 12:37:36 +01:00
Ewa Kowalska
ccf44f650b
Bounties - Hide bounty unhappy path actions (#4500) 2021-01-28 10:18:57 +01:00
Jaco Greeff
960f0d6fc9
Allow storage without accounts (#4514) 2021-01-27 15:39:22 +01:00
Jaco Greeff
3eb5cd6270
Ensure InputAddress doesn't return non-filtered (#4473) 2021-01-27 11:46:21 +01:00
Jaco Greeff
2542c017bf
Incremental staking rendering (#4503)
* Incremental staking rendering

* Apply suggestions from code review
2021-01-26 18:30:36 +01:00
Jaco Greeff
3a40a10420
Display extrinsic signature & type (#4489) 2021-01-25 11:08:48 +01:00
Jhon
8be67fc5e1
Identicon and error red shading adjustments for dark theme (#4483)
* lighter read to make it more readable on dark mode

* added missing themeprops ref

* ran linter
2021-01-24 17:50:30 +01:00
Jaco Greeff
0323d96b4c
Row classes overrides for tables (#4472)
* Row classes overrides for tables

* Adjust faint highlight
2021-01-24 12:52:21 +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
df9c515326
Display all balance instances (#4479) 2021-01-23 09:23:46 +01:00
MiZiet
b09bc9cbc9
Adjust components placement and styling in bounties list (#4460) 2021-01-22 12:06:49 +01:00
Jaco Greeff
dd994a67be
Split parachain proposals (#4423) 2021-01-15 11:07:22 +01:00
Jaco Greeff
d28d9c6941
Add small QR border (#4392)
* Add small QR border

* Missing style...

* Border for networkspecs QR
2021-01-13 15:10:46 +01:00
Jaco Greeff
50544d55d4
Adjust paras proposals media (#4387)
* Media queries on proposals

* Adjust paras proposals media

* Approve button
2021-01-13 12:48:29 +01:00
Jaco Greeff
9a1de6ea5b
Parachain proposal details slider (#4384) 2021-01-13 10:58:51 +01:00
Jaco Greeff
8db595b535
Menu hover adjustments (only background) (#4362) 2021-01-11 12:26:10 +01:00
Jaco Greeff
e577bfbd82
Adjust non-preimage display (#4359) 2021-01-11 07:54:47 +01:00
Jaco Greeff
b577b97809
Fix JS width (dropdown breaking out) (#4357)
* Fix JS width (dropdown breaking out)

* Adjust HelpOverlay
2021-01-10 09:40:58 +01:00
Jaco Greeff
d8b2bab912
Warning & Error with exclamation triangle (#4331)
* Warning & Error with exclamation triangle

* Fix lint

* Apply suggestions from code review
2021-01-10 08:37:51 +01:00
Jaco Greeff
6bb45bcb75
Adjust highlights (#4354) 2021-01-09 14:21:40 +01:00
Jaco Greeff
10ce7a40e8
font-weight: 400 -> theme.fontWeightNormal (#4339)
* font-weight: 400 -> theme.fontWeightNormal

* Less lazy, font-weight: 400 converted
2021-01-09 09:41:13 +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
c5bf0de631
Parachains registration (#4318)
* Parachains registration

* Registrar dialog
2021-01-04 14:46:14 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
602bd35977
Remove genericAsset (to be replaced with asset) (#4303) 2020-12-30 18:05:05 +01:00
Jaco Greeff
d548b838a2
Bump deps (w/ cleanups) (#4301) 2020-12-30 12:49:01 +01:00
Jaco Greeff
248b9ba319
Fix InputAddress (#4297) 2020-12-29 19:40:15 +01:00
Jaco Greeff
a44e1b7d08
Fix dark theme multi address background (#4293) 2020-12-29 16:40:27 +01:00
Jaco Greeff
ec56e100a6
0.73 (#4274)
* 0.73

* Typing
2020-12-28 14:37:31 +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
b22f61347e
Remove unused TxModal components (#4250)
* Remove unused TxModal components

* Cleanups
2020-12-20 17:50:06 +01:00
Jaco Greeff
964995ea1a
Adjust sui imports (non-cjs) (#4245) 2020-12-19 19:12:09 +01:00
Jaco Greeff
582d0a18cc
Warn on non-atomic batches (#4242) 2020-12-19 16:46:29 +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
Jaco Greeff
1cf7b5e629
Allow InputAddress with no options (#4227)
* Allow InputAddress with no options

* Update packages/react-params/src/Param/index.tsx
2020-12-17 11:07:08 +01:00
iiiiiiii
a55579dd97
fix tooltip z-index (#4222) 2020-12-16 09:22:46 +01:00
Jaco Greeff
fe31bc522d
Sharing of user types (#4210)
* Sharing of user types

* url encoding/decoding

* assert non-array

* Developer page URL encoding

* Cleanup saving/loading encoding

* Move fflate

* CopyButton
2020-12-15 10:54:40 +01:00
Jaco Greeff
48a3127ba8
Display error.message || error (when string is thrown) (#4197)
* Display error.message || error (when string is thrown)

* Update packages/react-signer/src/TxSigned.tsx
2020-12-12 10:19:41 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +01:00
MiZiet
7ed65ebf7b
Add max-width to content (#4170)
* Add max-width to content

* Add padding to content and change Query position

* Add max-width constants

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-09 15:42:58 +01:00
Jaco Greeff
cfea8723a5
Bump deps (#4181)
* Bump deps

* Additional
2020-12-09 14:15:59 +01:00
Jaco Greeff
2e6cbe8f7c
Ensure bad judgement has the highest priority (#4178) 2020-12-08 21:36:54 +01:00
Jaco Greeff
e4fc6b7aea
Move moonbeam/sora RPCs to bundle-only (#4174)
* Move moonbeam/sora RPCs to bundle-only

* Update packages/react-components/src/InputRpc/useRpcs.ts
2020-12-08 16:38:01 +01:00
Jaco Greeff
58c27ed919
Bumpi API (bounty derives, typesBundle rpcs) (#4173)
* Bumpi API (bounty derives, typesBundle rpcs)

* linting
2020-12-08 16:09:56 +01:00
Jaco Greeff
fef4479fd6
Bump dev (import plugin in base) (#4169) 2020-12-07 17:14:33 +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
Jaco Greeff
864687d0a3
Adjust Tooltip formatting for consistency (#4167) 2020-12-07 13:33:20 +01:00
Jaco Greeff
f86cc1a689
Small target opts (incl. non-selected sorting) (#4159)
* Small target opts (incl. non-selected sorting)

* Remove last dangling validatorPayment
2020-12-04 16:21:50 +01:00
Jaco Greeff
81bce1e4f7
Fix HelpOverlay background for dark (#4156) 2020-12-04 09:03:22 +01:00
Jaco Greeff
a74ff3ccad
Output className, remove extra } (#4132) 2020-12-01 16:49:01 +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
78b3680f3c
Rework with useNominations (incl. loading indicators) (#4128) 2020-12-01 13:13:47 +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
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
366c8804d0
Cleanup targets pre-filtering on sort (#4098) 2020-11-29 12:56:13 +01:00
Jaco Greeff
c9d9b5022d
Bump API (#4088) 2020-11-28 14:29:12 +01:00
Jaco Greeff
b9113f7375
Fix RPC params change (#4083) 2020-11-26 14:11:21 +01:00
Jaco Greeff
c70f82807e
Trate user-RPCs consistently alongside known (#4081) 2020-11-26 13:07:21 +01:00
Jaco Greeff
aaedb61e0d
import type { UseTranslationResponse } (#4074) 2020-11-26 10:23:52 +01:00
Jaco Greeff
488230d5db
Also explicitly list h1 height (as h2) (#4073) 2020-11-25 22:24:17 +01:00
Jaco Greeff
f99dcb2b0a
Fonts from new.css (#4071)
* Fonts from new.css

* line-height 1

* h2 adjust

* rm Nunito
2020-11-25 21:42:31 +01:00
MiZiet
cedc6b28c1
Align account name with nunito sans (#4038)
* Fix font alignment

* Plug in Nunito Sans

* Remove line-height

* Align AccountName

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

Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-25 21:24:01 +01:00
Jaco Greeff
bcb36ec4f0
Allow CopyButton on all Hash* fields (#4065) 2020-11-24 15:56:53 +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
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
Antoine Estienne
c004f07c53
Feature/better eth address addition (#4032)
* update labels for eth private key

* updated copy button

* lint

* Apply suggestions from code review

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

* typo

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-16 15:19:08 +01:00
Jaco Greeff
2c951cf263
Bump API (#4029) 2020-11-16 07:19:04 +01:00
Jaco Greeff
e10d56d0ec
Bump API (#4017)
* Bump API

* Rebuild i18n

* Fix InputAddress

* Pass through registry where applicable
2020-11-12 15:43:19 +01:00
Jaco Greeff
64299ebd29
Dev bump (#4012)
* Bump API/Common (esnext exports)

* Bump deps

* Adjust

* Bumps

* Bumps

* repository

* Update dev

* Remove Rococo (for the time being)

* script extension
2020-11-11 15:28:52 +01:00
Antoine Estienne
31904bf106
Support ethereum addresses for Moonbeam (#3961)
* support ethereum addresses

* corrections

* add standalone url and ethereum identicons

* add moonbeam config

* added changes from the old pr

* add new config

* added dummy rpc method declarations for eth methods

* wip fix address add modal

* support ethereum addresses

* corrections

* add standalone url and ethereum identicons

* add moonbeam config

* added changes from the old pr

* add new config

* added dummy rpc method declarations for eth methods

* wip fix address add modal

* wip repair app with new keyring

* use isDevelopement false for ethereum

* lint

* more formatng

* eth addresses by default for account creation

* added many more types to support moonbeam

* added color

* add h160 to types and components

* add rpc methods to app-config

* lint

* polish

* Update packages/react-params/src/initValue.ts

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

* Apply suggestions from code review

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

* moved ethereum networks to config

* added real rpc method typings

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-10 18:12:11 +01:00
Jaco Greeff
ce796b499a
Cleanup maxVote calculations (no re-triggers) (#3992)
* Cleanup maxVote calculations (no re-triggers)

* Remove duplicate equality check

* Remove (now unneeded) isBn check
2020-11-08 13:36:58 +01:00
Jaco Greeff
524cbc8a80
Add fontWeight* to theme (#3985)
* Add fontWeight* to theme

* Cleanup comments

* fontWeightLarge -> fontWeightLight
2020-11-06 14:31:23 +01:00
Thibaut Sardan
08196d3093
Cleanup style expansion (#3943)
* cleanup style expansion

* ThemeDef

* Don't create unneeded objects

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-11-06 13:58:04 +01:00
Jaco Greeff
50fd662f8a
Revert font changes (#3976) 2020-11-05 12:50:40 +01:00
Jaco Greeff
5070ecdd10
s/fontFamily/fontSans/ (#3968) 2020-11-04 15:11:02 +01:00
Albert
2215541cd9
Apply Nunito fonts globally (#3882)
* Add nunito fonts

* Apply Nunito fonts globally

* Remove Nunito fonts (600,800)

* Add fontFamily to themes

* Unify font-weight and font-family across app

* Fix linting

* Use Monospace font from theme where required

* Add font-family from theme to buttons

* Revert font-family change in Claim

* Provide enough vertical space for rendering of an account name with verified identity

* Use theme font in transfer and search inputs

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
2020-11-04 14:35:49 +01:00
Jaco Greeff
2a1fb452af
Add support for ethereum icon theme (#3964)
* Add support for ethereum icon theme

* Bump deps
2020-11-03 16:06:40 +01:00
Jaco Greeff
27fbeef324
Bump deps (#3949)
* Bump deps

* Type imports
2020-10-30 11:38:54 +01:00
Jaco Greeff
b484947b79
Display last blocks for execution (per contract) (#3917)
* Display last blocks for execution (per contract)

* Bump API with new block subs

* linting
2020-10-22 20:21:38 +02:00
Jaco Greeff
3dd77c8393
Contract event decoding (#3914)
* Contract event decoding

* Update packages/apps/src/Content/Status.tsx

* Update packages/react-components/src/Status/Queue.tsx

* Bump API
2020-10-22 16:34:11 +02:00
Krzysztof Jelski
7b387762bd
Updated flow for creating accounts (#3880)
* Add 3 step account creation

* Add textarea with dropdown

* Add OWASP and styles to PasswordStrength

* Align the checkbox with other ui elements

* Notification on mnemonic copy

* Make confirmation label clickable

* Do not shorten address in creation modal

* Make address name not editable in header

* Always show password strength meter

* Always show password strength meter

* Update tests to new account flow

* Remove repeated dependency

* Remove console.log from test

* Update yarn.lock

* Restore imports order.

* Format div component according to style

* Remove cursor styling for old browsers

* Empty line

* Organize imports. Configure StrengthTester once. Use color from theme.

* wip on text area

* TextArea styling

* Checbox styling

* Update repeated password validity on first password change

* Simplify CopyButton notification code.

* Change TextArea styling to more consistent

* Make password strength indicator wider

* Move external warning down and show on both steps

* Inline TextArea subcomponents

* Move mnemonic saved confirmation label closer to buttons

* Add steps counter to header

* Remove space

Co-authored-by: Michał Ziętalak <michal.z@ethworks.io>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-10-22 15:59:01 +02:00
Jaco Greeff
ca20e2aa70
Allow ascii inputs on Bytes fields (#3908)
* Allow ascii inputs on Bytes fields

* Remove help
2020-10-21 12:33:46 +02:00
Jaco Greeff
d2a4ed7f0c
Fix Babe availability check (#3900) 2020-10-19 16:41:30 +02:00
Jaco Greeff
dc4db837a7
Don't display unbonding blocks in Aura (#3896) 2020-10-19 12:02:31 +02:00
Jaco Greeff
71f6ec83c1
Adjust formatting with large balance values (#3871) 2020-10-14 19:14:52 +02:00
Jaco Greeff
ee7a4de77d
Allow ABI removal on upload (#3869) 2020-10-14 09:15:13 +02:00
Jaco Greeff
7ccbc57918
Add overall contracts summary, bump API (#3852) 2020-10-11 14:50:22 +02:00
Jaco Greeff
d58852558c
Display on-chain status for contract code & instances (#3851) 2020-10-11 11:50:27 +02:00
Jaco Greeff
9d51e0462a
Fix actual exec (#3842)
* Fix actual exec

* Adjust

* Remove (now unused) api

* Cleanup state on unmounted

* Update

* Use isPayable flag
2020-10-10 21:43:20 +02:00
Jaco Greeff
2deb69682f
Adjust buttons based on ABI availability (#3839)
* Adjust buttons based on ABI availability

* Sorting
2020-10-10 12:02:15 +02:00
Jaco Greeff
6bdb12a2ec
Watch contract state (#3838)
* Watch contract state

* Display actual outputs
2020-10-10 11:27:23 +02:00
Jaco Greeff
ae9ccf3450
Support for ink! v3 (#3828)
* Support for ink! v3

* Update packages/page-contracts/src/shared/Messages.tsx

* Cleanup displays

* Adjust

* Deploy & RPC call

* s/call/read/

* Adapt layout

* Swap to tables

* Update

* Updates to read/exec

* Adjust

* Updates

* Adjust with old code removal

* Update banner

* Adjust modals for dark

* Additional

* Bump API

* typo, case-sensitive

* Remove old types
2020-10-09 19:41:10 +02:00
Jaco Greeff
98819906ff Remove unused interfaces (e.g. dashboard) 2020-10-05 02:01:21 +02:00
Jaco Greeff
c426c4e57c
Adjust background for RoboHash icon (#3812)
* Adjust background for RoboHash icon

* background opacity

* Adjust
2020-10-02 14:29:46 +02:00
Jaco Greeff
0950f9f78c
Don't show countdown on fully vested (#3809) 2020-10-02 09:54:02 +02:00
Jaco Greeff
7b299cc4bd
Remove handled address tranform logs (#3807)
* Remove handled address tranform logs

* Update packages/react-params/src/initValue.ts

* Update packages/react-params/src/initValue.ts
2020-10-01 22:32:01 +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
Jaco Greeff
880c13ff80
Adjust Inputaddress KeyPair styling (sizing, movement) (#3800) 2020-10-01 14:15:21 +02:00
Jaco Greeff
fd8d60ce6b
RoboHash icon theme (#3795)
* RoboHash icon theme

* Move to react-components

* Enable RoboHash

* Use full hash for generation

* Conversions

* Stream bytes

* background opacity

* Optimize images
2020-10-01 13:43:16 +02:00
Jaco Greeff
2988915727
0.60 (#3782) 2020-09-28 11:03:59 +02:00
Jaco Greeff
8aaf35fd4a
Combine events for status (#3781)
* Combine events for status

* Add ExtrinsicSuccess to start
2020-09-28 09:38:33 +02:00
Jaco Greeff
0b7d6de2a0
Bump deps (#3779) 2020-09-27 21:31:58 +02:00
Jaco Greeff
78f8a8c0e2
Bump API, Keyring (#3767) 2020-09-25 13:42:22 +02:00
Jaco Greeff
41c2c6ff4d
Remove button hover highlight (#3759) 2020-09-24 16:37:57 +02:00
Jaco Greeff
42e06de3c9
Submit multiple txs via Payout all (#3756)
* Submit multiple txs via Payout all

* Single onstart event
2020-09-24 14:33:31 +02:00
Jaco Greeff
44d8aa962e
Filter #<weight>...</weight> from metadata (#3741) 2020-09-22 14:54:10 +02:00
Jaco Greeff
8ab82b10a3
InputAddressMulti stretch (#3740) 2020-09-22 14:15:46 +02:00
Thibaut Sardan
b2449546d0
Fix overflow in democracy proposal (polkadot) (#3739)
* dix overflow

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

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-09-22 13:53:31 +02:00
Jaco Greeff
306c194cb1
0.59 (#3727) 2020-09-21 10:10:54 +02:00
Jaco Greeff
714beda8d4
Button Group margins (#3723) 2020-09-20 13:23:47 +02:00
Jaco Greeff
88c511d536
Small expander meta formatting (#3713)
* Small expander meta formatting

* Updates
2020-09-18 12:17:12 +02:00
Jaco Greeff
a96c36d158
Registry usage from type (#3709) 2020-09-18 08:07:25 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
2e72142f6a
Determine nonce via accountNextIndex (#3704) 2020-09-17 16:08:36 +02:00
Jaco Greeff
90b1f12c04
Contrast menu on brightness (#3701)
* Add contrast colors on menu (dark vs light)

* Adjust contrast detection

* Adjust contrasts

* Don't match, use indexes
2020-09-17 12:36:14 +02:00
Jaco Greeff
440620c204
Expander table adjustments (#3679)
* Expander table adjustments

* Expander table headings

* balances as expand header

* No header padding
2020-09-14 18:12:36 +02:00
Jaco Greeff
5f4c4c052b
Small layout adjustments (explorer & staking) (#3673) 2020-09-13 11:51:11 +02:00
Jaco Greeff
443db3353b
Tabs bottom (#3672) 2020-09-12 15:00:28 +02:00
Jaco Greeff
66d848388f
Adjust horizontal content padding (#3671)
* Adjust horizontal content padding

* Adjust

* Adjust
2020-09-12 14:19:30 +02:00
Jaco Greeff
4d5bb34ab0
Adjust CallExpander (#3670)
* Adjust CallExpander

* Table header padding

* Revert
2020-09-12 13:23:40 +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
a286bb90bc
Topmenu updates as per design (#3658)
* Topmenu updates as per design

* Explicit background to chain images

* Faint background (maybe, someday)

* Faint background for table highlights

* table headers

* Footer background

* Aletr badge (dark, as per suggestion)

* invert counter

* Small adjustments to opacity

* Update packages/apps/src/Content/index.tsx

* Status borders

* empty opacity

* Revert border

* Update packages/react-components/src/Status/index.tsx
2020-09-12 08:50:33 +02:00
Jaco Greeff
000179c5ca
Adjust calendar headings (#3656) 2020-09-11 09:33:05 +02:00
Jaco Greeff
57dc4d560d
Adjust table header/row coloring (#3655)
* Adjust table header/row coloring

* calnedra rows
2020-09-11 08:55:43 +02:00
Jaco Greeff
9b3121ea82
Display commission over eras as graph (#3644)
* Add commission-over-eras chart

* Untipped/closing view toggle

* Adjust alignment
2020-09-09 14:38:17 +02:00
Jaco Greeff
9228041dbe
Table border adjustments (#3639) 2020-09-08 13:41:37 +02:00
Jaco Greeff
f127e829bc
Align time unit strings (#3622)
* Align time unit strings

* Apply suggestions from code review

* dedup

* Rebuild i18n
2020-09-06 11:05:45 +02:00
Jaco Greeff
a17ddb54a2
Cleanup css comments (#3617) 2020-09-05 19:14:22 +02:00
Jaco Greeff
e41df0c3b9
Bump API (#3616)
* Bump API

* Adjust header color
2020-09-05 15:29:31 +02:00
Jaco Greeff
7ec4700905
Slight adjustments to the Table UI (#3615)
* Slight adjustments to the Table UI

* Adjust

* Final tweaks, ship it.

* Table header highlight

* Adjust

* Header padding

* comment line

* Adjust

* Final, enough playing.

* One tone lighter

* odd rows

* Lied... really the final

* background on rows (summry transparent)
2020-09-05 14:52:36 +02:00
Jaco Greeff
ffeab6a94e
Detect WASM (via util) (#3612)
* Detect WASM (via util)

* Linting

* Cleanups.
2020-09-05 12:26:25 +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
584ce1e5bc
Tiny UI adjustments (#3608) 2020-09-04 12:27:09 +02:00
Jaco Greeff
506cec434b
Add cancel all to slashes page (#3607) 2020-09-04 11:15:25 +02:00
Jaco Greeff
8815703d00
Bump dev, fix linting (#3603)
* Bump dev, fix linting

* Small zh adjustments

* Remove rpc.* zh
2020-09-03 16:36:24 +02:00
Jaco Greeff
bc2e143ea9
Small cleanups (duplication) (#3599) 2020-09-03 08:13:02 +02:00
Nikhil Ranjan
aa6aeb75a2
add vestingPerBlock and vestingEndBlock in vested balance tooltip (#3587)
* add vestingPerBlock in vesting balance tooltip

* translations

* add vestingEndBlock

* translation

* fix lint

* formatNumber vestingEndBlock

* added countdown

* until

* lint fix

* fix

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

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

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

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-09-02 11:48:06 +02:00
Jaco Greeff
7635e01090
Align with extension, copy seed button (#3581)
* Align with extension, copy seed button

* Move location (allows hover)
2020-08-31 22:55:05 +02:00
Jaco Greeff
3298784240
Show locks for delegated votes (#3557) 2020-08-28 15:00:37 +02:00
Jaco Greeff
23b83282ba
Unbonding display fix (#3554)
* Adjust unbonding calcs

* Remove log

* release/stable

* Bump API
2020-08-28 11:10:25 +02:00
Jaco Greeff
58b9833c65
Simplify unbonding display (#3551)
* Simplify unbonding display

* Less allocations
2020-08-27 22:55:42 +02:00
Jaco Greeff
54f997eb99
Limit to max chainDecimals on InputNumber (#3548) 2020-08-27 18:44:23 +02:00
Jaco Greeff
295829af8e
Use external icon links (#3545)
* Use external icon links

* Adjust opacity

* Cursor
2020-08-27 16:35:19 +02:00
Jaco Greeff
f71e1ff922
Adjust links with full names (#3537)
* Adjust links with full names

* Add provider logos

* Unsafe assignment

* Linting
2020-08-27 15:36:34 +02:00
Jaco Greeff
6632c7f7e4
Adjust help slideout z-index (#3539) 2020-08-27 14:58:46 +02:00
Jaco Greeff
a2c3c6a121
tabIndex on dropdown (#3532) 2020-08-26 21:18:15 +02:00
Jaco Greeff
4c007e29ef
No indices lookups anywhere, only on address book (#3531)
* No indices lookups anywhere, only on address book

* Linting
2020-08-26 19:37:10 +02:00
Jaco Greeff
0af86e2e5f
Explicit aye/nay buttons (no toggle) (#3524)
* Explicit aye/nay buttons (no toggle)

* Extract isDisabled

* Remove DOT banner

* Updates

* s/New DOT/DOT/

* Bump API

* .eslintrc
2020-08-26 13:37:00 +02:00
Jaco Greeff
3cb6333181
revert api (#3525) 2020-08-26 12:22:16 +02:00
Jaco Greeff
80bfc6033b
Bump API (#3522)
* Bump API

* Disable problemtic rule (some valid, most not)

* Bump API
2020-08-26 12:07:43 +02:00
Jaco Greeff
b69dcc3fb0
Chain/Events calendar (#3505)
* Scaffolding

* next/prevMonth

* WIP

* Day layout

* Something shows

* Scheduler itesm

* Fix clacls, basics are there

* styled localized

* Constant retrievals

* Extraction cleanups

* extraMargin on article.error

* It works.

* Fix council ids

* merge yarn
2020-08-25 11:29:01 +02:00
Jaco Greeff
884cc281f8
Move account modals to root (#3506)
* Move modals to root

* Adjust locations

* Fix toggle order

* Update packages/page-accounts/src/modals/Transfer.tsx

* Status positioning
2020-08-25 01:28:05 +02:00
Jaco Greeff
26a944d24d
Remove "Unknown chain" on parachains (#3502) 2020-08-24 10:25:02 +02:00
Jaco Greeff
26881b4c1c
Extra payouts info on claiming (#3501) 2020-08-24 08:51:04 +02:00
Jaco Greeff
12508224ac
Split RPC (dejavu) into own nav item (#3494)
* Split RPC (dejavu) into own nav item

* RPC/Extrinsics icons

* Split addressbook app

* Update create path
2020-08-24 00:21:12 +02:00
Jaco Greeff
c8b912bb78
Small tab counter adjustment (#3493) 2020-08-23 23:15:00 +02:00
Jaco Greeff
bf0a7b4b43
Adjust buttons/tables (#3492)
* Adjust buttons/tables

* Filter
2020-08-23 22:50:15 +02:00
Jaco Greeff
71ab4c3d04
Rework votes display (#3489) 2020-08-23 18:57:57 +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
83f736246a
Extract background (light) highlight style (#3478)
* Extract background (light) highlight style

* Adjust progress with top
2020-08-23 11:16:59 +02:00
Jaco Greeff
39422a06ba
Expander adjustment (#3480)
* Expander adjustment

* AddressInfo w/ New DOT

* Adjust

* Content padding

* Basic settings when not connected
2020-08-23 10:35:12 +02:00
Wei Tang
b1e967833d
Fix conviction dropdown block time display (#3479)
* Fix conviction dropdown block time display

* Use divn instead of /

* Move useBlockTime out of createOptions

* Fix space
2020-08-22 18:17:21 +02:00
Jaco Greeff
dc6817d8af
Ensure CopyButton is not read-only (#3477) 2020-08-22 16:44:30 +02:00
Jaco Greeff
f64169731e
Adjust default icon display (#3476) 2020-08-22 16:27:11 +02:00
Jaco Greeff
3534bda556
Preload chain images (#3471) 2020-08-21 20:32:37 +02:00
Jaco Greeff
b4e10c9661
Adjust chain empty logo (background) (#3470)
* Adjust chain empty logo (background)

* Slight adjustment
2020-08-21 16:55:51 +02:00
Jaco Greeff
0423feeaba Crisper 2. 2020-08-21 14:32:52 +02:00
Jaco Greeff
7ce4ca5064 Crisper. 2020-08-21 14:19:22 +02:00
Jaco Greeff
399222b872 Shadow-y. 2020-08-21 13:56:33 +02:00
Jaco Greeff
f845f2a12f
Adjust menu highlights (#3461)
* Adjust menu highlights

* Update packages/apps/src/Menu/Grouping.tsx

* Slight toning down
2020-08-21 09:20:33 +02:00
Jaco Greeff
2ee50d1b65
Media breakpoints for nav (#3459) 2020-08-21 07:49:04 +02:00
Jaco Greeff
33892a2e31
Nav re-imagined (#3422)
* Playthrough with top navigation

* Sycky, but navigation works...

* Adjust

* grouping

* It works, but is not great

* Cleanups

* Cleanups

* hover color

* Highlights

* Highlights, part 2

* Background to body

* Small adjustments (size, items)

* Localize Modal/route switching

* Remove light/full mode

* Flatter single-entry menus

* Adjustments for single-enrties (e.g. Kulupu)

* Display NodeInfo

* Misc

* Content & Tabs sizing

* Tab counters as bubbles

* Alignment

* Tabs styling

* Adjust font color to defaults

* Small tabs menu color adjustments

* ... the previous, again, adjusted

* Display Wiki/Github links

* ar motions

* Adjust Endpoints location

* Ensure content grows to available height

* Adjust tabs

* Menu background adjustment

* Adjust popup colors

* Adjust highlights

* Sligh breathing room

* Adaptive header background

* 2/3

* Adaptive is ok... for now.

* Back to black... erm, gray

* Lighten

* Touchups. Stop playin, it is ok...

* Sides readability

* Cleanups.

* Adjust.

* Overall adjustments (theme). Fix Tag yellow.

* Ok. Done.

* Ship it.
2020-08-20 17:50:30 +02:00
Jaco Greeff
7f7414749f
Default to no-lockup conviction (#3443) 2020-08-19 12:38:24 +02:00
Krzysztof Jelski
8b50b1b28c
A proof of concept for frontend test with substrate in docker (#3371)
* React tests PoC.

* Globally start and stop substrate for all tests.

* Fix compilation problem.

* Another attempt to make both compilation and tests work.

* Apply suggestions from code review

* Run slow tests with docker only nightly.

* Update yarn.lock.

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-08-19 11:27:52 +02:00
Jaco Greeff
f505ef41b2
Remove conviction genesis override (#3440)
* Remove conviction genesis override

* Ordering

* Simplify unit formatting
2020-08-19 09:59:52 +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
44055cbcde
Remove link tooltips (#3424)
* Remove link tooltips

* Convert to a title
2020-08-15 16:37:25 +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
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
6cd5e4d847
Strip newlines from hex input (#3403)
* Strip newlines from hex input

* Update packages/react-components/src/InputFile.tsx
2020-08-12 14:00:21 +02:00
Jaco Greeff
6a5f37fd07
Link to extension upgrade, cater for non-existing case (#3401) 2020-08-12 12:49:45 +02:00
Jaco Greeff
d450563191
Default to hex detection flag on uploads (#3398)
* Add hex conversion flag

* Add actual default

* Remove converthex flag
2020-08-12 10:15:10 +02:00
Jaco Greeff
41d6303f6f
Adjust table consistency (#3397)
* Adjust table consistency

* Header transparent

* Non-transparent summary
2020-08-12 09:39:50 +02:00
Jaco Greeff
1e2fe08801
Summary table header (#3392)
* Symmary table header

* Nominator count
2020-08-11 22:11:11 +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
Thibaut Sardan
4486532534
Fix council voting balance (#3363)
* fix council voting balance

* locked balance as default

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

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

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-08-07 14:37:41 +02:00
Jaco Greeff
7b64762478
Bumps, yarn stale (#3352)
* Bumps, yarn stale

* Bump berry

* WIP

* Rewrite
2020-08-06 15:47:43 +02:00
Jaco Greeff
98fd2ed1fa
Adjust AddressToggle with named (#3349) 2020-08-05 21:18:20 +02:00
Jaco Greeff
107bfc7065
Warn on locally stored accounts (#3345) 2020-08-05 14:39:51 +02:00
Jaco Greeff
f71e5c9cbc
Quick endorse with median (#3340)
* Tip endorse with median

* Disable quick on median === 0
2020-08-05 10:34:33 +02:00
Jaco Greeff
cc217ef7e1
Link button hover color (#3326) 2020-08-03 22:07:09 +02:00
Jaco Greeff
cff0c7c14e
Add Switch action to endpoint change (#3320) 2020-08-02 12:52:45 +02:00
Jaco Greeff
c085125dd7
Endpoint toggle adjustments (#3319) 2020-08-02 11:40:38 +02:00
Jaco Greeff
6df29eadb0
De-dupe account filters (staking & components) (#3311) 2020-08-01 16:09:03 +02:00
Jaco Greeff
6aefdd9178
useLoadingDelay for large lists (#3310)
* useLoadingDelay for large lists

* Accounts with isLoading

* sortedAddresses afecting check
2020-08-01 15:29:52 +02:00
Jaco Greeff
bab644ec82
Nominate trust warning (#3309) 2020-08-01 14:39:41 +02:00
Jaco Greeff
71eb21c28b
Adjust multi-list loading state (#3308)
* Try infinite-scroll

* Adjust multi-list with loading

* Update package.json
2020-08-01 14:00:30 +02:00
Jaco Greeff
437af3d4d8
Set max modal column widths (#3294) 2020-07-30 16:21:54 +02:00
Jaco Greeff
7d4b3a71dc
De-dupe nominations, favor different (#3292) 2020-07-30 16:11:01 +02:00
Jaco Greeff
5946951ece
Highlight selected endpoint (#3289) 2020-07-30 09:10:23 +02:00
Jaco Greeff
d048f06e60
Display schedule on democracy (#3287) 2020-07-29 19:21:21 +02:00
Jaco Greeff
f7ecc45606
Endpoint sidebar (#3282)
* Endpoint sidebar

* Collapsible

* Selection of new url

* Sidebar icon override

* url validity

* Remove  network selection from settings

* Updates with custom
2020-07-29 13:59:30 +02:00
Jaco Greeff
7129c26b42
Sidebar split (#3280)
* Seidebar split

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

* Rename
2020-07-28 12:20:03 +02:00
Jaco Greeff
1b6d2e9794
Adjust payout toggle with days (#3274)
* Adjust payout toggle with days

* Cleanups
2020-07-27 13:04:42 +02:00
Jaco Greeff
f19eeccd02
Bump deps (#3273)
* Bump deps

* Rewrite yarn
2020-07-27 10:24:35 +02:00
Jaco Greeff
bb846baa71
Slight button ordering adjustments (#3271) 2020-07-26 18:00:17 +02:00
Jaco Greeff
9003d32c85
Remove unused Button props (#3267)
* Remove unused Button props

* Bump deps
2020-07-25 15:30:40 +02:00
Jaco Greeff
0dd3546fb3
Button adjust (#3266)
* Button adjust

* Basic buttons

* Size adj
2020-07-25 13:47:00 +02:00
Jaco Greeff
4e82a837ab
Fix new tip detection (#3265) 2020-07-25 11:16:17 +02:00
Jaco Greeff
a3b4eaa551
Update button styling (#3264)
* Update button styling

* Basic button

* Slight button background

* Disabled no background

* Las tweaks
2020-07-25 09:55:49 +02:00
Jaco Greeff
818668e9de
Small CardSummary adjustments (#3263)
* Small CardSummary adjustments

* Adj.

* Spacing
2020-07-24 21:17:03 +02:00
Jaco Greeff
7af66875b9
Proper angle/percentage calc from BN (#3261) 2020-07-24 19:38:14 +02:00
Jaco Greeff
33b5812f9a
Display time left (not blocks) (#3259)
* Display time left (not blocks)

* Poll percentages

* Poll progress
2020-07-24 17:51:01 +02:00
Jaco Greeff
bbd919d0d7
Adjust Progress hl (#3258)
* Highlight background on progress outer

* Adjust

* Sizing
2020-07-24 16:39:23 +02:00
Jaco Greeff
97e2af124c
Circular progress (#3257) 2020-07-24 13:59:32 +02:00
Jaco Greeff
51bceafb03
JSON v3 support (#3256)
* JSON v3 support

* Update deps

* isBusy adjustments

* Cleanup import

* Linting

* trigger

* Derive fixed, remove unused styles

* Backup adjustments

* Overlay & spinner ordering
2020-07-24 10:17:14 +02:00
Jaco Greeff
6e6218f2ab Smaller & alt 2020-07-23 16:39:34 +02:00
Jaco Greeff
efef8e8834 Display totals as free + reserved 2020-07-23 15:31:11 +02:00
Jaco Greeff
c5f1141b91 Adjust spinner opacity 2020-07-23 12:13:47 +02:00
Jaco Greeff
ddebfec73e
Override locale seperator consistently (#3253) 2020-07-23 11:58:07 +02:00
Jaco Greeff
3f797e7210 Adjust spinner (smaller, real-size) 2020-07-23 11:24:29 +02:00
Jaco Greeff
24d01323a2 Icon update 2020-07-23 09:23:25 +02:00
Jaco Greeff
ae5c65b0a0 Adjust spinner sizing 2020-07-22 08:29:15 +02:00
Jaco Greeff
e076fe9182
Adjust spinner (#3248)
* Adjust spinner

* Sizing

* Update

* Smaller

* Yet smaller

* Smaller ball
2020-07-22 08:13:17 +02:00
Jaco Greeff
eba8f4c012
Override conviction display for Polkadot (#3243)
* Override conviction display for Polkadot

* Add Polkadot override
2020-07-21 09:54:55 +02:00
Jaco Greeff
7c9ed82251
API bump for votingBalance (#3240) 2020-07-20 20:45:07 +02:00
Jaco Greeff
cf03e360a7
Adjust parent media breakpoint (#3234) 2020-07-19 21:28:37 +02:00
Jaco Greeff
413db9fca4
All children (e.g. toolips) on FormatBalance (#3227) 2020-07-18 10:23:32 +02:00
Jaco Greeff
85161540b7
Rework Progress component (#3211)
* Reowkr Progress component

* Toggle colors

* Sligh cursor adjustment
2020-07-16 16:33:50 +02:00
Jaco Greeff
0c5f2754cf
Native toggle component (#3209) 2020-07-16 13:30:34 +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
6b3539be58
Remove 123code (not maintained) (#3195)
* Remove 123code (not maintained)

* Stray 123-code ref

* Rewrite yarn.lock

* Remove 123 from README
2020-07-14 17:02:51 +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
Thibaut Sardan
c7ebb0247f
do not use filter on selected accounts (#3175) 2020-07-13 20:15:53 +02:00
Jaco Greeff
9d821ae0f7
Adjust poll wording (#3176)
* Adjust poll wording

* Poll header

* Adjust column widths

* Result adjustment
2020-07-13 15:09:49 +02:00
Jaco Greeff
88d81b0ac3
Flatten IdentityIcon wrappers (#3170)
* Flatten IdentityIcon wrappers

* Cleanup onCopy
2020-07-12 11:25:49 +02:00
Jaco Greeff
fffa535d11
Convert tabs to non sui styles (#3168)
* Convert tabs to non sui styles

* inactive hover

* Adjust sequence display

* Update
2020-07-12 09:56:58 +02:00
Jaco Greeff
59f430e219
Cleanup AddressName display (#3166)
* Cleanup AddressName display

* It compiles... ship it.
2020-07-11 14:54:31 +02:00
Jaco Greeff
7f519f73e3
Small usage cleanups (#3163)
* Small usage cleanups

* Adjustments for nodes

* Hopefully sort out Badge/Icon alignment

* ui--Icon pointers
2020-07-11 11:24:50 +02:00
Jaco Greeff
17a3deb04c
Polkadot poll app (#3162)
* Polkadot poll app

* Bump deps

* Fix vanitygen dep

* Small formatting adjustments

* Adjust padding consistency

* Value align

* Show end blocks & time remaining

* Disable toggles on votend

* Countdown & close

* Uppercase millionand billion

* long-form million/billion

* Hide toggle when not voting
2020-07-10 23:25:50 +02:00
Jaco Greeff
01587003eb
Small CSS optimizations (#3156) 2020-07-10 12:50:59 +02:00
Jaco Greeff
1c7865cf65
Adjust Badge to inline default (as used) (#3150)
* Adjust Badge to inline default (as used)

* Default to isTooltip with hover set
2020-07-09 13:40:46 +02:00
Jaco Greeff
a678583648
Fix accounts not showing with no democracy (#3149)
* Fix accounts not showing with no democracy

* Update packages/page-accounts/src/Accounts/Account.tsx

* Adjust for Edgeware

* Update packages/page-accounts/src/Accounts/Account.tsx

* API dep
2020-07-09 12:31:03 +02:00
Thibaut Sardan
e76ac8395b
Adds delegations overview and actions (#3122)
* add tab and query

* display accounts amount and conviction

* delegation modal without react-component

* add conviction dropdown

* number not string

* use string rather than accountId and KeyringAddress

* all changing

* use ConvictionDropdown from react-components

* delegate column in accounts

* with expander

* with modals

* ordering

* Apply suggestions from code review

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

* ordering

* implement suggestion and fix lint

* Small layout adjustments with help text

* Only delegate to owned accounts

* Use AddressMini for delegation layout

* Remove ununsed imports

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-07-09 10:30:38 +02:00
Jaco Greeff
07fe32c229
Restor InputAddress minimal auto height (#3143) 2020-07-08 10:12:44 +02:00
Jaco Greeff
f1277c3ede
Society generator (#3141)
* Society generator

* Modal popup

* Log accountId & hex

* Spacing

* Reduce for addressToBits
2020-07-08 08:51:34 +02:00
Jaco Greeff
444c6802ea
Adjust AccountName icon alignments (#3137)
* Adjust AccountName icon alignments

* Simplify

* 1px for whatever reason

* EditButton sizing fix
2020-07-07 14:28:26 +02:00
Jaco Greeff
a374510c4d
Handlers for OpaqueCall input/display types (#3135)
* Handlers for OpaqueCall input/display types

* Simplify disabled OpaqueCall
2020-07-07 09:30:24 +02:00
Jaco Greeff
ca5a5a95c1
Indicate own nominees on targets (#3133)
* Indicate own nominees on targets

* icon prop to Badge

* AddressName cachin cleanups
2020-07-07 07:55:54 +02:00
Jaco Greeff
abbcb941a2
Adjust known account icons (treasury, society) (#3129) 2020-07-05 18:55:52 +02:00
Thibaut Sardan
3b08bfbb4e
forgot this before (#3121) 2020-07-04 11:22:58 +02:00
Thibaut Sardan
b48d859604
Pull Dropdown into its own conviction component (#3119)
* add conviction dropdown

* number not string
2020-07-03 14:19:33 +02:00
Jaco Greeff
e8030005b7
Fix InputAddress lastValue (#3112) 2020-07-03 07:18:50 +02:00
Thibaut Sardan
4938edc0c4
Show unbonding value in staking account actions (#3098)
* use the right prop

* rename to stakingInfo for consistancy
2020-06-30 18:05:59 +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
7c68d68339
Group democracy locks (#3093)
* Group democracy locks

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

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>

* Check for state changes before setting

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
2020-06-30 07:48:42 +02:00
Jaco Greeff
d24d2882e4
Don't allow re-{validate, nominate} with active 0 (#3080) 2020-06-28 21:23:33 +02:00
Jaco Greeff
e34fa8f741
Add vesting claims (#3079)
* Add vesting claims

* Bump API
2020-06-28 16:35:38 +02:00
Jaco Greeff
e5e46accf6
Cleanup account menus (#3076) 2020-06-28 14:05:35 +02:00
Jaco Greeff
cb9abbdabb
Adjust asteriks layouts (#3068) 2020-06-27 15:11:01 +02:00
Jaco Greeff
029a4d85b0
Simplify IdentityIcon (#3065) 2020-06-27 13:24:26 +02:00
Jaco Greeff
7b9fec292c
Rework tags dependencies (#3063)
* Rework tags dependencies

* Remove size param
2020-06-27 12:38:48 +02:00
Jaco Greeff
97bbf311e3
Simplify AccountName caching (#3057) 2020-06-26 18:52:52 +02:00
Jaco Greeff
cb0aa838f8
Small optimizations (#3053)
* Small optimizations

* Additional tooltip
2020-06-25 22:19:10 +02:00
Jaco Greeff
01c020f62a
Cleanup label help (#3052) 2020-06-25 17:38:22 +02:00
Jaco Greeff
b78cc3fa2f
Adjust button rounding (#3051)
* Adjust button rounding

* ReferendumInfo icon
2020-06-25 15:34:35 +02:00
Jaco Greeff
5d7f07eca5
Small icon adjustments (#3050) 2020-06-25 14:50:19 +02:00
Jaco Greeff
97150f82c2
Cleanup peer deps (#3048)
* Cleanup peer deps

* Fix spinner size
2020-06-25 12:53:48 +02:00
Jaco Greeff
9d7027d236
Swap to fa spinner (#3047) 2020-06-25 11:50:07 +02:00
Jaco Greeff
ede19891e1
Swap Icon to FAIcon wrapper (#3046)
* Swap Icon to FAIcon wrapper

* Small tweaks
2020-06-25 11:00:36 +02:00
Jaco Greeff
a9d91cd1c3
Max-height to ui--output with scroll (#3042) 2020-06-24 16:53:44 +02:00
Jaco Greeff
364d3b9071
Allow entries() on map/doublemap (#3039) 2020-06-24 15:38:19 +02:00
Jaco Greeff
7289f02c81
Align staking status icons (#3027)
* Align staking status icons

* No content
2020-06-22 14:00:34 +02:00
Jaco Greeff
176c7e9e8b
API bumps & small block display adjustment (#3025)
* API bumps & small block display adjustment

* Adjust for new multisig metadata

* Staking table badge class
2020-06-22 12:10:56 +02:00
Jaco Greeff
410d0dd092
Fix Badge min-width (isSmall) (#3024)
* Fix Badge min-width (isSmall)

* Move sidebar balances to top
2020-06-22 09:54:22 +02:00
Jaco Greeff
de370cfde6
Adjust AddressMini with media (#3020)
* Adjust AddressMini with media

* Payout tables
2020-06-21 21:15:34 +02:00
Jaco Greeff
5bae454865
Media adjustments with AddressSmall (#3019)
* Media adjustments with AddressSmall

* Update packages/page-staking/src/Targets/Validator.tsx
2020-06-21 18:30:48 +02:00
Jaco Greeff
38704a5029
Display referendum voting status (#3016) 2020-06-21 11:10:41 +02:00
Jaco Greeff
f425edbceb
Shared staking filtering (#3009) 2020-06-20 22:24:16 +02:00
Jaco Greeff
d30b88b7f4
Adjust staking targets/overview sorting displays (#2999)
* Adjust staking targets/overview sorting displays

* Removce whack eslint bug comment
2020-06-20 14:02:42 +02:00
Jaco Greeff
e775b350af
Revert spinner margin adjustments (#2996)
* Revert spinner marging adjustments

* Remove extra div
2020-06-20 08:52:39 +02:00
Jaco Greeff
0f18e88022
Introduce signer busy (QR dupes) (#2994) 2020-06-20 08:23:42 +02:00
Jaco Greeff
1ee06b7c82
Improve status display via context (#2992) 2020-06-19 17:45:20 +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
Jaco Greeff
519af249f3
Disable QR seed import on IPFS (#2979) 2020-06-18 12:52:23 +02:00
Jaco Greeff
18bd0a6472
Bubble API extrinsic construction errors in extrinsics app (#2978)
* Display API extrinsic construction errors

* CHANGELOG
2020-06-18 09:03:24 +02:00
Jaco Greeff
a49093962e
Add i18n apply button (#2968) 2020-06-16 16:14:38 +02:00
Jaco Greeff
9da6b40024
Add proxied accounts, fix multisig cancel (#2958)
* Add proxied accounts, fix multisig cancel

* Multi toggle hides input

* Modal description
2020-06-15 15:51:55 +02:00
Jaco Greeff
fc5e75f01e
Alert for multisig approvals (#2953)
* Alert for multisig approvals

* Trigger on multisig events

* Allow display/submission of call data
2020-06-15 09:23:40 +02:00
Jaco Greeff
601ae6da08
Toss creaky signer Modal, revamp (#2933)
* Toss creaky signer Modal, revamp

* WIP

* WIP

* WIP

* WIP

* Basics seem working

* Adjust layout

* WIP

* Cleanups for unsigned

* Unsigned

* Start at signing-only

* Signing should be ok

* Signing operational

* Remove old modal

* Update packages/react-signer/src/Modal/TxSigned.tsx

* JS app integration

* Small styling adjustments

* Prelim proxy support

* Proxy on/off switch

* isProxyActive

* Multi + Proxy ordering (& testing)

* Proxy with multisig

* Remove debug logs

* Qr with 2 column layout

* Padding adjustments

* Cleanups

* Cleanup PaymentInfo

* Generic asset cleanup

* flatten

* Don't save latest values when filter is active
2020-06-14 18:59:22 +02:00
Jaco Greeff
15260c7369
Bump deps (UI & API) (#2946)
* Bump deps (UI & API)

* Adapt for new QR interface

* QueryableStorageEntry<'promise'>

* API bump
2020-06-13 00:11:19 +02:00
Jaco Greeff
3bbf2ab3be
Adjust external table links (collapse if none) (#2932) 2020-06-11 09:54:56 +02:00
Jaco Greeff
f44345dbd6
Disabled buttons in tables (#2926) 2020-06-10 20:06:26 +02:00
Jaco Greeff
63139f1519
0.44 (#2917) 2020-06-10 11:34:11 +02:00
Jaco Greeff
a9c1b08441
Withdraw with slashing spans (#2918)
* Withdraw with slashing spans

* prior length
2020-06-10 11:19:33 +02:00
Jaco Greeff
349a503b28
Button styling in tables (incl. spacing) (#2914) 2020-06-10 08:41:51 +02:00
Jaco Greeff
4b243c9ae9 Slight table css adjustments 2020-06-09 20:35:43 +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
3edbd726b5 Table borders (subtle) 2020-06-09 09:38:56 +02:00
Jaco Greeff
f5cf7a080a
Small table styling adjustments (#2904) 2020-06-09 09:20:53 +02:00
Jaco Greeff
8edc133af7
Remove password visibility indicators (#2903) 2020-06-08 21:36:55 +02:00
Jaco Greeff
b33af37fec
Use Inputaddress lastValue from state (no lookup when done) (#2902) 2020-06-08 16:06:03 +02:00
Jaco Greeff
51d7cd9a0b
Remove Button divider (#2899) 2020-06-08 07:51:16 +02:00
Thibaut Sardan
0091fc6e57
Add attestation to claims (#2734)
* init

* Attest component

* Add top notification bar

* better english

* back to 3 steps

* clean up

* in the middle of the refactoring

* Make TS pass

* Clea up some comments

* isPreclaimed

* isOldClaimProcess

* Attest vs Claim (#2737)

* Choose between Claim and Attest

* fix lint

* fix flow between claim and attest (#2738)

* Jaco's comments + Fetch StatementKind (#2741)

* Fix small bug in flow

* Add condition for the warning banner (#2742)

* prevent crash for older chains

* with useEffect

* should work

* back to something simple

* remove hoc

* fix CI

* Add ETH address field for non preclaimed addresses (#2746)

* Eth field

* fix

* remove stray logs

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

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

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

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

* Update packages/apps/src/overlays/Attest.tsx

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

* Show the amount of token that will be claimed (#2747)

* show amount in attest

* fix isApiReady

* fix lint

* Use counter instead of overlay (#2750)

* Use counter instead of overlay

* Add warning to claim (#2752)

* add warning

* css cleanup

* fix unused const

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>

* Update packages/page-claims/src/Warning.tsx

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

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

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

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

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

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

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

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

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

* address comment shortcut

* set Ethereum address outside transfor and fix typos

* lint

* extract claims.preclaims to a hook

* address comments EthereumAddress type and avoid casting

* Missing isUnsigned

* use AddressMini in warning

* use a proper step for eth address field

* Add loading state

* remove log

* unwrapOrNull

* Update packages/page-claims/src/Warning.tsx

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

* fix for account plural translation

* lint

* Add getStatement function

* nits

* Fix lint

* Update packages/page-claims/src/Warning.tsx

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

* add statement

* statement component

* address comment unWrapOr

* test styling with long md

* add md to jest

* Update packages/page-claims/src/Statement.tsx

Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>

* copy text before

* lint

* Remove EthreumAddress type to avoid unexpected behaviors (#2796)

* remove EthreumAddress type

* createType when needed

* revert

* typo

* Enhance UX for claim process (#2797)

* update content

* init

* comment

* Add HTML components for statements (#2798)

* Add HTML components for statements

* Update packages/page-claims/src/statements/saft.tsx

* Update to final statements

* More nits

* Nits

* OnSuccess

* prevent display of empty statement when attested

* Small fixmes

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

* fix isError not being red as expected

* remove word-break

* statement text in black

* attestation for -> accounc balance

* Update packages/page-claims/src/Statement.tsx

Co-authored-by: Logan Saether <x@logansaether.com>

* margin left instead of space

* I agree

* Use iframe

* update saft to QmXEkMahfhHJPzT3RjkXiZVFi77ZeVeuxtAjhojGRNYckz

* remove hash and duplications (#2814)

Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Logan Saether <x@logansaether.com>
2020-05-26 11:49:12 +02:00
Jaco Greeff
e9f7b547fd
Extract state interfaces (#2805) 2020-05-25 10:05:14 +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
023487e574
Tabs aliasses (#2773)
* Tabs aliasses

* Dummy build:electron & release steps

* Bump UI
2020-05-19 12:30:48 +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
029b5c6c80
Adjust deps for new hooks rules (#2757) 2020-05-16 10:45:54 +02:00
Jaco Greeff
7b711316e9
Bump deps (#2753)
* Bump deps

* Fixes
2020-05-15 16:19:06 +02:00
Jaco Greeff
4e6824f272
Swap media query classes to numbers (lists) (#2733) 2020-05-13 11:17:45 +02:00
Jaco Greeff
baf29e7bc6
Display turnout (#2732) 2020-05-13 09:45:12 +02:00
Jaco Greeff
259af2bc11
Clearing of democracy votes (#2721)
* Clearing of democracy votes

* Indicate ongoing referendums
2020-05-12 13:02:18 +02:00
Jaco Greeff
9355efbe29
Adjust button sizes consistently (#2711) 2020-05-08 22:13:42 +02:00
Jaco Greeff
b5c2d9b239
Adjust IdentityIcon defaults (#2710) 2020-05-08 17:01:18 +02:00
Jaco Greeff
e31791563f
Multisig info in sidebar (#2702) 2020-05-07 15:38:32 +02:00
Jaco Greeff
e9ce2a88c5
Adjust button layouts (consistency) (#2697) 2020-05-07 09:53:52 +02:00
Jaco Greeff
783beb45e0
Small table background adjustments (#2682) 2020-05-03 10:13:03 +02:00
Jaco Greeff
f21ae871f3
Load all namespaces up-front (no indv. queries) (#2680)
* Move i18n app to settings (discoverability)

* Load all namespecas up-front (no indv. queries)
2020-05-03 08:53:59 +02:00
Jaco Greeff
ea3f342da5
Move i18n app to settings (discoverability) (#2679) 2020-05-02 13:46:10 +02:00
Jaco Greeff
3cdd78f31e
Custom i18n loader (with caching) (#2678)
* Custom i18n loader (with caching)

* Just the basics, cache on language identifier
2020-05-02 11:32:48 +02:00
Jaco Greeff
70045a9b85
Adjust i18next options for current (#2672) 2020-05-01 22:16:53 +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
92a6af7983
Adjust council modals with column layout (#2666)
* Adjust council modals with column layout

* Adjust to council icon

* Tip endorsement columns, remove duplicated Transfer modal
2020-05-01 11:39:03 +02:00
Jaco Greeff
30fac8c052
Adjust modal header (a change is as good as a holiday) (#2660)
* Adjust modal header (a change is as good as a holiday)

* Linting (memoizee types)
2020-04-30 11:50:48 +02:00
Jaco Greeff
fdd8374646
Small modal columns adjustment (#2659)
* Small modal columns adjustment

* Remove Button.Or

* Modal shadow
2020-04-29 23:32:39 +02:00
Jaco Greeff
c2d9a90eac
Adjust Treasury proposal modals (#2658)
* Adjust Treasury proposal modals

* Adjust styl;ing for disabled InputAddress
2020-04-29 17:59:59 +02:00
Jaco Greeff
bcd8287d99
Additional dialogs with helpers (democracy) (#2657)
* Additional dialogs with helpers (democracy)

* Balance button opacity
2020-04-29 15:08:13 +02:00
Jaco Greeff
8f4d71b43c
Cleanup AddressInfo with larger numbers (#2656) 2020-04-29 13:57:22 +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
038d459e89
Modal column boxing (#2651) 2020-04-28 21:28:33 +02:00
Jaco Greeff
9e8709e4eb
Justify modal columns (#2650) 2020-04-28 17:11:31 +02:00
Jaco Greeff
b6f90bf4e4
Columar modals (currently starting in staking) (#2649) 2020-04-28 16:37:59 +02:00
Jaco Greeff
57d8bfc80e
Cleanup InputNumber, simplify (#2648) 2020-04-28 13:46:49 +02:00
Jaco Greeff
ee7c4fa45b
Allow pre-select option when nominating (#2644)
* Allow pre-select option when nominating

* Pre-select as default (faster initial operation)
2020-04-28 09:18:41 +02:00
Jaco Greeff
e410cc1473
Allow selectable targets (#2637) 2020-04-27 16:30:52 +02:00
Jaco Greeff
56817846c2
i18n progress bar (#2636) 2020-04-27 09:48:28 +02:00
Jaco Greeff
1f6ffea2b8
i18n linting script (missing, extra) (#2629)
* i18n linting script (missing, extra)

* Correct missing top-level check

* Cleanup dead keys, split apps-routing

* Working with all keys detected

* Update routes export

* Last hanging bits
2020-04-25 15:18:11 +02:00
Jaco Greeff
cfeb5c7f07
Fix lock-to-network, save with genesisHash (broken after useAccountInfo move) (#2628)
* Fix chain locks

* Save with meta

* Bumps

* i18n rebuild
2020-04-25 10:16:07 +02:00
Jaco Greeff
e3400f7206
Multisig support (#2623)
* Multisig support

* Testing, sorting with timepoints

* Re-add

* lint (import fix)

* case-sensitive import
2020-04-24 20:30:08 +02:00
Jaco Greeff
a6fc6c2190
Rework registrar dialog (account filter) (#2613) 2020-04-24 19:38:48 +02:00
Jaco Greeff
4316e9dfc6
Swap LinkExternal to short names (#2612) 2020-04-23 13:30:10 +02:00
Jaco Greeff
67b69dc976
Split Sidebar flags (& use <Tag /> component) (#2609)
* Split Sidebar flags (& use <Tag /> component)

* Fix Account flags expansion
2020-04-23 10:49:34 +02:00
Jaco Greeff
d57908ead8
Remove staking badge tooltips (#2603) 2020-04-22 22:07:24 +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
4e6ba0dacd
Add list footer with total summaries (free, bonded, payout) (#2600) 2020-04-22 11:18:49 +02:00
Jaco Greeff
f48581dfef
Cleanup external display (#2591) 2020-04-20 15:23:11 +02:00
Jaco Greeff
9aaeb1dcf4
Expand calls (non optimally) to council external (#2590)
* Expand calls (non optimally) to council external

* Adjust CHANGELOG
2020-04-20 12:13:28 +02:00
Jaco Greeff
a1fd6e90ba
Header cleanups (#2586) 2020-04-20 08:39:44 +02:00
Jaco Greeff
eb6b27750a
Remove unneeded InputBalanceBonded indirection (#2585) 2020-04-20 08:30:16 +02:00
Jaco Greeff
75bceaadf1
Expander header without nowrap (#2582)
* Expander header without nowrap

* Adjust overflows
2020-04-17 23:01:17 +02:00
Jaco Greeff
22a278428e
Bump API (Identity display, latest Substrate types) (#2574) 2020-04-16 13:38:54 +02:00
Jaco Greeff
1a69e1e35c
Simplify IdentityIcon (#2568)
* Simplify IdentityIcon

* Bump API

* Linting
2020-04-14 14:38:53 +02:00
Jaco Greeff
f127c2a6b1
Optimize Transfer dialog (no useEffect) (#2567) 2020-04-14 13:56:35 +02:00
Jaco Greeff
4950250b0d
Static output formatting adjustments (#2566) 2020-04-14 10:05:14 +02:00
Jaco Greeff
92bb1ef893
Skip Tooltip on noLookup in AccountName (#2562) 2020-04-13 08:48:04 +02:00
Jaco Greeff
172df809c0
Remove ununsed modal, cleanup comments (#2561)
* Remove ununsed modal, cleanup comments

* Adjust info icon location
2020-04-13 07:52:55 +02:00
Jaco Greeff
73eb4e284c
Address info expander (#2560)
* AddressInfo expander cleanups

* Mapping of BalanceLock reasons
2020-04-12 15:07:32 +02:00
Jaco Greeff
a8d6ba7863
Use system_chainType (#2559)
* Use system_chainType

* Formatting cleanups

* Alignment of Expander -> BalanceFormat

* Formatting
2020-04-12 13:32:43 +02:00
Jaco Greeff
386a78c319
Use element cache in AddressName (#2558) 2020-04-12 11:51:26 +02:00
Jaco Greeff
091934e69e
Display nominators in the waiting list (#2557)
* Display nominators in the waiting list

* Highlight mine
2020-04-12 11:01:46 +02:00
Jaco Greeff
7e03898bb3
Cleanup "as any" on derive with useCall (#2549)
* Cleanup "as any" on derive with useCall

* Alignment
2020-04-11 11:43:21 +02:00
Jaco Greeff
52c04fc29d
Modal conversion, functional non-TxComponent (#2548)
* Modal conversion, functional non-TxComponent

* Fix duration calc
2020-04-11 09:05:00 +02:00
Jaco Greeff
a3ee0e3ee3
Link to Payout tab from actions (#2544) 2020-04-10 07:57:30 +02:00
Jaco Greeff
d677d64817
UI support for simple payouts (#2509)
* UI support for simple payouts

* payout modal

* Adjust with era filtering

* Slow as molasses, but seems working

* Adjust th vertical alignment

* Bump API

* Update

* Cleanup reward retrievals

* linting

* Bumps

* Some rendering optimizations

* Re-add counter

* Fix new header linting

* Actual API bump

* Bumps

* Adjustments

* Adjust payouts as stand-alone tab

* Adjust nominations

* rm unused style

* change offsets

* Adjust
2020-04-08 16:39:32 +02:00
Jaco Greeff
e07cb5a9a9
Fix table.isFixed (#2529) 2020-04-07 17:55:20 +02:00
Jaco Greeff
8fcf2d8864
Adjust ErrorBoundary with trigger, cleanup InputAddress outer icon (#2528)
* Adjust ErrorBoundary with trigger, cleanup InputAddress outer icon

* Remove extra fluff
2020-04-07 17:12:04 +02:00
Jaco Greeff
4d17d5236d
Additional useCallback (close to 100%) (#2527) 2020-04-07 16:07:11 +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
978c83d3e1
Add stylelint (testing impacts) (#2524)
* Add stylelint (testing impacts)

* "defaultSeverity": "warning"

* Cleanup Table styles

* Default parser
2020-04-07 10:49:30 +02:00
Jaco Greeff
a7217bd9d5
Extrinsic app selection as functional (#2523)
* Extrinsic app selection as functional

* td .ui--Spinner spacing

* Remove staking counter
2020-04-07 08:16:55 +02:00
Lowhearth
f991c2d949
Swap yes/no (voting) to Toggle (#2519)
* Swap yes/no voting to Toggle #1624

* Ordering Imports

* Explicit vote Button label

* Modal opening Vote Buttons with default background
2020-04-07 07:03:51 +02:00
Jaco Greeff
00e0498ce2
Swap council voting away from TxModal (#2521)
* Swap council voting to non-TxModal

* No fat spinner

* Use bundled node
2020-04-06 12:29:00 +02:00
Jaco Greeff
dc0f71b272
Adjust Spinner (using sui Loader) (#2518) 2020-04-05 08:59:50 +02:00
Jaco Greeff
286944cc9d
Disable staking actions in elections (#2516) 2020-04-04 21:45:15 +02:00
Jaco Greeff
b8df3dc8f4
Compact table markup (#2514)
* Compact table markup

* Motions tweak

* Small fixes
2020-04-04 08:15:36 +02:00
Jaco Greeff
6c86eea578
Toolbox RPC adjustments (#2505) 2020-04-02 10:05:54 +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
82d53d1af3
useCallback in Extrinsic & Proposal components (#2501) 2020-04-01 16:23:00 +02:00
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules (#2499) 2020-04-01 15:30:08 +02:00
Jaco Greeff
35f8b3f94a
Cleanup staker percentage (#2496) 2020-04-01 10:44:32 +02:00
Jaco Greeff
d2a4182e09
Chart background via plugin (#2495)
* Chart background via plugin

* Sort democracy
2020-04-01 10:00:28 +02:00
Jaco Greeff
f6e6bf76c2
Remove expander width: 100% (#2494)
* Remove expander width: 100%

* Show vote balance & conviction

* ReferendumVote component
2020-04-01 08:31: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
Jaco Greeff
cbe5e455ca
Explorer extrinsics with fixed table (#2492) 2020-03-31 20:42:46 +02:00
Jaco Greeff
ed9112dbcb
Bump deps (#2491) 2020-03-31 15:50:49 +02:00
Jaco Greeff
16f1d2de20
Rework explorer with events -> extrinsics (#2490)
* Rework explorer with events -> extrinsics

* Nonce adjust

* Adjust unsigned
2020-03-31 12:18:27 +02:00
Jaco Greeff
fd4ae0ae51
Small table layout cleanups (#2489) 2020-03-31 11:19:53 +02:00
Jaco Greeff
087a124b37
Adjust staking unlock/redeemable (#2487) 2020-03-30 18:44:20 +02:00
Jaco Greeff
2581d41470
Adjust bonding, unbonding & redeemable displays (#2486)
* Rework bonding amount layouts

* icon buttons

* Update redeem text
2020-03-30 16:17:40 +02:00
Jaco Greeff
703bcad246
Cleanup expander use (#2483) 2020-03-30 09:53:27 +02:00
Jaco Greeff
5dc1f908f4
Cleanups on explorer Forks (#2482)
* Cleanups on explorer Forks

* Small opts
2020-03-30 09:01:59 +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
86e883b952
Adjust table (header) backgrounds (#2481)
* Adjust table (header) backgrounds

* Summary padding
2020-03-29 22:44:27 +02:00
Jaco Greeff
c9cf0581a0
Adjust all table layouts with headers (#2480)
* Some small CSS adjustments

* Adjust all table layouts with headers

* Adjust... somewhat

* Adjust

* Ok, enough for now...

* Adjust extrinsic from display

* header adjustments
2020-03-29 18:44:39 +02:00
Jaco Greeff
c5d92546f7
Some small CSS adjustments (#2479) 2020-03-29 10:39:11 +02:00
Jaco Greeff
3dfaf17ca8
Combine status event types (#2478)
* Combine status event types

* Adjust some tables

* Adjust targets
2020-03-29 10:04:21 +02:00
Jaco Greeff
50cc0b809b
Small table styling adjustments (#2476)
* Small table styling adjustments

* border reverts
2020-03-28 22:52:41 +01:00
Jaco Greeff
5126dbff93
Rework table layouts (#2472)
* Rework table layouts

* Additional

* Additional

* Accounts & Contacts

* Cleanup alignment

* Mini links

* Ordering adjustments

* Empty indicators
2020-03-28 21:01:47 +01:00
Jaco Greeff
9f4d97839a
Some small UI adjustments (#2471) 2020-03-28 10:29:45 +01:00
Jaco Greeff
fad6571b8a
Adjust address displays in democracy (#2469)
* Adjust address displays in democracy

* Additional adjustments

* Some settings tweaks
2020-03-28 07:28:39 +01:00
Jaco Greeff
b4d0ff93a2
Bump API (dispatchQueue derive) (#2467)
* Bump API (dispatchQueue derive)

* with democracy.nextExternal
2020-03-27 21:26:23 +01:00
Jaco Greeff
cdd9b5bd56
Bump API (derived type naming updates) (#2465) 2020-03-27 16:05:20 +01: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
519b2f4848
Allow extension metadata update (#2458)
* Allow extension metadata update

* Counter + display

* add icon

* getSystemIcon import

* Upgrade with types & calls

* trigger displays

* Bumps

* Bump
2020-03-26 11:35:43 +01:00
Jaco Greeff
ae3839a39f
Additional React.memo exports (#2456)
* Additional React.memo exports

* rm app-transfer artifacts
2020-03-25 12:30:19 +01:00
Jaco Greeff
964eb7f571
Add contacts to Accounts, all-in-one (#2453)
* Add contacts to Accounts, all-in-one

* Vanity generator i18n

* yarn
2020-03-24 13:37:11 +01:00
Jaco Greeff
c3d8a0be0b
Expander with optional meta (#2452) 2020-03-24 11:35:28 +01:00
Jaco Greeff
ca6348ceaa
Add .address class to Table (top & padding) (#2451) 2020-03-24 10:30:23 +01:00
Jaco Greeff
83ac8a99af
Adjust row padding with primary addresses (#2449)
* Adjust row padding (accounts)

* Expander padding
2020-03-24 09:37:49 +01:00
Jaco Greeff
f309743b2f
Swap referendum pass/fail to Tag (#2448) 2020-03-24 08:27:15 +01:00
Jaco Greeff
76b16913c2
Cleanups for AccountName (#2446)
* Cleanus for AccountName

* Remove unused toggle prop

* Re-add toggle
2020-03-23 17:18:31 +01:00
Jaco Greeff
b9ebb3e175
Convert <details> to <Expander> (#2441) 2020-03-23 13:12:19 +01:00
Jaco Greeff
2d80f58a7d
Adjust staking/democracy summaries (#2440)
* Adjust staking/democracy summaries

* Bump API

* Swap some to Expander
2020-03-23 12:16:38 +01:00
Jaco Greeff
114966882a
Global API init indicator (#2438) 2020-03-23 08:47:26 +01:00
Jaco Greeff
fd9d83ff16
Bump API (#2437)
* Bump API

* empty adjustments
2020-03-22 19:14:11 +01:00
Jaco Greeff
22fd0e2db1
Add support for new democracy (#2432)
* Add support for new democracy

* Add missing VoteValue component

* Signer unlock autoFocus by default

* Bump deps
2020-03-22 11:59:11 +01:00
Jaco Greeff
977cf07566
Bump deps (#2429)
* Bump deps

* Revert secp bump
2020-03-21 12:45:35 +01:00
Jaco Greeff
6477f4686f
Bump API (retracted isWarning) (#2427) 2020-03-20 18:02:19 +01:00
Jaco Greeff
ac8ee10120
Update API to new jsonrpc structures (#2420) 2020-03-20 07:04:40 +01:00
Jaco Greeff
0cff9a324b
Re-add React.memo for linked inputs (#2407) 2020-03-18 10:17:20 +01:00
Jaco Greeff
aa0393ce68 Lint. 2020-03-17 14:13:22 +01:00
Jaco Greeff
6889183dfd Rollback Dropdown updates 2020-03-17 14:10:25 +01:00
Jaco Greeff
5e28be4c18
Convert react-query to React.memo (#2405) 2020-03-17 13:41:51 +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
b21008af1a
Align comm percentage display (#2402) 2020-03-17 09:29:34 +01:00
Jaco Greeff
0895fdd208
Indicate council motion vote end (#2396)
* Indicate council motion vote end

* Remove row border highlight (distracting)
2020-03-16 12:24:42 +01:00
Jaco Greeff
22d387e824
Move contracts-only components to contracts (and fix from page imports) (#2392) 2020-03-16 09:41:42 +01:00
Jaco Greeff
e97868348b
React.memo-ize more func. components (#2389)
* React.memo-ize more func. components

* Rework status display determination

* isApiReady &&

* ApiSigner private class interface

* readonly #

* Remove isPrimary on council vote
2020-03-15 12:11:59 +01:00
Jaco Greeff
6530e49c3e
Add optional hash to external renders (#2328) 2020-03-15 12:10:21 +01:00