MiZiet
708aa6cf95
Add tooltips for bounty status ( #4450 )
...
* Add BountyStatusDisplay component
* Implement help tooltip in BountyStatusDisplay
* Add BountyStatusDisplay translations
* Add styling to BountyStatusDisplay
* Update translations
* Add missing types
* Add missing translation
* Update local imports
* Update local imports
* Rename BountyStatusDisplay to BountyStatusView
* Rewrite bounty status helpers
* Add review suggestion
* Change useMemo to useRef in BountyStatusView
2021-01-20 15:33:23 +01:00
MiZiet
ba15fa8fed
Add extend bounty action ( #4445 )
...
* [WIP] Add ExtendBountyExpiry action
* Add Extend bounty expiry action
* use renderOneBounty function in curator tests
* [WIP] Add happy path test
* [WIP] Happy path test
* Add happy path test
* Finish test
* Update locales
* Improve extend bounty expiry test
* Cleanup bounty indexes
* Change locales
* Remove AccountId from ExtendBountyExpiryAction
* Remove unused properties in bounty tests
* Apply review suggestions
2021-01-18 20:58:26 +01:00
Ewa Kowalska
84bc0b18ee
Sort bounties in descending order ( #4421 )
2021-01-15 11:44:42 +01:00
MiZiet
9084d42564
Add propose curator action to Bounties ( #4417 )
2021-01-15 09:40:01 +01:00
Ewa Kowalska
4e1fe4b38d
Render extended statuses when voting on bounty ( #4396 )
2021-01-14 17:46:25 +01:00
Krzysztof Jelski
d131d62665
Add a fast UI test for bounties. ( #4302 )
2021-01-11 10:15:01 +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
MiZiet
75023bb4f3
Add bounties summary ( #4336 )
...
* Add bounty summary INIT
* Add timed displays
* WIP
* Add locales
* Add chain colors and progress display
* Extract useTreasury hook
* Pull spendPeriod into useTreasury
* Apply review suggestions
* Apply review suggestion
* Add check if activeBounties exists
* Add dark theme to bounty summary
* Add border-radius to HighlightedSection
* Apply review suggestions
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2021-01-09 12:46:52 +01:00
Ewa Kowalska
967d10b6cb
Initiate voting from bounty list - accept / reject bounty ( #4320 )
...
* Add initiate voting functionality
* Use bounty proposals from bounty derive
* Apply review suggestions
* Apply review suggestions
* Use useRef for approveBounty and closeBounty extrinsics
2021-01-06 14:24:16 +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
Krzysztof Jelski
21f0eb5a06
UI tests for bounties ( #4284 )
...
* v test
* Cleanup test. Add pull policy.
* Find new bounty on the list. Extract test support.
* Working no-substrate test
* Change imports to local
* Add a test for validation
* Extract local var
* Update package versions
* Read the right const (dataDepositPerByte)
* Update yarn.lock
* Revert fast test changes.
* Update yarn.lock
* Update yarn.lock
2020-12-30 11:46:14 +01:00
Ewa Kowalska
6d0a3f9484
Use index from BountyDerive ( #4300 )
2020-12-30 11:14:49 +01:00
Ewa Kowalska
8490d76bc0
Accept and reject curator from bounty list ( #4295 )
...
* Add Accept Curator functionality to bounty list
* Extract Bounties Action Button
* Add unassign curator functionality
* Change curator reject icon and button labels
* Apply review suggestions
* Revert "Apply review suggestions"
This reverts commit 93d637bb3d4593555ce4cc6d5a0654263eb7b4d2.
* Apply review suggestions
* Apply requested changes
2020-12-29 20:14:38 +01:00
MiZiet
6421bd360c
Use derive call in Bounty's useCounter ( #4290 )
...
* Use derive call in Bounty's useCounter
* Remove derive.treasury from useCall
2020-12-29 16:19:11 +01:00
MiZiet
fc86d6acbb
Add validation for bounty proposal ( #4265 )
...
* Add validation for bounty proposal
* Add bounty title max length
* Change title validation
* Improve typing and naming in bounty validation
* Change locales
* Wrap validation into useEffect
* Split validation
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
2020-12-24 11:20:02 +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
Ewa Kowalska
cd53cf1623
Claim payout from bounty list ( #4269 )
...
* Add Claim functionality to bounty list
* Apply review suggestions
* Apply review suggestions
* Add tests for isClaimable
* Apply review suggestions
2020-12-24 09:52:09 +01:00
Ewa Kowalska
70f72cfe73
Update help text ( #4261 )
...
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
2020-12-22 13:33:52 +01:00
Ewa Kowalska
98cec17f6d
Add second column to bounty add modal ( #4259 )
2020-12-21 19:29:55 +01:00
Jaco Greeff
317c113c9a
Adjust bounties/tips for latest Substrate ( #4248 )
...
* Adjust bounties/tips for latest Substrate
* API fixes
* Adjust tip location detection
* Apply suggestions from code review
2020-12-20 12:45:50 +01:00
MiZiet
9557986457
Add create bounty modal ( #4231 )
...
* Add new bounty modal with inputs
* WIP - add bounty bond to modal
* Add bounty bond
* Remove "Add Bounty" from locales
* useCallback for input change handler
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
2020-12-18 18:32:29 +01:00
Ewa Kowalska
4117180c66
Handle pending payout status in bounty ( #4223 )
...
* Handle PendingPayout bounty status
* Apply review changes
2020-12-16 13:56:17 +01:00
MiZiet
aa3bb6f1a5
Use bounty derive ( #4193 )
...
* Use derive bounties
* Remove unused description type
* Undo the downgrade of api version
* Restore yarn.lock
Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
2020-12-11 13:34:04 +01:00
Jaco Greeff
c1c87d2aeb
Internal deps bumps ( #4194 )
...
* Internal deps bumps
* acala
2020-12-11 12:47:59 +01:00
MiZiet
50ec421529
Display bounties counter in menu ( #4189 )
...
* Display bounties counter in menu
* Remove account check from bounties useCounter
2020-12-10 16:47:14 +01:00
MiZiet
f307ccaba9
Improve bounties display ( #4188 )
2020-12-10 13:05:21 +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
Krzysztof Jelski
34c2e8c00c
Add simple bounty list ( #4137 )
...
* Add simple bounty list
* Add new lines after header
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-12-07 12:16:46 +01:00