Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
c85c256
Democracy with useTranslation (#2153)
jacogr Jan 20, 2020
5f00e4d
[CI Skip] 0.39.0-beta.71
actions-user Jan 20, 2020
03a5b27
Bump API (incl. staking ledger fixes) (#2156)
jacogr Jan 20, 2020
d4fbce5
[CI Skip] 0.39.0-beta.72
actions-user Jan 20, 2020
18af907
Set Modal default to open (#2157)
jacogr Jan 20, 2020
58a857f
[CI Skip] 0.39.0-beta.73
actions-user Jan 20, 2020
79de116
useTranslation Suspense fallback (#2158)
jacogr Jan 20, 2020
6b2731b
[CI Skip] 0.39.0-beta.74
actions-user Jan 20, 2020
73758de
Clear all window vars (#2159)
jacogr Jan 21, 2020
bb28c8e
[CI Skip] 0.39.0-beta.75
actions-user Jan 21, 2020
bb22154
Show society rotation & challenge periods (#2160)
jacogr Jan 21, 2020
828f181
[CI Skip] 0.39.0-beta.76
actions-user Jan 21, 2020
ce36724
Account create options, sort by created (#2161)
jacogr Jan 21, 2020
d3afcae
[CI Skip] 0.39.0-beta.77
actions-user Jan 21, 2020
378443d
Allow Qr scanning with name (#2163)
jacogr Jan 21, 2020
2739164
[CI Skip] 0.39.0-beta.78
actions-user Jan 21, 2020
8e971ef
Use ButtonCancel for all Cancel-only buttons (#2164)
jacogr Jan 21, 2020
a96adfc
[CI Skip] 0.39.0-beta.79
actions-user Jan 21, 2020
1d5a756
Auto-add Button.Group inside Modal.Actions (#2165)
jacogr Jan 21, 2020
af2121d
[CI Skip] 0.39.0-beta.80
actions-user Jan 21, 2020
edc9edd
Cleanup AccountName display (#2166)
jacogr Jan 22, 2020
76fbc83
[CI Skip] 0.39.0-beta.81
actions-user Jan 22, 2020
0fce51c
Metadata update reload (#2143)
jacogr Jan 22, 2020
814478a
[CI Skip] 0.39.0-beta.82
actions-user Jan 22, 2020
9771dc1
Remove last css files (all styled-components) (#2168)
jacogr Jan 22, 2020
3b4ed57
[CI Skip] 0.39.0-beta.83
actions-user Jan 22, 2020
77256b2
Fully split active/inactive nominations (#2169)
jacogr Jan 22, 2020
1d13e89
[CI Skip] 0.39.0-beta.84
actions-user Jan 22, 2020
b5da9df
xh members/candidates (society) (#2172)
jacogr Jan 23, 2020
c03c51c
[CI Skip] 0.39.0-beta.85
actions-user Jan 23, 2020
0aa6c99
Swap Edgeware types to published (#2173)
jacogr Jan 23, 2020
0dbe4f9
[CI Skip] 0.39.0-beta.86
actions-user Jan 23, 2020
9905927
Swap council voting from TxModal (#2141)
jacogr Jan 23, 2020
a54eef3
[CI Skip] 0.39.0-beta.87
actions-user Jan 23, 2020
09e974b
Handle DispatchError failures gracefully (#2182)
jacogr Jan 23, 2020
fbcdac2
[CI Skip] 0.39.0-beta.88
actions-user Jan 23, 2020
58e3dab
Allow sorting of staking returns (#2183)
jacogr Jan 23, 2020
c452228
[CI Skip] 0.39.0-beta.89
actions-user Jan 23, 2020
97b927b
Adjust SI formats to full SI name (#2184)
jacogr Jan 23, 2020
6e7a23e
[CI Skip] 0.39.0-beta.90
actions-user Jan 23, 2020
d166a39
Bump API (#2186)
jacogr Jan 23, 2020
a5ea8d1
[CI Skip] 0.39.0-beta.91
actions-user Jan 23, 2020
63d2239
Social account recovery (#2187)
jacogr Jan 24, 2020
2594dfd
[CI Skip] 0.39.0-beta.92
actions-user Jan 24, 2020
d0ed289
Add Westend, externalize endpoints (#2171)
jacogr Jan 24, 2020
c157ae2
[CI Skip] 0.39.0-beta.93
actions-user Jan 24, 2020
0aef5f3
Signer unlock password indicator (#2190)
jacogr Jan 24, 2020
cbda761
[CI Skip] 0.39.0-beta.94
actions-user Jan 24, 2020
e009258
Adjust available labels (#2191)
jacogr Jan 24, 2020
8be974f
[CI Skip] 0.39.0-beta.95
actions-user Jan 24, 2020
52a2aa2
Add preimage buttons to proposals (#2192)
jacogr Jan 24, 2020
f134b97
[CI Skip] 0.39.0-beta.96
actions-user Jan 24, 2020
40d7926
Remove old votes from council (#2193)
jacogr Jan 24, 2020
09fe933
[CI Skip] 0.39.0-beta.97
actions-user Jan 24, 2020
9001400
TxButton withSpinner swap (#2194)
jacogr Jan 24, 2020
3029238
[CI Skip] 0.39.0-beta.98
actions-user Jan 24, 2020
196dbcb
AddressMulti -> InputAddressMulti (#2195)
jacogr Jan 24, 2020
f2e85b9
[CI Skip] 0.39.0-beta.99
actions-user Jan 24, 2020
45bc5fc
Apply Vote conviction (#2197)
jacogr Jan 24, 2020
736fbc3
[CI Skip] 0.39.0-beta.100
actions-user Jan 24, 2020
845c5dc
Remove ja from i18n settings (#2198)
jacogr Jan 24, 2020
e58d2b2
[CI Skip] 0.39.0-beta.101
actions-user Jan 24, 2020
8325a8f
Bump deps (#2199)
jacogr Jan 26, 2020
bda3772
[CI Skip] 0.39.0-beta.102
actions-user Jan 26, 2020
5b8f562
Bump deps (#2202)
jacogr Jan 27, 2020
b896cd3
[CI Skip] 0.39.0-beta.103
actions-user Jan 27, 2020
5cab16d
Society vouching (#2204)
jacogr Jan 28, 2020
7958987
[CI Skip] 0.39.0-beta.104
actions-user Jan 28, 2020
348dc20
Staking list rendering optimizations (#2206)
jacogr Jan 28, 2020
d281615
[CI Skip] 0.39.0-beta.105
actions-user Jan 28, 2020
1d86136
Convert options & items (tabs) to useMemo (#2207)
jacogr Jan 28, 2020
be46edf
[CI Skip] 0.39.0-beta.106
actions-user Jan 28, 2020
ac832a2
Bump API (#2208)
jacogr Jan 28, 2020
09781cc
[CI Skip] 0.39.0-beta.107
actions-user Jan 28, 2020
7466d6b
Add derive availability failsafes (global) (#2210)
jacogr Jan 28, 2020
f64ba0b
[CI Skip] 0.39.0-beta.108
actions-user Jan 28, 2020
d2bf422
Merge branch 'master' of github.com:polkadot-js/apps
philipstanislaus Jan 28, 2020
825da6c
Empty heartbeats should not display (#2212)
jacogr Jan 28, 2020
d903742
[CI Skip] 0.39.0-beta.109
actions-user Jan 28, 2020
ba7d52f
Add Centrifuge Endpoints
philipstanislaus Jan 28, 2020
788f85e
Bump deps (#2213)
jacogr Jan 28, 2020
bf61251
[CI Skip] 0.39.0-beta.110
actions-user Jan 28, 2020
363a214
Squash session summary rendering (#2214)
jacogr Jan 28, 2020
c2ae23c
[CI Skip] 0.39.0-beta.111
actions-user Jan 28, 2020
7cd65b0
Adjust summary balance displays (#2215)
jacogr Jan 28, 2020
566335c
Society voting on defender (#2216)
jacogr Jan 28, 2020
20eb593
[CI Skip] 0.39.0-beta.112
actions-user Jan 28, 2020
fbea3bd
Bump deps (#2217)
jacogr Jan 29, 2020
7bb733e
[CI Skip] 0.39.0-beta.113
actions-user Jan 29, 2020
d787500
Bump API (#2219)
jacogr Jan 30, 2020
2ecb735
[CI Skip] 0.39.0-beta.114
actions-user Jan 30, 2020
be7e293
Expose signed transactions (#2203)
ma12ki Jan 31, 2020
574de48
[CI Skip] 0.39.0-beta.115
actions-user Jan 31, 2020
5d9161d
0.39 (#2220)
jacogr Jan 31, 2020
11ca05a
[CI Skip] 0.39.1
actions-user Jan 31, 2020
6ebfc05
Bump API (#2223)
jacogr Feb 1, 2020
8469978
[CI Skip] 0.40.0-beta.0
actions-user Feb 1, 2020
efd0e72
Bump API (#2224)
jacogr Feb 2, 2020
0085b43
[CI Skip] 0.40.0-beta.1
actions-user Feb 2, 2020
17f6cb3
Add amber endpoint
philipstanislaus Feb 2, 2020
f9fc550
Merge branch 'master' of github.com:polkadot-js/apps
philipstanislaus Feb 2, 2020
db9a185
Merge branch 'master' into centrifuge-endpoints-testnets
philipstanislaus Feb 2, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
# 0.39.1

- **Breaking** Drop support for V1 Substrate chains
- Translation into Chinese (Thanks to https://github.com/dushaobindoudou)
- Support for sign-only transactions (Thanks to https://github.com/mzolkiewski)
- Add support for WestEnd testnet
- Add support for social recovery in accounts
- Add counters for all proposal-based apps
- Disable spellcheck on all input fields (privacy)
- Query the paymentInfo API to get weight fee information
- Remove FF warning with https:// -> ws://localhost
- Staking now supports where the controller or stash accounts are not local
- Social app
- Add support for identity setting (via identity module)
- Add support for registrars to hand out identity judgements
- Use both internal and lib hooks as applicable (refactoring)
- Support QR codes (accounts) with optional names
- Cleanup all Modals, simplify
- Adjust balance display formats
- Update to latest libraries (incl. util 2.0 & api 1.0)

# 0.38.1

- Fix summarybar in 123-code (Thanks to https://github.com/anakornk)
- Update Edgeware with correct keys (Thanks to https://github.com/drewstone)
- Add InputAddressMulti inputs, both to council and staking nominators
- Rework all layouts, removing cards for table-ike-layouts
- Technical comittee app
- Allow for external proposal and queued for dispatch in democracy
- Add pre-image support to democracy proposals (including imminent)
- Improved staking page rendering (background)
- Update to latest libraries

# 0.37.1

- Support for Kusama CC3
Expand Down
91 changes: 34 additions & 57 deletions i18next-scanner.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,38 @@
// Copyright 2017-2020 @polkadot/apps authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

const fs = require('fs');
const path = require('path');
const typescript = require('typescript');

const findPackages = require('./scripts/findPackages');

function transform (file, enc, done) {
const { ext } = path.parse(file.path);

if (ext === '.tsx') {
const content = fs.readFileSync(file.path, enc);

const { outputText } = typescript.transpileModule(content, {
compilerOptions: {
target: 'es2018'
},
fileName: path.basename(file.path)
});

const parserHandler = (key, options) => {
options.defaultValue = key;
options.ns = /packages\/(.*?)\/src/g.exec(file.path)[1];
this.parser.set(key, options);
};

this.parser.parseFuncFromString(outputText, parserHandler);
}

done();
}

module.exports = {
input: [
'packages/*/src/**/*.{ts,tsx}',
Expand All @@ -15,45 +46,14 @@ module.exports = {
debug: true,
func: {
list: ['t', 'i18next.t', 'i18n.t'],
extensions: ['.tsx']
extensions: ['.tsx', '.ts']
},
trans: {
component: 'Trans'
},
lngs: ['en'],
defaultLng: 'en',
ns: [
'app-123code',
'app-accounts',
'app-address-book',
'app-claims',
'app-contracts',
'app-council',
'app-dashboard',
'app-democracy',
'app-explorer',
'app-extrinsics',
'app-generic-asset',
'app-js',
'app-parachains',
'app-settings',
'app-society',
'app-staking',
'app-storage',
'app-sudo',
'app-tech-comm',
'app-toolbox',
'app-transfer',
'app-treasury',
'apps',
'apps-routing',
'react-api',
'react-components',
'react-params',
'react-query',
'react-signer',
'ui'
],
ns: findPackages().map(({ dir }) => dir),
defaultNs: 'ui',
resource: {
loadPath: 'packages/apps/public/locales/{{lng}}/{{ns}}.json',
Expand All @@ -64,28 +64,5 @@ module.exports = {
nsSeparator: false, // namespace separator
keySeparator: false // key separator
},
transform: function transform (file, enc, done) {
const { ext } = path.parse(file.path);

if (ext === '.tsx') {
const content = fs.readFileSync(file.path, enc);

const { outputText } = typescript.transpileModule(content, {
compilerOptions: {
target: 'es2018'
},
fileName: path.basename(file.path)
});

const parserHandler = (key, options) => {
options.defaultValue = key;
options.ns = /packages\/(.*?)\/src/g.exec(file.path)[1];
this.parser.set(key, options);
};

this.parser.parseFuncFromString(outputText, parserHandler);
}

done();
}
transform
};
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.39.0-beta.70"
"version": "0.40.0-beta.1"
}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.39.0-beta.70",
"version": "0.40.0-beta.1",
"private": true,
"engines": {
"node": ">=10.13.0",
Expand All @@ -10,14 +10,14 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^1.0.0-beta.12",
"@polkadot/api-contract": "^1.0.0-beta.12",
"@polkadot/keyring": "^2.0.0-beta.4",
"@polkadot/types": "^1.0.0-beta.12",
"@polkadot/util": "^2.0.0-beta.4",
"@polkadot/util-crypto": "^2.0.0-beta.4",
"@polkadot/api": "^1.1.0-beta.8",
"@polkadot/api-contract": "^1.1.0-beta.8",
"@polkadot/keyring": "^2.0.1",
"@polkadot/types": "^1.1.0-beta.8",
"@polkadot/util": "^2.0.1",
"@polkadot/util-crypto": "^2.0.1",
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.7.4"
"typescript": "^3.7.5"
},
"scripts": {
"analyze": "yarn run build && cd packages/apps && yarn run source-map-explorer build/main.*.js",
Expand All @@ -29,17 +29,17 @@
"clean:i18n": "rm -rf packages/apps/public/locales/en && mkdir -p packages/apps/public/locales/en",
"lint": "eslint --ext .js,.jsx,.ts,.tsx . && tsc --noEmit --pretty",
"postinstall": "polkadot-dev-yarn-only",
"test": "echo \"skipping tests\"",
"test": "jest packages/app-claims/src",
"vanitygen": "node packages/app-accounts/scripts/vanitygen.js",
"start": "cd packages/apps && webpack --config webpack.config.js"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/core": "^7.8.3",
"@babel/register": "^7.7.7",
"@babel/runtime": "^7.7.7",
"@polkadot/dev-react": "^0.32.14",
"@polkadot/ts": "^0.1.90",
"autoprefixer": "^9.7.1",
"@babel/runtime": "^7.8.3",
"@polkadot/dev-react": "^0.33.3",
"@polkadot/ts": "^0.2.1",
"autoprefixer": "^9.7.4",
"empty": "^0.10.1",
"html-loader": "^0.5.5",
"i18next-scanner": "^2.10.3",
Expand All @@ -53,6 +53,6 @@
"postcss-sass": "^0.4.1",
"postcss-simple-vars": "^5.0.0",
"precss": "^4.0.0",
"source-map-explorer": "^2.1.0"
"source-map-explorer": "^2.2.2"
}
}
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.39.0-beta.70",
"version": "0.40.0-beta.1",
"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.7",
"@polkadot/react-components": "^0.39.0-beta.70"
"@babel/runtime": "^7.8.3",
"@polkadot/react-components": "^0.40.0-beta.1"
}
}
1 change: 1 addition & 0 deletions packages/app-123code/src/Transfer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default function Transfer ({ accountId }: Props): React.ReactElement<Prop
label='make transfer'
params={[recipientId, amount]}
tx='balances.transfer'
withSpinner
/>
</Button.Group>
</div>
Expand Down
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.39.0-beta.70",
"version": "0.40.0-beta.1",
"main": "index.js",
"repository": "https://github.com/polkadot-js/apps.git",
"author": "Jaco Greeff <jacogr@gmail.com>",
Expand All @@ -10,11 +10,11 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.7.7",
"@polkadot/react-components": "^0.39.0-beta.70",
"@polkadot/react-qr": "^0.48.0-beta.12",
"@babel/runtime": "^7.8.3",
"@polkadot/react-components": "^0.40.0-beta.1",
"@polkadot/react-qr": "^0.48.1",
"@types/file-saver": "^2.0.0",
"@types/yargs": "^13.0.2",
"@types/yargs": "^15.0.2",
"detect-browser": "^4.8.0",
"file-saver": "^2.0.0",
"yargs": "^15.0.2"
Expand Down
Loading