Commit Graph

61 Commits

Author SHA1 Message Date
Jaco
97d2866e6e
Use useCollectiveModule for all collective locations (#5762)
* Use useCollectiveModule for all collective locations

* staking useCollectiveModule

* Bounties useCollectiveModule

* Mock collective

* Adjust

* useMember -> useCollectiveMembers
2021-07-05 08:03:27 +02:00
Jaco
42cb6b84d3
Rework collective queries (#5732)
* Rework collective queries

* members derive

* All via derive

* Adjust society useMembers

* Adjust optional consts

* Detect council module locations

* Adjust tech comm with module locations

* Rework loading

* Unused type import
2021-07-02 10:42:13 +02:00
Jaco
8a95b1a93b
Handle BN type-only imports correctly (#5428)
* Handle BN type-only imports correctly

* lint fixes
2021-06-03 10:41:55 +02:00
Jaco
c5d71b429c
Membership app (#5147)
* Membership app

* Bump
2021-04-26 21:14:31 +02:00
Jaco Greeff
d3482e638b
Adjust menubar (& overview naming) (#4922)
* Adjust menubar (& overview naming)

* Slight padding adjustment
2021-03-24 13:14:46 +01:00
Jaco Greeff
2d97581b17
Flatten tabs (#4883) 2021-03-21 09:31:43 +01:00
Jaco Greeff
15c08c6364
Display next action countdown (#4849)
* Display next action countdown

* Show parathreads
2021-03-14 19:45:02 +01:00
Jaco Greeff
a86bc3284a
Flatten modal columns (#4841)
* Flatten modal columns

* Additional

* Additional

* Additional

* Additional

* Additional

* Adjust tests

* No bids outside ending

* s/winners/bids/

* Adjust

* lease offsets
2021-03-14 14:36:49 +01:00
Jaco Greeff
d8b2bab912
Warning & Error with exclamation triangle (#4331)
* Warning & Error with exclamation triangle

* Fix lint

* Apply suggestions from code review
2021-01-10 08:37:51 +01:00
Jaco Greeff
33f554c32c
Allow for council closeOperational (preferred) (#4316) 2021-01-04 13:30:23 +01:00
Jaco Greeff
6dbb188a1a
2021 (#4310) 2021-01-03 11:33:39 +01:00
Jaco Greeff
d548b838a2
Bump deps (w/ cleanups) (#4301) 2020-12-30 12:49:01 +01:00
Jaco Greeff
5830e5eab6
Pass explicit function through to TxButton tx prop (#4251)
* Pass explicit function through to TxButton tx prop

* Updates

* Claim adjust

* Allow null on tx

* Adjust

* Apply suggestions from code review

* Adjustments after merge
2020-12-24 10:01:42 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps (#4194)
* Internal deps bumps

* acala
2020-12-11 12:47:59 +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
e6d3c61176
Use type imports from @polkadot/types/interfaces (#4103)
* Move chain params to apps-config

* Use type imports from @polkadot/types/interfaces
2020-11-29 19:03:06 +01:00
Jaco Greeff
aaedb61e0d
import type { UseTranslationResponse } (#4074) 2020-11-26 10:23:52 +01:00
Jaco Greeff
a0b82d88a4
Use import type { ... } (#4052)
* Use import type { ... }

* value imports

* TypeDefInfo

* Apply suggestions from code review

* fixes... am going blind.
2020-11-19 16:20:14 +01:00
Jaco Greeff
2807978f90
Allow close select with multi members (#3764) 2020-09-25 13:51:00 +02:00
Jaco Greeff
3eaac6b81d
Ensure tech. comm is filtered by members (#3742) 2020-09-23 08:36:11 +02:00
Jaco Greeff
7ba7339d96
SPDX (#3705) 2020-09-17 16:46:46 +02:00
Jaco Greeff
2c0fff2931
Single-click close for tips & motions (#3669)
* Single-click close for tips & motions

* Protect against non-close chains
2020-09-17 12:44:54 +02:00
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