Commit Graph

53 Commits

Author SHA1 Message Date
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
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
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
4399ba87ec
Parachains transfers via tokenDealer (#3332) 2020-08-04 13:32:01 +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
b1def01f5b
Society bid modal (& unbid, bidder overview counter) (#3194)
* Society bid modal (& bidder counter)

* Add unbid button (when bidder)
2020-07-14 15:41:26 +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
ede19891e1
Swap Icon to FAIcon wrapper (#3046)
* Swap Icon to FAIcon wrapper

* Small tweaks
2020-06-25 11:00:36 +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
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
7b711316e9
Bump deps (#2753)
* Bump deps

* Fixes
2020-05-15 16:19:06 +02:00
Jaco Greeff
a64414b793
Bump extension libs, allow for new signed extensions (#2748) 2020-05-14 11:28:20 +02:00
Jaco Greeff
46c9073a5f
Bump deps (#2692) 2020-05-06 14:26:58 +02:00
Jaco Greeff
9e8787728c
I18n string viewer (#2631)
* i18n string cleanups

* i18n app with I18N intro
2020-04-26 10:34:15 +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
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
Jaco Greeff
23dde12942
Adjust Route exports (#2506) 2020-04-02 11:22:00 +02:00
Jaco Greeff
5390567cf3 Lint fix 2020-04-01 22:35:36 +02:00
Jaco Greeff
9b140e451c Fis staking route 2020-04-01 22:31:32 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02: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
14183c611d
Bump API (#2379)
* Bump API

* Bump
2020-03-13 20:32:00 +01:00
Jaco Greeff
ac8c7cc410
Add global reward alert for payouts (#2370) 2020-03-11 17:30:01 +01:00
Jaco Greeff
003deed845
Don't make unavailable apps crash the full app (#2251) 2020-02-07 10:58:37 +01:00
Jaco Greeff
79de1162ea
useTranslation Suspense fallback (#2158)
* useTranslation Suspense fallback

* import path

* Some small useTranslation conversions
2020-01-20 17:20:04 +01:00
Jaco Greeff
03a5b2726c
Bump API (incl. staking ledger fixes) (#2156)
* Bump API (incl. staking ledger fixes)

* Api context

* Replace counter

* Linting

* Swap t -> useTranslation

* Cleanup unwrap

* Rebuild i18n (& make auto-config)

* Remove old eslint override
2020-01-20 15:08:03 +01:00
Jaco Greeff
aed8df37a3
Society app (#2148)
* Society app

* useCheck

* Summary

* Updates

* Bump API with society

* Bump API (fixed publish)
2020-01-19 23:05:02 +01:00
Jaco Greeff
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +01:00
Jaco Greeff
dafea25972
Allow voting on treasury page (#2019)
* Allow voting on treasury page

* More re-usable voting components (a start)

* Ficup imports

* Adjust modals

* Bump API
2019-12-09 17:54:57 +01:00
Jaco Greeff
2175a11e24
Proposal counters (#1982) 2019-12-02 19:41:43 +01:00
Jaco Greeff
b1fea8cf2c
Basic tech committee (#1977)
* Tech comm

* Basic tech committee app (excl. proposals)
2019-12-02 17:31:35 +01:00
Jaco Greeff
b05a01ce10
Support democracy with preimages (#1973)
* Add derive.democracy.proposals

* Preimage button

* Preimages work

* Allow Proposals, display referendums

* Update with height/width hack

* Bump deps
2019-12-02 10:51:21 +01:00
Jaco Greeff
88291ed83f
Disable democracy until updated (#1971) 2019-12-01 11:54:26 +01:00
Jaco Greeff
2a874e4dd9
Support electionsPhragmen (#1768)
* Support electionsPhragmen

* Base voting

* Allow voting
2019-10-26 18:52:21 +02:00
Xiliang Chen
688231ca05 GenericAsset Transfer app (#1452)
* Initial GenericAsset Transfer app

* Basic Assets page

* improve assets page a bit

* Make asset id dropdown in transfer

* fix linter issues

* update with new packages
2019-09-09 11:59:35 +02:00
Jaco Greeff
e4c933cc87
Bump deps (#1560) 2019-08-30 09:09:11 +02:00
kwingram25
a4b0c494d3 Claim tokens app (#1485)
* Ethereum pk -> address

* [WIP] Claim tokens app

* cleanup

* refactor

* Fixup address extraction

* Use card instead of Inset (UI alignment)

* Tadaaa! Claiming works.

* Uppercase token name

* Claim location (& overall spacing)

* Remove stray console.error

* Some documentation around utils
2019-08-16 00:40:27 +02:00
Jaco Greeff
e6ca2db884
Rename ui-* -> react-* (#1495)
* Rename ui-* -> react-*

* Rename actual folders

* react-app -> react-components

* CSS links
2019-08-12 13:12:05 +02:00
Jaco Greeff
8bb35dd9ff
Complete eslint swap (#1407) 2019-07-16 11:56:40 +02:00
kwingram25
a7791a8e69 Submit candidacy (#1402)
* Change council to collective/elections

* fix proposal type

* package

* Submit candidacy

* update index

* Minor eslint cleanups

* rename back to council

* blank line
2019-07-15 22:42:17 +02:00
Jaco Greeff
0e2265ff70
Some initial pre-eslint cleanups (#1383)
* Some initial cleanups

* Make it lint

* Small s/type/interface/ additions

* Small minor s/type/interface/

* More type -> interface

* Add lint:new rule

* Some small updates

* Cleanup dangling tslint  issues

* Small updates

* ui-signer cleanups

* ui-reactive updated

* Make lint:new run

* Mini ui-params cleanups

* Some additions

* Tiny... and done for now.

* 1950 problems (1241 errors, 709 warnings)

* 1829 problems (1181 errors, 648 warnings)

* 1674 problems (1181 errors, 493 warnings) (no any... for now)

* Small additions.

* Array<T> -> T[] (all)
2019-07-14 22:27:12 +02:00
kwingram25
e9b5f72e8b
Change council to collective/elections (#1398)
* Change council to collective/elections

* fix proposal type

* package
2019-07-14 20:26:32 +01:00
Jaco Greeff
c00ec5a470
Basic parachains app (#1338)
* Parachains structure

* Basic display

* Bump API

* Treasury/Parachains ordering

* Update for latest Column changes
2019-07-09 10:36:24 +02:00
kwingram25
b74755bbaa
Treasury app (#1324)
* treasury app

* fixes

* more fixes

* treasury app

* fixes

* more fixes

* fixes + collections

* force travis
2019-06-25 15:20:53 +01:00
Jaco Greeff
b9308c6939
Support 1.x contract & 2.x contracts (#1321)
* Support 1.x contract & 2.x contracts

* Allow TxButton with contract & contracts

* Bump api for derive.contracts
2019-06-21 13:14:38 +02:00
Jaco Greeff
ba6b0c6df7
Basic council overview (#1267)
* Cleanup styles for staking

* Basic council members list

* AddressRow adjustments

* Less-spacy rows

* Adjust after merge

* Move accounts to first tranch

* s/council/members/

* Update CardGrid.tsx

* Remove any on styled props

* Small readability tweak
2019-06-04 10:04:14 +02:00
Jaco Greeff
5b5ab129d3
Turn SideBar transfer into modal link (#1217)
* Turn SideBar transfer into modal link

* ui--RecentlyOffline badge location
2019-05-27 22:24:59 +02:00