Commit Graph

40 Commits

Author SHA1 Message Date
Jaco Greeff
1b43ffa046
Ensure useState doesn't re-init with function calls (#4552)
* Ensure useState doesn't re-init with function calls

* extra

* Additional
2021-02-01 14:17:14 +01:00
Jaco Greeff
99ae6ecd8e
Bump API (Kusama upgrade) (#4519) 2021-01-28 12:37:36 +01:00
Jaco Greeff
6bb45bcb75
Adjust highlights (#4354) 2021-01-09 14:21:40 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Ewa Kowalska
541213f233
Ek extract type only imports into separate group (#4168)
* Plug new beta of eslint plugin simple import sort

* Apply new configuration to existing imports
2020-12-07 16:04:05 +01:00
Ewa Kowalska
87505b1c59
Eslint imports (#4037)
* Add eslint configuration

* Patch eslint plugin for sorting imports

* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00
Jaco Greeff
fce4f76297
Adjust config imports/exports (#4051)
* Adjust config imports/exports

* Move type import

* yarn

* drive-by type imports
2020-11-19 14:17:29 +01:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
90b1f12c04
Contrast menu on brightness (#3701)
* Add contrast colors on menu (dark vs light)

* Adjust contrast detection

* Adjust contrasts

* Don't match, use indexes
2020-09-17 12:36:14 +02:00
Jaco Greeff
a286bb90bc
Topmenu updates as per design (#3658)
* Topmenu updates as per design

* Explicit background to chain images

* Faint background (maybe, someday)

* Faint background for table highlights

* table headers

* Footer background

* Aletr badge (dark, as per suggestion)

* invert counter

* Small adjustments to opacity

* Update packages/apps/src/Content/index.tsx

* Status borders

* empty opacity

* Revert border

* Update packages/react-components/src/Status/index.tsx
2020-09-12 08:50:33 +02:00
Jaco Greeff
7247cec8e5
Media & highlight name adjustments (#3482)
* Media & highlight name adjustments

* 2000 sizing

* Restore progress inner
2020-08-23 12:11: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
8ed93360d9
Rework Button (#3171)
* Rework Button

* Input dropdown buttons

* Adjust cursor & border (InputNumber SI, disabled)

* first/last-of-byte in Button.Group

* Cleanup classes

* Cleanup linting

* Small cleanups

* Swap to actual <button ...>

* Sidebar adjust

* Adjust className creation

* Adjust signer toggle

* Button disabled cursor

* Poll adjust loading

* Basic buttons, SideBar with theme

* Adjust button styling

* Adjust Button shadows
2020-07-13 21:25:12 +02:00
Jaco Greeff
7f519f73e3
Small usage cleanups (#3163)
* Small usage cleanups

* Adjustments for nodes

* Hopefully sort out Badge/Icon alignment

* ui--Icon pointers
2020-07-11 11:24:50 +02:00
Jaco Greeff
01587003eb
Small CSS optimizations (#3156) 2020-07-10 12:50:59 +02:00
Jaco Greeff
1c7865cf65
Adjust Badge to inline default (as used) (#3150)
* Adjust Badge to inline default (as used)

* Default to isTooltip with hover set
2020-07-09 13:40:46 +02:00
Jaco Greeff
ca5a5a95c1
Indicate own nominees on targets (#3133)
* Indicate own nominees on targets

* icon prop to Badge

* AddressName cachin cleanups
2020-07-07 07:55:54 +02:00
Jaco Greeff
cb0aa838f8
Small optimizations (#3053)
* Small optimizations

* Additional tooltip
2020-06-25 22:19:10 +02:00
Jaco Greeff
b78cc3fa2f
Adjust button rounding (#3051)
* Adjust button rounding

* ReferendumInfo icon
2020-06-25 15:34:35 +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
Jaco Greeff
7289f02c81
Align staking status icons (#3027)
* Align staking status icons

* No content
2020-06-22 14:00:34 +02:00
Jaco Greeff
410d0dd092
Fix Badge min-width (isSmall) (#3024)
* Fix Badge min-width (isSmall)

* Move sidebar balances to top
2020-06-22 09:54:22 +02:00
Jaco Greeff
38704a5029
Display referendum voting status (#3016) 2020-06-21 11:10:41 +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
d57908ead8
Remove staking badge tooltips (#2603) 2020-04-22 22:07:24 +02:00
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules (#2499) 2020-04-01 15:30:08 +02:00
Jaco Greeff
c5d92546f7
Some small CSS adjustments (#2479) 2020-03-29 10:39:11 +02:00
Jaco Greeff
f309743b2f
Swap referendum pass/fail to Tag (#2448) 2020-03-24 08:27:15 +01:00
Jaco Greeff
304dab95cc
Add React.memo to some components (#2375)
* Add React.emomo to some components

* Linting
2020-03-12 11:15:38 +01:00
Jaco Greeff
1c0dd98b03
Display names for society/treasury (#2326)
* Display names for society/treasury

* Consistent balance formats

* Adjust top-level sizing
2020-03-03 11:58:36 +01:00
Keith Ingram
3afceac9d1
Parachains app (#2308)
* parachains app

* fin

* fin

* rec changes

* Fix sudo lookup

* sudoKey is already a string

* fix CI

* Fix build, re-gen i18n

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-02 08:48:29 +01:00
Jaco Greeff
562e11dc06
Bump deps (#2091) 2020-01-06 16:16:50 +01:00
Jaco Greeff
08adfbc43f
Provide judgement via account hover (#2078)
* Provide judgement via account hover

* Click to provide judgement
2019-12-19 13:08:21 +01:00
Jaco Greeff
aaf9757a96
(tiny) Badge styling updates (#2067) 2019-12-17 17:19:42 +01:00
Jaco Greeff
adf1c1c800
Identity judgements (#2064)
* Display identity judgements

* Small badge alignment adjustment

* Linting

* Check namaes against lowercase
2019-12-17 13:40:39 +01:00
Jaco Greeff
4f40a5bc5e
Remove broken tooltip expand (#1984)
* Remove tooltip click

* Tooltip click
2019-12-02 21:28:15 +01:00
Jaco Greeff
2175a11e24
Proposal counters (#1982) 2019-12-02 19:41:43 +01:00
Jaco Greeff
6ea09e67d3
Rework staking lists, more info per page (#1972)
* Rework staking lists, more info per page

* Progress

* Thin cards as table rows

* Adjust label opacity

* Adj.
2019-12-01 15:47:16 +01:00
Jaco Greeff
5ec79faa4a
Add fav & current as nominations (#1869)
* Add fav & current as nominations

* Toggle nominee at end

* Selection icons for council
2019-11-11 23:35:00 +01:00
Jaco Greeff
df095c2829
Staking updates (#1815)
* Staking updates

* Bump API

* So currentElected first in next up

* Linting

* Remove unused state entries
2019-10-30 15:53:52 +01:00