Commit Graph

359 Commits

Author SHA1 Message Date
Nisheeth Barthwal
6ee86ae57e
display discord identity in profile sidebar (#9185)
* display discord identity in profile sidebar

* use common discord key
2023-03-15 16:26:35 +02:00
Jaco
c6f0c6035a
Upgrade dropzone component (#9169)
* Upgrade dropzone component

* Revert as any removal
2023-03-14 14:27:31 +02:00
Jaco
2e5bd0931c
Filter treasury.UpdatedInactive events (#9159) 2023-03-12 19:35:15 +02:00
Jaco
0cdc49c4be
Adjust max batch size calc (w/ proofSize & older) (#8920)
* Adjust max batch size calc (w/ proofSize & older)

* Cleanups

* Adjust fill ratio

* Adjust, only check refTime

* Comments

* Clarify ratio further

* Extract getKnown

* Split size calc into function
2023-03-12 19:21:50 +02:00
Jaco
b82cae49ff
Align tsconfig to allow moduleResolution: nodenext (#9152)
* Align tsconfig to allow moduleResolution: nodenext

* Fix bounty

* Additional from tsc --noEmit check
2023-03-12 10:53:21 +02:00
Jaco
eacf028ba6
Use .js imports in src (#9132)
* Use .js imports in src

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Add WP extension aliases

* Bump dev

* Additional

* Additional

* Adjust extensionAlias order
2023-03-09 12:11:03 +02:00
Jaco
d76587c976
Adjust address conversion (32 can convert to H160) (#8991) 2023-02-09 15:38:40 +02:00
Jaco
3fc3b1edbf
Defer keyring init until chain type is available (#8980)
* Defer keyring init until chain type is available

* Ensure optionsSubject operation

* Attempt to fix mocked hook

* Adjust bounties spec context order

* Fix is* flags on mock
2023-02-08 18:36:04 +02:00
Jaco
7d24f50c38
Bump deps (incl. TS) (#8931)
* Bump deps (incl. TS)

* Adjust ESM packages for Jest

* Yet more Jest hacks

* Make horrible jest config slightly prettier

* Unbump electron

* Fix external package deps
2023-02-03 15:01:45 +02:00
Jaco
0de8a8d2ff
Add waiting list to next-gen staking (#8896)
* Add waiting list to next-gen staking

* Extract use* types

* Adjust useHeartbeat checks

* Adjust with useNextTick

* Adjust for useNextTick

* Points anim via ref

* Adjust
2023-01-31 11:56:37 +02:00
Jaco
d5454f96e6
Bump deps (#8891)
* Bump deps

* Cater for new Weight alias defaults
2023-01-30 12:43:50 +02:00
Jaco
7d1e037fdb
Add missing inline preimage conditions (#8882) 2023-01-25 13:19:59 +02:00
Jaco
9502e3f3b4
Adjust useMemoValue (straight ref compares) (#8858) 2023-01-21 14:19:52 +02:00
Jaco
7b685cec66
Add useTimer hook (& use in ApiStatsCtx) (#8857)
* Add useTimer hook (& use in ApiStatsCtx)

* Adjust useBounce (w/ timerId var)

* Adjust getStats & mergeStats
2023-01-21 11:28:42 +02:00
Jaco
43d4ba2a05
Fix API stats graph (#8856) 2023-01-21 10:26:37 +02:00
Jaco
d12280cb1b
Make usePreimage deal with inline calls (#8843)
* Make usePreimage deal with inline calls

* Ongoing adjustment for hash extraction
2023-01-21 09:18:52 +02:00
Jaco
86eba636a5
Adjust/optimize table column rendering (#8839)
* Adjust/optimize table column rendering

* Split helper

* Adjust

* Remove ddebug helper logs

* Don't render children on empty array

* Pass isEmpty to Body

* Account hooks ordering
2023-01-19 16:38:34 +02:00
Jaco
652015cbdb
De-magic useWindowColumns (#8838) 2023-01-17 21:14:58 +02:00
Jaco
6ecccdc031
Additional alignment of staking UI layout (#8828)
* Additional alignment of staking UI layout

* Allow for validator tagging & sorting

* Adjust flag injection (re-create object)

* currentEra for staking queries

* Pass SessionInfo structure

* Display badges

* Adjust flags

* Adjust status media

* Badge background adjustments

* Don't do additional table split

* Adjust table split
2023-01-17 11:30:34 +02:00
Jaco
a4c9706c29
Return nay flag from votes (#8805)
* Return nay flag from votes

* Add comments around calcs
2023-01-14 22:42:43 +02:00
Jaco
8edbedd5a5
Move usePreimage to react-hooks (#8796)
* Move usePreimage to react-hooks

* Adjust import

* Additional
2023-01-14 12:45:47 +02:00
Jaco
32a25009f5
Cleanup file headers (some mis-named locations) (#8789)
* Cleanup file headers (some mis-named locations)

* Update packages/page-council/src/Motions/Motion.tsx
2023-01-14 08:43:40 +02:00
Jaco
b2e8b6444a
Params support for non-native AccountId{20, 32} (#8752) 2023-01-10 19:54:52 +02:00
Jaco
ba86c6a111
Pull in useMemoValue (& basic use) (#8750) 2023-01-10 14:09:16 +02:00
Jaco
14fb35975f
Adjust for shared default show/check address (#8747) 2023-01-10 12:56:41 +02:00
Jaco
37f44367b4
Rework context usage (& move most to react-hooks) (#8731)
* Rework context usage (& move most to react-hooks)

* Move use{Accounts, Addresses} to use contexts

* Cleanups

* Global alignment renames

* Combine keyring subjects into KeyringCtx

* Cleanups to contexts

* Small adjustment to window size usage

* Popup test via data-testid

* Fix Bounties tests

* Move getStats to correct location

* Adjust ApiStats

* Do add unsubs (although unneeded)
2023-01-09 12:56:38 +02:00
Jaco
8fbcbf8ded
Adjust Popup theme imports (#8668)
* Adjust Popup theme imports

* Add useTheme to dedupe

* Table head opacity

* Adjust header opacity

* Mock for useTheme

* hail-mary adjustment

* Remove esm pkg dupes

* Popup theme provider

* Remove accounts type sorting

* Remove type sorting tests

* Adjust Accounts header inputs

* Balance summary media

* Rebuild i18n

* Adjust styles
2023-01-01 16:25:30 +02:00
Jaco
4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00
Jaco
6bb0eae625
Display time delays in referenda tooltip headers (#8575)
* Display time delays in referenda tooltip headers

* Adjust with estimated actual time
2022-12-19 09:54:02 +02:00
Jaco
24a136b320
Bump deps (w/ deprecations) (#8532) 2022-12-14 10:07:49 +02:00
Jaco
6c98feeb74
Add missing 1 offset to slash retrieval (#8507) 2022-12-09 08:01:29 +02:00
Jaco
e98c91c990
Adjust events & maps, removing unexpected firing (#8489) 2022-12-06 09:22:02 +02:00
Jaco
7cd2b81583
Display individual ranked votes (#8480)
* Display individual ranked votes

* Adjust
2022-12-05 14:13:12 +02:00
Jaco
d155cbaabd
User tx.hasPaymentInfo as appropriate (#8345) 2022-11-16 18:52:40 +02:00
Jaco
98ffd30c77
Ensure staking slashes checks (#8350) 2022-11-15 13:45:36 +02:00
Jaco
8482820469
Don't rely on earliestUnappliedSlash availability (#8209)
* Don't rely on earliestUnappliedSlash availability

* Update packages/react-hooks/src/useAvailableSlashes.ts

* Update packages/react-hooks/src/useAvailableSlashes.ts

* Format with correct offsets

* text
2022-11-15 11:30:14 +02:00
Jaco
38e228083e
Adjust extrinsics using v2/v1 weights (#8193)
* Adjust for v2 weights

* readability

* Remove unused param

* Renaming system events

* useWeight adjustment

* Remove (now) misplaced comment

* Adjust tests
2022-10-04 13:14:56 +03:00
Jaco
53faefd1a8
Adjust useWeights results (prepare for conv.) (#8192) 2022-10-03 10:46:54 +03:00
Jaco
26d698db91
Adjust hooks for V2 weight usage (#8191)
* Adjust for V2 weight usage

* contracts weight conversion

* Explorer with weight conversion

* Adjust
2022-10-03 09:44:50 +03:00
Jaco
f2e65785df
Link inflation calculations source (#8182)
* Link inflation calculations

* Update packages/react-hooks/src/useInflation.ts
2022-09-29 14:17:14 +03:00
Jaco
e036c199c0
Replace setTimeout(..., 0) with nextTick (#7997)
* Replace setTimeout(..., 0) with nextTick

* Additional
2022-08-19 13:03:06 +03:00
Jaco
08ea57ee24
Check for api.call.transactionPaymentApi for fees (#7996) 2022-08-19 12:40:45 +03:00
Jaco
7659cadc64
Bump API (#7965) 2022-08-06 16:42:53 +03:00
Jaco
ed5d253e04
Remove typesChain overrides (#7956) 2022-08-03 11:38:15 +03:00
Jaco
5b14f26452
Add summaries for new pages (#7949)
* Add summaries for new pages

* Detect voting type

* Add member summaries

* linting

* Rebuild i18n
2022-08-01 10:52:23 +03:00
Jaco
5108a7590d
Preimage availability (#7941)
* Preimage availability

* Primage submission

* Display decoded proposal

* Renames

* yarn.lock
2022-07-30 16:37:23 +03:00
Jaco
2c69be6ebc
Introduce alliance motions (#7925)
* Introduce alliance motions

* Quick-and-dirty motion import

* Adjust motion submission with filtering

* Adjust hooks

* Thresholds

* Align tech comm threshold

* Adjust threshold calcs

* Display announcements

* Adjust incomplete

* url calc

* Display encoded ipfsCid

* useIpfsLink with rule link

* Adjust tags

* Cleanups

* Adjust for prime type
2022-07-29 12:08:00 +03:00
Jaco
008f821d5a
Retrieve prime as part of collective members (#7926)
* Retrieve prime as part of collective members

* Adjust
2022-07-28 14:44:53 +03:00
Jaco
ce63011ee4
Introduce alliance motions (#7924) 2022-07-28 11:44:08 +03:00
Jaco
c55a15dc53
Extract Latency/API stats reusable chart (#7679)
* Extract Latency/API stats reusable chart

* Adjust
2022-06-02 11:54:47 +03:00
Jaco
471e62fc3f
Expose API stats tab (#7678) 2022-06-02 08:29:11 +03:00
Jaco
7bf9cc5ad4
Bump deps (#7668) 2022-06-01 11:25:50 +03:00
Jaco
19f94a7b4c
Bump API (#7666) 2022-06-01 07:34:01 +03:00
Jaco
3a08d2d98a
Split apiSystem connection (#7662)
* Split apiSystem connection

* Test init

* Remove unused

* typo
2022-05-31 09:43:02 +03:00
Jaco
a67d98836b
Remove unused useWeightFee (#7581) 2022-05-15 12:56:36 +03:00
Jaco
47913892cd
Expansion to pools logic (#7384)
* Expansion to pools logic

* Add filtering

* Pass through own pools

* Allow pool nominate tx

* Start with account actions

* Asho pool nominees

* Nomination operational

* Adjust table rows

* BondExtra for pools

* use availableBalance in calcs (w/ existential)

* Re-use isAmountError check

* Pass through actual pool info

* s/id/poolId/

* Display payout stashes

* Display points balance

* OCD cleanups

* claimPayout

* Calculate pool claimable

* Unbond

* Fix Unbond max

* Display remaining witldrawal eras

* Stashed/Pooled selection

* Withdraw unbonded

* StakingRedeemable display

* Renames as per metadata

* Additional

* s/pool/pools/

* PoolInfo display hints

* Adjust usePoolInfo hook

* Ordering adjustments

* Additional dedupes

* Combine queries

* Combinations & renames

* Flatten transform

* Non-existent reward

* bnMax sub

* lint fixes

* Bump API
2022-04-26 18:21:38 +03:00
Jaco
0ba53ad55e
Adjust error tracking for useCall/useCallMulti (#7368) 2022-04-13 19:22:57 +03:00
Jaco
a983a07261
Make active/waiting click "snappy" (#7361) 2022-04-12 11:09:53 +03:00
Jaco
0e54bb3643
Adjust options for useTxBatch (#7311) 2022-04-06 08:21:07 +03:00
Jaco
7f0a05ca67
Bump dev (#7212)
* Bump dev

* linting

* s/function//
2022-03-23 08:03:11 +02:00
Jaco
2e0632777f
Perform paraApi disconnect on provider (#7175)
* Perform paraApi disconnect on provider

* Adjust
2022-03-17 11:43:17 +02:00
Jaco
832ae3a5ff
Align unique id trigger to assets (#7174) 2022-03-17 08:34:29 +02:00
Jaco
dec2af80f0
useEventChanges for AssetId updates (#7131)
* useEventChanges for AssetId updates

* Update packages/react-hooks/src/useEventChanges.ts
2022-03-15 17:30:22 +02:00
Jegor Sidorenko
14c0cb6f7a
NFTs page (#7144)
* NFTs page

* Chore

* Fix no items condition

* Extract ipfs data fetching logic into a separate hook

* Update deps

* @polkadot/app-assets -> @polkadot/app-nfts in headers

* Update packages/page-nfts/src/AccountItems/Item.tsx

Co-authored-by: Jaco <jacogr@gmail.com>

* Update packages/page-nfts/src/translate.ts

Co-authored-by: Jaco <jacogr@gmail.com>

* Remove redundant component

* Add TextEncoder/TextDecoder shims

* Update version

Co-authored-by: Jaco <jacogr@gmail.com>
2022-03-15 15:41:08 +02:00
Jaco
9e5fa6a353
Add blockInterval hook (#7165) 2022-03-15 11:30:41 +02:00
Jaco
a6d46a05ce
Show settings for Ledger (disabled) on non-Chromium (#7156) 2022-03-14 09:09:14 +02:00
Jaco
47767ea424
Align entry retrieval with key retrieval (#7096) 2022-03-03 10:19:33 +02:00
Jaco
01d78c33af
Adjust useMapKeys trigger params (#7091) 2022-03-02 20:04:32 +02:00
Jaco
6fe5f8996b
Don't connect to unreachable/disabled para endpoints (#6977)
* Don't connect to unreachable/disabled para endpoints

* Only check on API creation

* Address TODO
2022-02-13 15:56:53 +02:00
Jaco
4cc31fc856
Ensure InputAddress is de-deuped prior to display (#6934) 2022-02-07 15:27:36 +02:00
Jaco
c41139403e
Adjust treasury summary (only isApproved bounties) (#6898)
* Adjust tresury summary (only isApproved bounties)

* Update deps

* Adjust Ledger imports

* Adjust...
2022-01-29 12:08:31 +02:00
Jaco
1334a2de24
Ignore bounty isProposed in treasury calcs (#6885) 2022-01-26 13:05:59 +02:00
Jaco
8027568a3f
Extend treasury display (w/ bounties/approved) (#6882)
* Extend treasury display (w/ bounties/approved)

* Adjust
2022-01-26 11:24:49 +02:00
Jaco
0d74428624
Relay accounts on common-good & system paras (#6740)
* Relay accounts on common-good & system paras

* Revert useEndpoint

* Add relay values to current

* Ordering
2022-01-18 12:15:19 +02:00
Jaco
5174f5ffbe
Bump API & common (#6797)
* Bump API & common

* BN imports

* Root imports

* Bump
2022-01-07 17:37:36 +02:00
Jaco
b1a04a5d46
Bump dev (w/ header fixes) (#6772) 2022-01-03 17:37:55 +02:00
Jaco
51835328db
2022 (#6764) 2022-01-01 09:30:15 +02:00
Jaco
a16d60076d
Use relay identity for common-good & system chains (#6758)
* Use relay identity for common-good & system chains

* Adjust

* Align useCallMulti
2021-12-30 17:38:26 +02:00
Jaco
05cee230bf
Expose apiEndpoint details on Api context (#6757)
* Expose apiEndpoint details on Api context

* No need to pass through apiEndpoint (yet)

* Lint
2021-12-30 16:45:59 +02:00
Jaco
a7a48c1140
Extract derive.accounts.* into own hooks (#6755)
* Extract derive.accounts.* into own hooks

* useAccountApi as applicable

* Rename step 1

* useSystemApi
2021-12-30 10:02:41 +02:00
1devNdogs
b7baf1b47f
Add Subspace expected block time (#6665)
* extract expectedBlockTime for non babe chains

* Apply suggested changes on block time
2021-12-11 12:11:05 +02:00
Jaco
a1523209d9
No derivation on Ethereum (not implemented) (#6591) 2021-11-22 11:22:31 +02:00
Jaco
0a26f52103
Bump @polkadot deps (#6514)
* Bump @polkadot deps

* Bumps
2021-11-07 12:09:50 +02:00
Jaco
b957353d22
Hooks (most, no generic) via createNamedHook (#6451) 2021-10-30 17:30:43 +03:00
Jaco
68a423748b
Adjust createNamedHook (#6449)
* Adjust createNamedHook

* All (most) in react-hooks now named

* Add useValidators hook

* linting?
2021-10-30 13:36:05 +03:00
Jaco
094a94449f
Adjust error stack formatting (#6448)
* Adjust error stack formatting

* linting
2021-10-30 11:30:11 +03:00
Jaco
60a5334ff2
Add error stakcs to useCall & ErrorBoundary (#6447) 2021-10-30 10:41:24 +03:00
Jaco
f512c1a539
Bump de & api (w/ __Unused on enum) (#6326)
* Bump de & api (w/ __Unused on enum)

* Linting fixes

* tsc adjustments

* Api bump
2021-10-17 16:37:57 +03:00
Ewa Kowalska
03a58ad8e7
Style badges in accounts list (#6208) 2021-10-06 11:48:47 +02:00
MiZiet
053e0efca2
Split registrars display (#6157)
* Add subs modal

* Add tests

* Add Translations

* Improve closing modal

* Improve tests

* Improve styles

* Style balances & identity

* Optimize imports

* Improve styles

* Set greater width to balance section

* Rename subs modal toggle

* Change 'amount' to 'count' in test name

* Set make modal header fixed while content is scrollable

* Style multisig

* Update multisig styles

* Capitalize headers

* Move sidebar tests to Sidebar.spec.tsx

* Remove duplications in tests

* Add UserIcon component

* Revert subs modal changes and add scrollable section in Sidebar

* Remove unused styles

* Use accountsPage clearAccount method

* Wrap subs into Expander

* Add useSubidentities hook

* Adjust api mock in tests

* WIP - split judgements

* Display judgements

* Handle no judgements case

* [WIP] Add popup test

* Extract JudgmentTag component

* Add popup test

* Refactor tests and remove pointer from no judgements tag

* Extract JudgementTag test class

* Close popup on scroll

* Remove old section

* Clean registration

* Clean up identity in useAccountInfo and mock in Page

* Remove fragment tag

* Fix imports

* Move SortedJudgements to /types

* Move Registrar interface to types

* Refactor clickRegistrar fcn

* Move hasAccount check to isRegistrar

* Add useJudgements hook

* Rename and move getJudgementColor to utils

* Fix import and casting in tests

* Sort imports

* Add review fixes

* Fix tests

Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-29 10:45:34 +02:00
MiZiet
42ef182879
Style identity and balance sections in sidebar (#6096)
* Add subs modal

* Add tests

* Add Translations

* Improve closing modal

* Improve tests

* Improve styles

* Style balances & identity

* Optimize imports

* Improve styles

* Set greater width to balance section

* Rename subs modal toggle

* Change 'amount' to 'count' in test name

* Set make modal header fixed while content is scrollable

* Style multisig

* Update multisig styles

* Capitalize headers

* Move sidebar tests to Sidebar.spec.tsx

* Remove duplications in tests

* Add UserIcon component

* Revert subs modal changes and add scrollable section in Sidebar

* Remove unused styles

* Use accountsPage clearAccount method

* Wrap subs into Expander

* Add useSubidentities hook

* Adjust api mock in tests

* WIP - split judgements

* Revert mistaken commit

Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-09-19 08:49:23 +02:00
Jaco
73e3a32aba
Support for v14 metadata (#5927)
* Support for v14 metadata

* sessionIds as map or array

* Cleanups

* Some storage page adjustments

* Arg mapping, no filterOrigin

* Use base64Encode in metadata

* Cleanups

* Storage cleanups

* Additional

* Use API types

* typo

* Storage historic compat

* Const input type

* Bumps

* Bumps

* Bumps

* Force salt to string
2021-09-18 08:18:51 +02:00
Ewa Kowalska
ad8226a5c3
Account sidebar - single button for editing name and tags (#6049)
* WIP - merge edition of account name and tags

* [WIP] - tests

* Apply test improvements

* Improve tests

* Improve tests and use useCallback

* WIP - add cancel button

* Outside click

* Add more tests

* Apply styling

* Add opacity on not editable elements

* Remove unnecessary code and fix type of sidebar ref

* Disable eslint rule

* Place edit button within account menu buttons

* Adjust test setup

* Ato-lint fixes

* Update styles

* Apply review suggestions

* Remove unused styles and change type of sidebar ref

* Remove onCancel from useAccountInfo hook

* Fix issue with edit button

* Apply review suggestions, remove tests

* Adjust tests

* Simplify tests

* Apply lint fixes

* Change layout of buttons

Co-authored-by: MiZiet <michalzietalak@o2.pl>
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-09-09 19:40:09 +02:00
fixxxedpoint
8ef4ed18dd
Changed THRESHOLD in useBlockTime so chains that uses values smaller than 1s for the MinimumPeriod (pallet_timestamp) parameter are displayed correctly (#6045) 2021-09-01 13:25:35 +02:00
MiZiet
b6c827a908
Remove sui popup (#5924)
* Add custom popup

* Render popup window with react portal

* Handle scroll

* Handle pointer scroll

* Refactor types

* Add useOutsideClick

* Restore button styles

* Update types

* Add tests

* Set multiple refs

* Cleanup

* Cleanup

* Move offset const to the utils

* Add useCallback in useScroll

* Remove empty lines in useElementPosition

* Change styled components to functional

* Make sure popup window stays in view

* Highlight trigger button when popup is open

* Add uesPopupWindow hook

* Make triangle larger

* Use full trigger height

* Apply new lint rules

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-08-31 09:35:33 +02:00
Vitaliy
c9aef5cfe9
Add summary bar for accounts view (#5876)
* Show basic balance info

* Show bonded summary

* Show redeemable summary

* Show unbonding summary

* Adopt linter suggestions

* Hide cards with zero balance

* Apply simplifications

Co-authored-by: Jaco <jacogr@gmail.com>

* Remove dead code

* Simplify balance==undefined case

* Add summary bar tests (#5890)

* Add tests for summary bar

* Improve test case name

Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>

* Factor empty render into a beforeEach block

* Improve name of helper variable

Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>

* Construct correct instance for StakingLedger.active

* Override only the relevant parts in each test case

* Simplify test cases

Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
Co-authored-by: Krzysztof Jelski <kjelski@gmail.com>
2021-08-18 11:26:12 +02:00
Jaco
e267f07639
Discard invalid configuration minimumPeriod values (#5913)
* Discard invalid configuration minimumPeriod values

* Update packages/react-hooks/src/useBlockTime.ts
2021-08-03 08:46:33 +02:00
Marcin Wachulski
809520ddc0
Add app-accounts testing support (#5872) 2021-07-28 11:50:06 +02:00
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