Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
309 commits
Select commit Hold shift + click to select a range
d485ed6
[CI Skip] 0.37.0-beta.112
actions-user Nov 21, 2019
85d64fb
Refactor settings handlers with generic high-order function (#1926)
Nov 23, 2019
3a7d11a
Bump API, latest substrate types (#1928)
jacogr Nov 23, 2019
40e4aea
[CI Skip] 0.37.0-beta.113
actions-user Nov 23, 2019
8d40ca2
[CI Skip] 0.37.0-beta.114
actions-user Nov 23, 2019
14af62c
add language options inside app-settings (#1929)
Nov 23, 2019
2ec7afa
[CI Skip] 0.37.0-beta.115
actions-user Nov 23, 2019
bebe957
Fix Vec<u8> issue (#1924)
kwingram25 Nov 23, 2019
da33770
[CI Skip] 0.37.0-beta.116
actions-user Nov 23, 2019
533c8a7
Bump API, fixup storage types (#1933)
jacogr Nov 23, 2019
7615ed3
[CI Skip] 0.37.0-beta.117
actions-user Nov 23, 2019
682d628
Remove empty rewards from cache (#1935)
jacogr Nov 24, 2019
e49f77d
[CI Skip] 0.37.0-beta.118
actions-user Nov 24, 2019
082f414
Allow signRaw usable from extension (#1936)
jacogr Nov 25, 2019
5e83cca
[CI Skip] 0.37.0-beta.119
actions-user Nov 25, 2019
358d8ed
Remove disabled state (#1939)
jacogr Nov 25, 2019
3dfeadd
[CI Skip] 0.37.0-beta.120
actions-user Nov 25, 2019
c958bfb
Bump API deps (#1942)
jacogr Nov 25, 2019
fbb7408
[CI Skip] 0.37.0-beta.121
actions-user Nov 25, 2019
7a14ade
Check for controller availability (unlock) (#1940)
jacogr Nov 25, 2019
1416cce
[CI Skip] 0.37.0-beta.122
actions-user Nov 25, 2019
555e3ea
Refactor Backup component with hooks (#1927)
Nov 25, 2019
bea8ae7
[CI Skip] 0.37.0-beta.123
actions-user Nov 25, 2019
9c56dc7
Don't display on-network divider (development) (#1943)
jacogr Nov 25, 2019
0caf207
[CI Skip] 0.37.0-beta.124
actions-user Nov 25, 2019
99834b3
Always pass hex to signRaw (#1945)
jacogr Nov 25, 2019
43d6b1f
[CI Skip] 0.37.0-beta.125
actions-user Nov 25, 2019
e88aa8e
API Bumps (node-template detection) (#1947)
jacogr Nov 26, 2019
2f07d17
[CI Skip] 0.37.0-beta.126
actions-user Nov 26, 2019
6d02927
Bump deps (#1948)
jacogr Nov 26, 2019
3e0d369
[CI Skip] 0.37.0-beta.127
actions-user Nov 26, 2019
5a858fa
Rework status name display (#1949)
jacogr Nov 26, 2019
fb88bd7
[CI Skip] 0.37.0-beta.128
actions-user Nov 26, 2019
fba7778
Nomination target dashboard (#1953)
jacogr Nov 27, 2019
da520d8
[CI Skip] 0.37.0-beta.129
actions-user Nov 27, 2019
9d6ab82
Small table styling tweaks
jacogr Nov 27, 2019
9be3eb7
[CI Skip] 0.37.0-beta.130
actions-user Nov 27, 2019
d842113
Support v9 metadata (#1934)
jacogr Nov 27, 2019
3b7685e
[CI Skip] 0.37.0-beta.131
actions-user Nov 27, 2019
d363018
CC3 (#1955)
jacogr Nov 27, 2019
6df5839
[CI Skip] 0.37.0-beta.132
actions-user Nov 27, 2019
03f19e9
Highlight validator participation (#1956)
jacogr Nov 28, 2019
42debb1
[CI Skip] 0.37.0-beta.133
actions-user Nov 28, 2019
12caaec
Bump API (#1957)
jacogr Nov 28, 2019
3ed017f
[CI Skip] 0.37.0-beta.134
actions-user Nov 28, 2019
f6976e1
Update ValidatorPrefs with commission (#1959)
jacogr Nov 28, 2019
a8bf9cc
Remove crashy console.log
jacogr Nov 28, 2019
50bd403
Update Edgeware types (ValidatorPrefs)
jacogr Nov 28, 2019
c81ed2d
[CI Skip] 0.37.0-beta.135
actions-user Nov 28, 2019
1682353
Remove validator heading (obvious)
jacogr Nov 28, 2019
9893890
[CI Skip] 0.37.0-beta.136
actions-user Nov 28, 2019
a345d91
Non-disabled on POA states (#1960)
jacogr Nov 28, 2019
b918c49
[CI Skip] 0.37.0-beta.137
actions-user Nov 28, 2019
88f8a36
Allow network prefs for signer accounts (#1961)
jacogr Nov 29, 2019
4109f68
[CI Skip] 0.37.0-beta.138
actions-user Nov 29, 2019
f40af49
Apply locks per genesis range (#1962)
jacogr Nov 29, 2019
fab7087
[CI Skip] 0.37.0-beta.139
actions-user Nov 29, 2019
cf46cde
Swap to CC3 for Kusama (#1963)
jacogr Nov 29, 2019
c39ee0d
[CI Skip] 0.37.1
actions-user Nov 29, 2019
df5340b
Fix change session keys
jacogr Nov 29, 2019
05e2a66
[CI Skip] 0.38.0-beta.0
actions-user Nov 29, 2019
50e44f2
Fix historic blocks produced display (#1966)
jacogr Nov 30, 2019
536a2cc
[CI Skip] 0.38.0-beta.1
actions-user Nov 30, 2019
488c965
Render staking accounts in background (#1967)
jacogr Nov 30, 2019
1f7d31c
[CI Skip] 0.38.0-beta.2
actions-user Nov 30, 2019
c0401ae
Rework dropdown changes (#1964)
jacogr Nov 30, 2019
7b3921d
[CI Skip] 0.38.0-beta.3
actions-user Nov 30, 2019
9830d46
Proposal depositors
jacogr Nov 30, 2019
3868a45
[CI Skip] 0.38.0-beta.4
actions-user Nov 30, 2019
91ee22b
Move seconding (#1968)
jacogr Nov 30, 2019
4ce3bd4
[CI Skip] 0.38.0-beta.5
actions-user Nov 30, 2019
4241b70
Adjust FormatBalance component (#1969)
jacogr Nov 30, 2019
1f560ac
[CI Skip] 0.38.0-beta.6
actions-user Nov 30, 2019
88291ed
Disable democracy until updated (#1971)
jacogr Dec 1, 2019
aad4c1b
[CI Skip] 0.38.0-beta.7
actions-user Dec 1, 2019
6ea09e6
Rework staking lists, more info per page (#1972)
jacogr Dec 1, 2019
56029ff
[CI Skip] 0.38.0-beta.8
actions-user Dec 1, 2019
b05a01c
Support democracy with preimages (#1973)
jacogr Dec 2, 2019
d40bc02
[CI Skip] 0.38.0-beta.9
actions-user Dec 2, 2019
3efc08b
Fix motions address display
jacogr Dec 2, 2019
ba1aca5
[CI Skip] 0.38.0-beta.10
actions-user Dec 2, 2019
ffbea97
Democracy display updates (#1974)
jacogr Dec 2, 2019
44e09ac
[CI Skip] 0.38.0-beta.11
actions-user Dec 2, 2019
9aeec2a
AddressMini withShrink
jacogr Dec 2, 2019
55bd0fe
[CI Skip] 0.38.0-beta.12
actions-user Dec 2, 2019
43d6f3d
Rework council display (#1976)
jacogr Dec 2, 2019
c30510a
[CI Skip] 0.38.0-beta.13
actions-user Dec 2, 2019
b1fea8c
Basic tech committee (#1977)
jacogr Dec 2, 2019
a0e9722
[CI Skip] 0.38.0-beta.14
actions-user Dec 2, 2019
dfc22f3
Add motion count
jacogr Dec 2, 2019
8d5e34d
[CI Skip] 0.38.0-beta.15
actions-user Dec 2, 2019
2175a11
Proposal counters (#1982)
jacogr Dec 2, 2019
b2b4f5e
[CI Skip] 0.38.0-beta.16
actions-user Dec 2, 2019
2b0e46e
fix SummaryBar (#1981)
anakornk Dec 2, 2019
eca4e5f
[CI Skip] 0.38.0-beta.17
actions-user Dec 2, 2019
2eb21c9
Layout changes for motions (#1983)
jacogr Dec 2, 2019
49bc675
[CI Skip] 0.38.0-beta.18
actions-user Dec 2, 2019
4f40a5b
Remove broken tooltip expand (#1984)
jacogr Dec 2, 2019
8c13dad
Use end + delay for activation
jacogr Dec 2, 2019
661771f
Fix motion top layout
jacogr Dec 2, 2019
cefafd9
[CI Skip] 0.38.0-beta.19
actions-user Dec 2, 2019
9bc6194
Replace TxComponent and TxModal (base) (#1951)
kwingram25 Dec 2, 2019
14459c9
[CI Skip] 0.38.0-beta.20
actions-user Dec 2, 2019
2303a75
Remove TxButton assert (#1988)
jacogr Dec 2, 2019
721f1dd
[CI Skip] 0.38.0-beta.21
actions-user Dec 2, 2019
d94241f
fix: Fixes #1986 proposals of undefined (#1987)
ltfschoen Dec 3, 2019
2ce0fe9
[CI Skip] 0.38.0-beta.22
actions-user Dec 3, 2019
64ee397
Table summary overflow
jacogr Dec 3, 2019
8888aea
[CI Skip] 0.38.0-beta.23
actions-user Dec 3, 2019
6b59fe4
Optional proposal, hash required
jacogr Dec 3, 2019
5eea856
[CI Skip] 0.38.0-beta.24
actions-user Dec 3, 2019
a5ed329
Note imminent (#1993)
jacogr Dec 3, 2019
84b1b6e
[CI Skip] 0.38.0-beta.25
actions-user Dec 3, 2019
4ab04b0
Show externals
jacogr Dec 3, 2019
56097e8
[CI Skip] 0.38.0-beta.26
actions-user Dec 3, 2019
4a3ff60
Satking account layout changes (#1994)
jacogr Dec 3, 2019
e1d5923
[CI Skip] 0.38.0-beta.27
actions-user Dec 3, 2019
aeb0ea3
Fix Tech comm proposal display (Option) (#1995)
jacogr Dec 3, 2019
f4e2c78
[CI Skip] 0.38.0-beta.28
actions-user Dec 3, 2019
a69bdfe
Propose tech committee motions (#1996)
kwingram25 Dec 4, 2019
e00a39a
[CI Skip] 0.38.0-beta.29
actions-user Dec 4, 2019
a9baa96
Show democracy dispatch queue (#1997)
jacogr Dec 4, 2019
4651146
[CI Skip] 0.38.0-beta.30
actions-user Dec 4, 2019
fe11751
Nominate update
jacogr Dec 4, 2019
c374c62
[CI Skip] 0.38.0-beta.31
actions-user Dec 4, 2019
c6fecbf
Fix contract deploy crash (#1998)
kwingram25 Dec 4, 2019
00c3ac3
[CI Skip] 0.38.0-beta.32
actions-user Dec 4, 2019
0aacf3a
Remove contracts call functionality (not working) (#1999)
jacogr Dec 4, 2019
0b9ba62
[CI Skip] 0.38.0-beta.33
actions-user Dec 4, 2019
629e0f2
Fix block count chart display
jacogr Dec 4, 2019
37744ec
[CI Skip] 0.38.0-beta.34
actions-user Dec 4, 2019
5ccd745
Find last available session reward (#2000)
jacogr Dec 5, 2019
ad4752d
[CI Skip] 0.38.0-beta.35
actions-user Dec 5, 2019
c0b9451
Bump deps (#2001)
jacogr Dec 5, 2019
8e277b4
[CI Skip] 0.38.0-beta.36
actions-user Dec 5, 2019
cf32e93
Revert _000 (Babel seem to have issues in dev) (#2002)
jacogr Dec 5, 2019
fff6f79
[CI Skip] 0.38.0-beta.37
actions-user Dec 5, 2019
ce89d7e
Revert "Remove contracts call functionality (not working) (#1999)" (#…
jacogr Dec 5, 2019
e869cea
[CI Skip] 0.38.0-beta.38
actions-user Dec 5, 2019
3325a4b
Bump API (No contracts hack) (#2006)
jacogr Dec 5, 2019
f207c8a
[CI Skip] 0.38.0-beta.39
actions-user Dec 5, 2019
a1a5f3f
Seconding grouping
jacogr Dec 5, 2019
5c7c739
[CI Skip] 0.38.0-beta.40
actions-user Dec 5, 2019
fc80d5c
Filter sessionRewards (#2005)
jacogr Dec 5, 2019
644fd00
Improve rewards rendering
jacogr Dec 5, 2019
c5a8567
[CI Skip] 0.38.0-beta.41
actions-user Dec 5, 2019
ee83086
Rework address & accounts layout (#2008)
jacogr Dec 6, 2019
623ea12
[CI Skip] 0.38.0-beta.42
actions-user Dec 6, 2019
4cc58bf
Some light tag sorting
jacogr Dec 6, 2019
ba452d2
[CI Skip] 0.38.0-beta.43
actions-user Dec 6, 2019
0f23032
Bump deps (#2009)
jacogr Dec 7, 2019
9543ac2
[CI Skip] 0.38.0-beta.44
actions-user Dec 7, 2019
c58cbc6
Fix useStream unsub (#2010)
jacogr Dec 7, 2019
0142041
[CI Skip] 0.38.0-beta.45
actions-user Dec 7, 2019
443bd6b
Adjust treasury layout (#2011)
jacogr Dec 8, 2019
d588f6b
[CI Skip] 0.38.0-beta.46
actions-user Dec 8, 2019
d2322b4
Fix refresh on council proposals (#2012)
jacogr Dec 8, 2019
6380cd0
[CI Skip] 0.38.0-beta.47
actions-user Dec 8, 2019
0402d0e
Force reward retrieval to single-shot (#2013)
jacogr Dec 8, 2019
756bbc3
[CI Skip] 0.38.0-beta.48
actions-user Dec 8, 2019
921ad6e
Api Bump (DoubleMap) (#2015)
jacogr Dec 9, 2019
5b155bd
[CI Skip] 0.38.0-beta.49
actions-user Dec 9, 2019
e9a45f8
More effcicient derive for staking info (#2017)
jacogr Dec 9, 2019
ee9bb07
[CI Skip] 0.38.0-beta.50
actions-user Dec 9, 2019
6b760c7
Fixup claims pay message via consts (#2018)
jacogr Dec 9, 2019
57d9c11
[CI Skip] 0.38.0-beta.51
actions-user Dec 9, 2019
dafea25
Allow voting on treasury page (#2019)
jacogr Dec 9, 2019
4f1ae27
[CI Skip] 0.38.0-beta.52
actions-user Dec 9, 2019
3e380a6
Bump API (#2022)
jacogr Dec 9, 2019
1917210
[CI Skip] 0.38.0-beta.53
actions-user Dec 9, 2019
5b9be93
Bump API (Polkadot frame-identity types) (#2024)
jacogr Dec 9, 2019
c77effb
[CI Skip] 0.38.0-beta.54
actions-user Dec 9, 2019
2f899ce
Add header prop on Modal (#2025)
jacogr Dec 9, 2019
f962302
[CI Skip] 0.38.0-beta.55
actions-user Dec 9, 2019
406a505
Add ErrorBoundary component (#2026)
jacogr Dec 10, 2019
c877d6b
[CI Skip] 0.38.0-beta.56
actions-user Dec 10, 2019
4349970
Update extra key (#2027)
drewstone Dec 10, 2019
d1c8cff
[CI Skip] 0.38.0-beta.57
actions-user Dec 10, 2019
ef38822
Add multi-address selection component (#2028)
jacogr Dec 10, 2019
25555b9
[CI Skip] 0.38.0-beta.58
actions-user Dec 10, 2019
1524e08
Update ValidatorPrefs for Edgeware (#2029)
jacogr Dec 10, 2019
b520f6e
[CI Skip] 0.38.0-beta.59
actions-user Dec 10, 2019
5d64e37
Bump deps (#2030)
jacogr Dec 10, 2019
cce3f07
[CI Skip] 0.38.0-beta.60
actions-user Dec 10, 2019
2452634
Rework staking accounts layout (#2031)
jacogr Dec 11, 2019
f753f72
[CI Skip] 0.38.0-beta.61
actions-user Dec 11, 2019
2ab04c5
Bump API (democracy) (#2034)
jacogr Dec 12, 2019
5fcf9a6
[CI Skip] 0.38.0-beta.62
actions-user Dec 12, 2019
32db955
Small updates for V2 democracy (#2038)
jacogr Dec 13, 2019
635f616
[CI Skip] 0.38.0-beta.63
actions-user Dec 13, 2019
62f7442
Apply useToggle as appropriate (#2036)
jacogr Dec 13, 2019
632c224
[CI Skip] 0.38.0-beta.64
actions-user Dec 13, 2019
6dab5e1
Rollback latest (something went wrong) (#2039)
jacogr Dec 13, 2019
6132a0d
Update .123trigger
jacogr Dec 13, 2019
7194215
[CI Skip] 0.38.1
actions-user Dec 13, 2019
6c58db0
Small cleanups on withCalls (#2040)
jacogr Dec 13, 2019
4988702
[CI Skip] 0.39.0-beta.0
actions-user Dec 13, 2019
74dbf64
Add useIsMountedRef hook (#2041)
jacogr Dec 13, 2019
ca8f964
[CI Skip] 0.39.0-beta.1
actions-user Dec 13, 2019
19103c9
Basis IdentityInfo input component (#2048)
jacogr Dec 14, 2019
ab9f879
[CI Skip] 0.39.0-beta.2
actions-user Dec 14, 2019
a4da0ec
Rework reward cache (#2049)
jacogr Dec 14, 2019
5650ee9
[CI Skip] 0.39.0-beta.3
actions-user Dec 14, 2019
a029072
Update IdentityInfo (#2052)
jacogr Dec 15, 2019
b624118
[CI Skip] 0.39.0-beta.4
actions-user Dec 15, 2019
717c80b
Display identity names, set identity modal (#2054)
jacogr Dec 15, 2019
6a0bf1a
[CI Skip] 0.39.0-beta.5
actions-user Dec 15, 2019
09a6a36
Use identity displayname default from local name (#2056)
jacogr Dec 15, 2019
dcf46aa
[CI Skip] 0.39.0-beta.6
actions-user Dec 15, 2019
5f9f14c
Remove balance from commission display (#2058)
jacogr Dec 15, 2019
58b4e33
[CI Skip] 0.39.0-beta.7
actions-user Dec 15, 2019
31dea14
Fix explorer (v1), withObservable unload & democracy images (#2062)
jacogr Dec 17, 2019
02bdd12
[CI Skip] 0.39.0-beta.8
actions-user Dec 17, 2019
ebcc70f
Add expanded tooltip to per-account breakdown (#2063)
jacogr Dec 17, 2019
0c50fcd
[CI Skip] 0.39.0-beta.9
actions-user Dec 17, 2019
adf1c1c
Identity judgements (#2064)
jacogr Dec 17, 2019
73fb966
[CI Skip] 0.39.0-beta.10
actions-user Dec 17, 2019
1f91447
Adjust name weights
jacogr Dec 17, 2019
a8939fa
Merge branch 'master' of github.com:polkadot-js/apps
jacogr Dec 17, 2019
a82736d
[CI Skip] 0.39.0-beta.11
actions-user Dec 17, 2019
1a8f7e2
Use lookup accountId for IdentiIcon display (#2065)
jacogr Dec 17, 2019
94360f9
[CI Skip] 0.39.0-beta.12
actions-user Dec 17, 2019
6adb796
Styling tweaks (#2066)
jacogr Dec 17, 2019
46c1e97
[CI Skip] 0.39.0-beta.13
actions-user Dec 17, 2019
aaf9757
(tiny) Badge styling updates (#2067)
jacogr Dec 17, 2019
704131f
[CI Skip] 0.39.0-beta.14
actions-user Dec 17, 2019
0695f6b
Disable contracts call RPC if unavailable (#2068)
kwingram25 Dec 18, 2019
e2ca375
[CI Skip] 0.39.0-beta.15
actions-user Dec 18, 2019
0645299
Fix Identicon on-not-connected (#2070)
jacogr Dec 18, 2019
bb3ceb5
[CI Skip] 0.39.0-beta.16
actions-user Dec 18, 2019
a441dc3
Hide council voting when not a member (#2071)
jacogr Dec 18, 2019
bf317d6
[CI Skip] 0.39.0-beta.17
actions-user Dec 18, 2019
30099e4
Add "send to council" to treasury (#2075)
jacogr Dec 18, 2019
fa67703
[CI Skip] 0.39.0-beta.18
actions-user Dec 18, 2019
15bd35f
Add useTranslation for all apps (#2076)
jacogr Dec 19, 2019
8ab6153
[CI Skip] 0.39.0-beta.19
actions-user Dec 19, 2019
dbad609
Display all identity info on hover (#2077)
jacogr Dec 19, 2019
364e50f
[CI Skip] 0.39.0-beta.20
actions-user Dec 19, 2019
08adfbc
Provide judgement via account hover (#2078)
jacogr Dec 19, 2019
afa2114
[CI Skip] 0.39.0-beta.21
actions-user Dec 19, 2019
239eeea
Grayscale identity (#2079)
jacogr Dec 19, 2019
f57ad1a
[CI Skip] 0.39.0-beta.22
actions-user Dec 19, 2019
0b90e20
Bump API (derives for proposals) (#2080)
jacogr Dec 19, 2019
bb87cac
[CI Skip] 0.39.0-beta.23
actions-user Dec 19, 2019
a4ce843
Cleanup display from identity (#2081)
jacogr Dec 20, 2019
c7987dd
[CI Skip] 0.39.0-beta.24
actions-user Dec 20, 2019
070fe59
Revert opacity adjustment
jacogr Dec 20, 2019
9c9137f
[CI Skip] 0.39.0-beta.25
actions-user Dec 20, 2019
aa99272
Updae the council counter refresh (#2082)
jacogr Dec 20, 2019
756a5d3
[CI Skip] 0.39.0-beta.26
actions-user Dec 20, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .123trigger
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5
6
12 changes: 12 additions & 0 deletions .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,15 @@ jobs:
yarn install --frozen-lockfile
yarn polkadot-dev-ghact-build
yarn polkadot-dev-ghact-docs

dummy:
name: Dummy
if: "contains(github.event.head_commit.message, '[CI Skip]')"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: dummy
run: |
echo "Dummy skip step"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
.idea/
.vscode/
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# 0.37.1

- Support for Kusama CC3
- Support for contracts with new ABI v2 (Thanks to @kwingram25)
- Support for on-chain nicks
- Speed improvements for the staking pages
- Add account derivation from existing account
- Council voting with runner up & phragmen
- Allow favorites in validators pages
- Rework nominations to take favorites & current into account
- Enhance AddressCard with additional info (incl. vested)
- Move account/address actions to popup menu
- Convert a large number of components to use hooks
- Display validator graphs
- Refactor of backup modal (Thanks to @LukeSugiura)
- Enable language setting options (Thanks to @LukeSugiura)
- Allow for signRaw to be used in the signing toolbox (injected accounts)
- Display account names in status events
- Nomination targets dashboard
- Validator preferences are expressed as commission % as supported by chains
- Account locks are applied on a genesis range (e.g. CC2 & CC3 allow availability)
- ... lots of smaller enhancements & bug fixes

# 0.36.1

- Api 0.95.1, Util 1.6.1, Extension 0.13.1
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ In addition the following libraries are also included in the repo. These are to

Contributions are welcome!

To start off, this repo (along with others in the [@polkadot](https://github.com/polkadot-js/) family) uses yarn workspaces to organise the code. As such, after cloning dependencies _should_ be installed via `yarn`, not via npm, the latter will result in broken dependencies.
To start off, this repo (along with others in the [@polkadot](https://github.com/polkadot-js/) family) uses yarn workspaces to organize the code. As such, after cloning dependencies _should_ be installed via `yarn`, not via npm, the latter will result in broken dependencies.

To get started -

Expand All @@ -50,7 +50,7 @@ To get started -

## I want to code around

There is a base template availble [app-123code](packages/app-123code/) that acts as a simple starting point for adding additional apps to the UI. Alternatively if you just want some place where you can write some code, it does the trick.
There is a base template available [app-123code](packages/app-123code/) that acts as a simple starting point for adding additional apps to the UI. Alternatively if you just want some place where you can write some code, it does the trick.

While it is hidden from the sidebar, it is accessible via [http://127.0.0.1:3000/#/123code](http://127.0.0.1:3000/#/123code)

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"packages": [
"packages/*"
],
"version": "0.37.0-beta.82"
"version": "0.39.0-beta.26"
}
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.37.0-beta.82",
"version": "0.39.0-beta.26",
"private": true,
"engines": {
"node": ">=10.13.0",
Expand All @@ -10,14 +10,14 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^0.97.0-beta.5",
"@polkadot/api-contract": "^0.97.0-beta.5",
"@polkadot/keyring": "^1.7.0-beta.7",
"@polkadot/types": "^0.97.0-beta.5",
"@polkadot/util": "^1.7.0-beta.7",
"@polkadot/util-crypto": "^1.7.0-beta.7",
"@polkadot/api": "^0.100.0-beta.14",
"@polkadot/api-contract": "^0.100.0-beta.14",
"@polkadot/keyring": "^1.7.1",
"@polkadot/types": "^0.100.0-beta.14",
"@polkadot/util": "^1.7.1",
"@polkadot/util-crypto": "^1.7.1",
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.7.2"
"typescript": "^3.7.3"
},
"scripts": {
"analyze": "yarn run build && cd packages/apps && yarn run source-map-explorer build/main.*.js",
Expand All @@ -34,10 +34,11 @@
"start": "cd packages/apps && webpack --config webpack.config.js"
},
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/runtime": "^7.7.2",
"@polkadot/dev-react": "^0.32.0-beta.14",
"@polkadot/ts": "^0.1.85",
"@babel/core": "^7.7.5",
"@babel/register": "^7.7.4",
"@babel/runtime": "^7.7.6",
"@polkadot/dev-react": "^0.32.13",
"@polkadot/ts": "^0.1.88",
"autoprefixer": "^9.7.1",
"empty": "^0.10.1",
"html-loader": "^0.5.5",
Expand Down
6 changes: 3 additions & 3 deletions packages/app-123code/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polkadot/app-123code",
"version": "0.37.0-beta.82",
"version": "0.39.0-beta.26",
"description": "A basic app that shows the ropes on customisation",
"main": "index.js",
"scripts": {},
Expand All @@ -10,7 +10,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.7.2",
"@polkadot/react-components": "^0.37.0-beta.82"
"@babel/runtime": "^7.7.5",
"@polkadot/react-components": "^0.39.0-beta.26"
}
}
6 changes: 3 additions & 3 deletions packages/app-123code/src/AccountSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

import React, { useEffect, useState } from 'react';
import styled from 'styled-components';
import { Bubble, InputAddress } from '@polkadot/react-components';
import { AccountIndex, Balance, Nonce } from '@polkadot/react-query';
import { AccountIndex, Bubble, InputAddress } from '@polkadot/react-components';
import { Balance, Nonce } from '@polkadot/react-query';

interface Props {
className?: string;
Expand All @@ -27,7 +27,7 @@ function AccountSelector ({ className, onChange }: Props): React.ReactElement<Pr
/>
<div className='medium'>
<Bubble color='teal' icon='address card' label='index'>
<AccountIndex params={accountId} />
<AccountIndex value={accountId} />
</Bubble>
<Bubble color='yellow' icon='adjust' label='balance'>
<Balance params={accountId} />
Expand Down
43 changes: 18 additions & 25 deletions packages/app-123code/src/SummaryBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

import { AccountId } from '@polkadot/types/interfaces';
import { DeriveStakingValidators } from '@polkadot/api-derive/types';
import { BareProps, I18nProps } from '@polkadot/react-components/types';
import { Balance, BlockNumber } from '@polkadot/types/interfaces';

import BN from 'bn.js';
import React, { useContext } from 'react';
import { ApiContext, withCalls } from '@polkadot/react-api';
import React from 'react';
import { Bubble, IdentityIcon } from '@polkadot/react-components';
import { useApi, useCall } from '@polkadot/react-hooks';
import { formatBalance, formatNumber } from '@polkadot/util';

import translate from './translate';

interface Props extends BareProps, I18nProps {
balances_totalIssuance?: BN;
chain_bestNumber?: BN;
chain_bestNumberLag?: BN;
staking_validators?: AccountId[];
}
interface Props extends BareProps, I18nProps {}

function SummaryBar ({ balances_totalIssuance, chain_bestNumber, chain_bestNumberLag, staking_validators }: Props): React.ReactElement<Props> {
const { api, systemChain, systemName, systemVersion } = useContext(ApiContext);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
function SummaryBar (props: Props): React.ReactElement<Props> {
const { api, systemChain, systemName, systemVersion } = useApi();
const bestNumber = useCall<BlockNumber>(api.derive.chain.bestNumber, []);
const bestNumberLag = useCall<BlockNumber>(api.derive.chain.bestNumberLag, []);
const totalInsurance = useCall<Balance>(api.query.balances.totalIssuance, []);
const validators = useCall<DeriveStakingValidators>(api.derive.staking.validators, []);

return (
<summary>
Expand All @@ -34,32 +34,25 @@ function SummaryBar ({ balances_totalIssuance, chain_bestNumber, chain_bestNumbe
{systemChain}
</Bubble>
<Bubble icon='code' label='runtime'>
{api.runtimeVersion.implName} v{api.runtimeVersion.implVersion}
{api.runtimeVersion.implName} v{api.runtimeVersion.implVersion.toString(10)}
</Bubble>
<Bubble icon='bullseye' label='best #'>
{formatNumber(chain_bestNumber)} ({formatNumber(chain_bestNumberLag)} lag)
{formatNumber(bestNumber)} ({formatNumber(bestNumberLag)} lag)
</Bubble>
{staking_validators && (
{validators && (
<Bubble icon='chess queen' label='validators'>{
staking_validators.map((accountId, index): React.ReactNode => (
validators.validators.map((accountId, index): React.ReactNode => (
<IdentityIcon key={index} value={accountId} size={20} />
))
}</Bubble>
)}
<Bubble icon='circle' label='total tokens'>
{formatBalance(balances_totalIssuance)}
{formatBalance(totalInsurance)}
</Bubble>
</div>
</summary>
);
}

// inject the actual API calls automatically into props
export default translate(
withCalls<Props>(
'derive.chain.bestNumber',
'derive.chain.bestNumberLag',
'derive.staking.validators',
'query.balances.totalIssuance'
)(SummaryBar)
);
export default translate(SummaryBar);
4 changes: 2 additions & 2 deletions packages/app-123code/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import translate from './translate';
// define our internal types
interface Props extends AppProps, I18nProps {}

function App ({ className }: Props): React.ReactElement<Props> {
function TemplateApp ({ className }: Props): React.ReactElement<Props> {
const [accountId, setAccountId] = useState<string | null>(null);

return (
Expand All @@ -35,4 +35,4 @@ function App ({ className }: Props): React.ReactElement<Props> {
);
}

export default translate(App);
export default translate(TemplateApp);
10 changes: 5 additions & 5 deletions packages/app-accounts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polkadot/app-accounts",
"version": "0.37.0-beta.82",
"version": "0.39.0-beta.26",
"main": "index.js",
"repository": "https://github.com/polkadot-js/apps.git",
"author": "Jaco Greeff <jacogr@gmail.com>",
Expand All @@ -10,14 +10,14 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.7.2",
"@polkadot/react-components": "^0.37.0-beta.82",
"@polkadot/react-qr": "^0.47.0-beta.6",
"@babel/runtime": "^7.7.5",
"@polkadot/react-components": "^0.39.0-beta.26",
"@polkadot/react-qr": "^0.48.0-beta.5",
"@types/file-saver": "^2.0.0",
"@types/yargs": "^13.0.2",
"babel-plugin-module-resolver": "^3.1.1",
"detect-browser": "^4.8.0",
"file-saver": "^2.0.0",
"yargs": "^14.2.0"
"yargs": "^15.0.2"
}
}
Loading