Commit Graph

511 Commits

Author SHA1 Message Date
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