Commit Graph

38 Commits

Author SHA1 Message Date
Jaco Greeff
0af86e2e5f
Explicit aye/nay buttons (no toggle) (#3524)
* Explicit aye/nay buttons (no toggle)

* Extract isDisabled

* Remove DOT banner

* Updates

* s/New DOT/DOT/

* Bump API

* .eslintrc
2020-08-26 13:37:00 +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
8f47873942
useRef for table headers (no changes) (#3429)
* useRef for table headers (no changes)

* Cleanup Tabs hidden (constants)
2020-08-16 16:29:10 +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
d35b1a1d10
Optional close on council motions (#3252)
* Optional close on council motions

* No close available short-circuit
2020-07-23 12:38:06 +02:00
Jaco Greeff
6a393256a4
Bump API, cater for new OpenTip structure (#3096)
* Bump API, cater for new OpenTip structure

* Simplify assignment

* Cleanups after latest typescript-eslint breakages

* More...

* Last-ish round
2020-06-30 13:43:06 +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
2e427e90e7
Multisig calls with weight (#2957)
* Multisig calls with weight

* approveAsMulti args check
2020-06-17 12:49:56 +02:00
Jaco Greeff
4ab3e73a3b
useWeight hook (collective and soon on multisig) (#2955)
* useWeight hook (collective and soon on multisig)

* zero address

* Remove debug log
2020-06-15 10:36:20 +02:00
Jaco Greeff
f1076b5596
Don't allow votes when motion is closeable (#2937) 2020-06-11 17:42:42 +02:00
Jaco Greeff
9f8cd0e21b
Adjust tech comm headers (#2929) 2020-06-10 23:43:47 +02:00
Jaco Greeff
b2c3eb8fd6
Failed council close with 0 length/weight (#2839)
* Failed council close with 0 length/weight

* 0/0 close for tc
2020-05-28 20:22:14 +02:00
Jaco Greeff
0789371b71
Re-add tc with length & weights (#2840)
* Re-add tc with length & weights

* Apply fixes

* Move useVotingstatus
2020-05-28 08:54:01 +02:00
Jaco Greeff
c385a8afad
Close on proposal failing (#2808) 2020-05-25 15:21:47 +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
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
284f7a667d
useMemo for table headers/footers/filters (#2601)
* useMemo for table headers/footers/filters

* contacts mishap
2020-04-22 14:44:54 +02:00
Jaco Greeff
dad564ce68
Voting toggle update (#2533)
* Voting toggle update

* Staking availability fix
2020-04-08 18:00:26 +02:00
Jaco Greeff
4d17d5236d
Additional useCallback (close to 100%) (#2527) 2020-04-07 16:07:11 +02:00
Lowhearth
f991c2d949
Swap yes/no (voting) to Toggle (#2519)
* Swap yes/no voting to Toggle #1624

* Ordering Imports

* Explicit vote Button label

* Modal opening Vote Buttons with default background
2020-04-07 07:03:51 +02:00
Jaco Greeff
b8df3dc8f4
Compact table markup (#2514)
* Compact table markup

* Motions tweak

* Small fixes
2020-04-04 08:15:36 +02:00
Jaco Greeff
9a6c55a40b
Bump dev (incl. eslint fixes) (#2502) 2020-04-01 21:31:36 +02:00
Jaco Greeff
9fde464c11
Bump dev, JSX prop rules (#2499) 2020-04-01 15:30:08 +02:00
Jaco Greeff
c9cf0581a0
Adjust all table layouts with headers (#2480)
* Some small CSS adjustments

* Adjust all table layouts with headers

* Adjust... somewhat

* Adjust

* Ok, enough for now...

* Adjust extrinsic from display

* header adjustments
2020-03-29 18:44:39 +02:00
Jaco Greeff
3dfaf17ca8
Combine status event types (#2478)
* Combine status event types

* Adjust some tables

* Adjust targets
2020-03-29 10:04:21 +02:00
Jaco Greeff
5126dbff93
Rework table layouts (#2472)
* Rework table layouts

* Additional

* Additional

* Accounts & Contacts

* Cleanup alignment

* Mini links

* Ordering adjustments

* Empty indicators
2020-03-28 21:01:47 +01:00
Jaco Greeff
b4d0ff93a2
Bump API (dispatchQueue derive) (#2467)
* Bump API (dispatchQueue derive)

* with democracy.nextExternal
2020-03-27 21:26:23 +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
fc6523d41d
Use Tag for society head & council prime (#2454) 2020-03-24 18:05:16 +01:00
Jaco Greeff
ca6348ceaa
Add .address class to Table (top & padding) (#2451) 2020-03-24 10:30:23 +01:00
Jaco Greeff
83ac8a99af
Adjust row padding with primary addresses (#2449)
* Adjust row padding (accounts)

* Expander padding
2020-03-24 09:37:49 +01:00
Jaco Greeff
55b8a60889
Cleanup some submission modals (#2439)
* Housekeeping, rename copyright headers

* Cleanup some submission modals
2020-03-23 09:03:27 +01:00
Jaco Greeff
ca4ec5816f
Use tech comm useMembers (#2436) 2020-03-22 17:52:22 +01:00
Jaco Greeff
b720cd1443
Hooks reworks with mounted refs (#2417) 2020-03-18 13:51:33 +01:00
Jaco Greeff
e97868348b
React.memo-ize more func. components (#2389)
* React.memo-ize more func. components

* Rework status display determination

* isApiReady &&

* ApiSigner private class interface

* readonly #

* Remove isPrimary on council vote
2020-03-15 12:11:59 +01:00
Jaco Greeff
2209078f5c
Adjust UI highlights based on chain/node color settings (#2384)
* Adjust app hightlights

* Default fallback
2020-03-14 08:49:50 +01:00
Keith Ingram
38405a8d3a
Display collective prime voter info and warnings (#2374)
* Display prime voter info

* enhancements

* Update packages/page-council/src/index.tsx

* Use React.memo, align society with council displays

* Fix merge lints

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-13 12:39:37 +01:00
Jaco Greeff
315995d6bf
Rename app-* folders to page-* (#2318)
* Rename app-* folders to page-*

* Cleanup test paths
2020-03-01 19:56:31 +01:00