Commit Graph

3493 Commits

Author SHA1 Message Date
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
Github Actions
8e00005cd5 [CI Skip] 0.43.0-beta.10
skip-checks: true
2020-05-26 08:08:05 +00:00
Jaco Greeff
85f71d89a2
Bump API (#2813) 2020-05-26 10:00:22 +02:00
Github Actions
56590f9102 [CI Skip] 0.43.0-beta.9
skip-checks: true
2020-05-26 07:14:57 +00:00
Jaco Greeff
8e30a8620e
Protect paymentInfo (#2811) 2020-05-26 09:08:36 +02:00
Github Actions
feba08e668 [CI Skip] 0.43.0-beta.8
skip-checks: true
2020-05-26 05:59:27 +00:00
illlefr4u
e2f7a9fd9e
some updates Russian translation (#2809)
* Change URL for democratic proposals

* fix russian translation with love to Kusama network

* Small but important amendments.

* fix stupid error

* small fix ru-translation
2020-05-26 07:51:44 +02:00
Github Actions
35ebf9d8c4 [CI Skip] 0.43.0-beta.7
skip-checks: true
2020-05-25 13:29:47 +00:00
Jaco Greeff
c385a8afad
Close on proposal failing (#2808) 2020-05-25 15:21:47 +02:00
Github Actions
332b076c8d [CI Skip] 0.43.0-beta.6
skip-checks: true
2020-05-25 11:58:48 +00:00
Jaco Greeff
fbbc1dd7fd
Council propose/close with length & weights (#2807)
* Council propose/close with length & weights

* Adjust for consistency

* Retrieve weight via paymentInfo

* Closing and voting in conjunction
2020-05-25 13:51:52 +02:00
Github Actions
82f8fd7576 [CI Skip] 0.43.0-beta.5
skip-checks: true
2020-05-25 08:12:08 +00:00
Jaco Greeff
e9f7b547fd
Extract state interfaces (#2805) 2020-05-25 10:05:14 +02:00
Github Actions
2733c4bb6b [CI Skip] 0.43.0-beta.4
skip-checks: true
2020-05-25 06:52:47 +00:00
Jaco Greeff
49ad5d91ea
API bump (latest Substrate) (#2804) 2020-05-25 08:45:42 +02:00
Github Actions
e6d2b80058 [CI Skip] 0.43.0-beta.3
skip-checks: true
2020-05-24 17:47:39 +00: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
Github Actions
8652303211 [CI Skip] 0.43.0-beta.2
skip-checks: true
2020-05-24 16:15:41 +00:00
Jaco Greeff
007ce6bfe5
Adjust bundle splits (#2800) 2020-05-24 18:08:29 +02:00
Github Actions
6104e6a558 [CI Skip] 0.43.0-beta.1
skip-checks: true
2020-05-22 10:38:41 +00:00
Jakub Jóźwiak
c6c902b735
Add electron app icons, artifact name and simplify packElectron script (#2795) 2020-05-22 12:31:28 +02:00
Github Actions
555d188a25 [CI Skip] 0.43.0-beta.0
skip-checks: true
2020-05-22 06:58:04 +00:00
Jaco Greeff
b887022998
s/inps/ipns/ 2020-05-22 08:52:01 +02:00
Jaco Greeff
060abea584
IPFS on release 2020-05-22 08:50:34 +02:00
Github Actions
8dbb7f16f1 [CI Skip] QmNbrovhXbvGQ9ury1RxHNCEcUVVEbYYc2qyybN5wCkcwP
skip-checks: true
2020-05-22 06:46:51 +00:00
Github Actions
b55c9097fb [CI Skip] 0.42.1
skip-checks: true
2020-05-22 06:46:43 +00:00
Jaco Greeff
ed84dfa53f
0.42 (#2793) 2020-05-22 08:39:17 +02:00
Github Actions
253514c09b [CI Skip] QmYcFybtdonimuggRqUggNYCcVkfz48uTLUHL2ebSCYn7u
skip-checks: true
2020-05-21 21:53:17 +00:00
Github Actions
db4975b5c2 [CI Skip] 0.42.0-beta.163
skip-checks: true
2020-05-21 21:53:07 +00:00
Jaco Greeff
9304b0e326
Update .123trigger 2020-05-21 23:46:26 +02:00
Github Actions
a0d7809031 [CI Skip] QmcRXNW6iau8M5x6mJdFGgeC4C2Pjx1CXkgf7WHFfczR96
skip-checks: true
2020-05-21 21:28:22 +00:00
Github Actions
4136106202 [CI Skip] 0.42.0-beta.162
skip-checks: true
2020-05-21 21:28:14 +00:00
Jaco Greeff
8fa301493b CloudFlare function call 2020-05-21 23:20:26 +02:00
Github Actions
eed6a1de1e [CI Skip] Qmafd4jyv32f8NedUU5hD4HqZ3g63v8HTc7a25cbA5zVVr
skip-checks: true
2020-05-21 21:18:05 +00:00
Github Actions
3aabc874f8 [CI Skip] 0.42.0-beta.161
skip-checks: true
2020-05-21 21:17:57 +00:00
Jaco Greeff
66c5f20a9b
Cloudflare dnslink (#2791) 2020-05-21 23:10:44 +02:00
Github Actions
c3a7fa1730 [CI Skip] undefined
skip-checks: true
2020-05-21 20:40:40 +00:00
Github Actions
b06ffd921b [CI Skip] 0.42.0-beta.160
skip-checks: true
2020-05-21 20:40:31 +00:00
brenzi
6712b3e0be
[encointer] add favicon and improved custom type definitions (#2790)
* [encointer] add favicon and improved custom type definitions

* Linting fixes

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-05-21 22:33:41 +02:00
Github Actions
29627c737c [CI Skip] undefined
skip-checks: true
2020-05-21 17:56:49 +00:00
Github Actions
d146251a5e [CI Skip] 0.42.0-beta.159
skip-checks: true
2020-05-21 17:56:41 +00:00
Jaco Greeff
408885aa16 redirect in 0 2020-05-21 19:49:24 +02:00
Github Actions
dfe77ef61f [CI Skip] undefined
skip-checks: true
2020-05-21 16:51:31 +00:00
Github Actions
1e870069e9 [CI Skip] 0.42.0-beta.158
skip-checks: true
2020-05-21 16:51:23 +00:00
Jaco Greeff
10fc1f32df
Reformat ipfs redirect (#2789) 2020-05-21 18:44:13 +02:00
Chevdor
98c12fcc46
Add doc related to IPFS and pinning (#2788) 2020-05-21 18:37:51 +02:00
Github Actions
fff0df3b6e [CI Skip] QmPCMw9pgqboRm8KLvZbumKXmkerCBShVX2pSCXviVxS5V
skip-checks: true
2020-05-21 14:07:02 +00:00
Github Actions
41db164c16 [CI Skip] 0.42.0-beta.157
skip-checks: true
2020-05-21 14:06:54 +00:00
Jaco Greeff
d3a98bc2d1 lerna.version 2020-05-21 15:59:35 +02:00
Github Actions
2319e7caee [CI Skip] QmQjokwZ9aasGCqngoHVS2JdwxvpXXwuEp91Sun3vvdyCQ
skip-checks: true
2020-05-21 13:54:14 +00:00