basti
22a9786168
Add contribution basics
2019-05-23 09:46:09 +02:00
galfert
18be60da9b
Merge pull request #116 from 67P/bugfix/vetoed_in_type_graph
...
Don't include vetoed contributions in graph
2019-05-10 15:58:12 +02:00
basti
7083da367d
Remove vetoed contributions from confirmed list
2019-05-10 13:49:55 +02:00
basti
d8b1b3d777
Don't include vetoed contributions in graph
...
Currently, kredits from vetoed contributions are counted in the graph
data.
2019-05-10 13:40:58 +02:00
galfert
9386c30d09
Update toplist balance when contribution is vetoed
...
Co-Authored-By: skddc <sebastian@kip.pe >
2019-05-08 12:15:51 +02:00
basti
6638691c9f
Remove vetoed amounts from unconfirmed balances
2019-05-06 18:46:59 +02:00
basti
ef45d55521
Fix missing contributors in toplist
...
Adds contributors without unconfirmed contributions to the
kreditsByContributor collection.
fixes #114
2019-05-06 14:44:42 +01:00
basti
cf77f20d41
Merge branch 'master' into feature/111-unconfirmed_balances
2019-05-01 19:56:43 +01:00
basti
67ee2d9a74
Merge pull request #113 from 67P/feature/98-veto_unconfirmed_contributions
...
Veto contributions
2019-05-01 19:43:28 +01:00
basti
48e5ddbc02
Merge pull request #108 from 67P/feature/add_contributor
...
Fix/update adding contributors
2019-04-29 12:44:15 +01:00
basti
e1737392a7
Mark contributions as vetoed on incoming event
2019-04-28 15:26:26 +01:00
basti
00b7b380b9
Fix veto tx failing
...
Still have to set the gas limit for most functions in order for them to
work. :/
2019-04-28 15:06:28 +01:00
basti
9821c8b2ea
Veto contributions
2019-04-28 15:05:56 +01:00
basti
c6a37f7e94
Refactor and add new button styles
2019-04-28 14:42:14 +01:00
basti
f25c74c7e9
Add helper functions for confirmation status
2019-04-28 14:42:09 +01:00
basti
1c49d56b19
Fix whitespace for contributor stats on mobile
2019-04-28 12:21:18 +01:00
basti
109ffd2898
Fix contributor details view in toplist
2019-04-28 11:58:58 +01:00
basti
6c0cb1a29c
Add integration test for contributor list
...
And comment out the index controller one for now, as it's failing and
almost all code in the controller is framework DSL atm.
2019-04-27 20:53:36 +01:00
basti
d444b86ca8
Show unconfirmed kredits in toplist
...
And allow toggling between confirmed and unconfirmed
2019-04-27 19:59:24 +01:00
basti
185d7c58c2
Finish group-by util
...
Move function to util, add tests.
2019-04-27 18:41:26 +01:00
basti
283ec1d48a
Add kreditsByContributor collection
...
Lists contributors along with their confirmed, unconfirmed, and total
kredits amounts.
2019-04-27 17:35:05 +01:00
basti
f32a34a702
Improve code comment
2019-04-27 17:34:04 +01:00
basti
afa09f4b8f
Move computed collections to kredits service
...
They should be available from any place with access to the service.
2019-04-27 17:33:25 +01:00
bumi
2a7ec1073f
List 200 contribtuions per page
...
Kicking the can a bit further down the road...
Currently we do not have any pagination and we got already more
contributions than the default per page setting.
2019-04-25 23:56:18 +02:00
basti
25ead15014
Fix incorrect loading text
...
It's mostly waiting for IPFS, not Ethereum.
2019-04-25 19:22:47 +01:00
basti
85a9d1c73b
Show person's name when hovering their avatar
2019-04-25 19:22:29 +01:00
basti
247fc8785a
Link contributions to their main URL
2019-04-25 19:21:55 +01:00
basti
efd1b371f9
Make contribution lists much more dense
...
We have too many contributions for them to be multiple lines by default.
2019-04-25 19:09:20 +01:00
basti
3c73ddd443
Turn user avatars into a component
...
This allows us to add them anywhere in the app, and also to add more
features, like e.g. hover info boxes, links, and so on.
2019-04-25 19:08:22 +01:00
basti
29e9df97fb
Use Rinkeby explorer URL
2019-04-25 13:33:31 +01:00
basti
fa95376fda
WIP: Fix/update adding contributors
2019-04-25 13:24:36 +01:00
bumi
de937aceee
Shorter JS syntax
2019-04-24 09:48:24 +02:00
bumi
d1791cadfe
Display contribution balances not token balances
...
We want to display the contribution balances (kredits earned) of the
contributors not the token balances.
2019-04-19 18:16:02 +02:00
bumi
562a8d159b
Cleanup
2019-04-19 14:54:18 +02:00
bumi
6f4afaf84a
List only contrbutors with more than 0 kredits
...
This is a bit of a problem because we list integer values, so if
somebody has less than 1 Kredit than they would still show up. Not sure
what is the best to do here. - but this should be good enough for now.
2019-04-19 11:45:53 +02:00
bumi
2aae2a8f90
Fix kredits balance handling
...
Kredits are stored on the Token contract as uint256 / bignumbers with 18
decimal points. Just like Ether and required by the ERC20 standard.
So we need to work with bignumbers and format a bignumber value here.
2019-04-19 11:37:18 +02:00
bumi
da608a0012
Do not rely on web3 injection with new ethereum provider standard
...
when window.ethereum is available web3 is likely not available as the
browser uses the new provider standard.
So we either user the window.ethereum as provider or the
web3.currentProvider as legacy option.
2019-04-09 22:37:48 +02:00
basti
5db628311e
Fix confirmed/unconfirmed filter
2019-04-09 22:15:09 +02:00
basti
aa28a14d04
Switch to contribution token instead of proposals
...
No vetos yet, and only for collections (not creation).
closes #20
2019-04-09 12:55:44 +02:00
basti
f05b0bbd8b
Remove Bourbon and Neat
2019-04-09 10:09:29 +02:00
bumi
bff611f866
Merge pull request #94 from 67P/refactor/healthcheck-1
...
Add Kredits preflight checks
2019-04-05 13:01:02 +00:00
bumi
f0b75d96db
No bignumber anymore
...
as numbers are uint32 in the contract so no bignumber in JS anymore
2019-04-05 12:31:21 +02:00
basti
1f8fa367a5
Support new Metamask/Web3 privacy mode
...
closes #87
2019-04-04 12:13:39 +02:00
bumi
137f9ae8bf
Add Kredits preflight checks
...
This should identify potential config issues and print a usefull error
message. e.g. if ipfs is not available.
2019-04-03 20:06:40 +02:00
basti
e44a8efa4a
Merge pull request #93 from 67P/fix/contributor-list-on-proposals
...
Remove default contributors value in propsal component
2019-04-03 19:02:05 +02:00
galfert
3dbcba5eb2
Add empty array as default for contributors list
2019-04-03 14:25:59 +02:00
bumi
bd2a640be0
Remove default contributors value in propsal component
...
It seems that this somehow prevents/overwrites the contributors which
actually should be loaded in the controller.
2019-04-03 13:46:49 +02:00
bumi
889f2c05fc
Fix bignumber computed property
...
The ethers.js bignumber API changed in v4.x
2019-04-03 13:43:57 +02:00
basti
32c85ea56b
Merge pull request #90 from 67P/update-kredits-contracts
...
Update kredits-contracts and ethers.js
2019-04-03 11:02:15 +02:00
galfert
88be3525b5
Fix highlighting of current user in contributor list
...
Fixes #72
Introduces a helper to determine if a contributor is the current user.
2019-04-03 01:35:08 +02:00