Commit Graph

509 Commits

Author SHA1 Message Date
basti 4c2d95f8f1 Merge pull request #115 from 67P/bugfix/114-contributor_list
Fix contributor list, add kredits service tests
2019-05-08 12:35:00 +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 d2bb70e8a1 Add failing test for vetoed amounts in toplist
This specifies the correct behaviour for unconfirmed kredits balances,
which is that amounts from vetoed contributions shouldn't be added at
all.
2019-05-06 18:32:00 +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 f86c53de89 Add failing test for missing contributors in toplist 2019-05-06 14:23:47 +01:00
basti 82b275caaa Add some unit tests for kredits service 2019-05-06 14:21:37 +01:00
basti e524e5558d Add more test fixtures 2019-05-06 14:18:02 +01:00
basti 6593005566 Merge pull request #112 from 67P/feature/111-unconfirmed_balances
Show unconfirmed balances in toplist
2019-05-01 20:30:35 +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 7d5b93a62c Start basic fixtures 2019-04-27 20:54:17 +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
basti 24a3d8beb4 Merge pull request #110 from 67P/chore/more-contributions-per-page
List 200 contributions per page
2019-04-26 18:59:51 +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
bumi d02fb4716a Merge pull request #109 from 67P/feature/contribution_lists
Improve contribution lists
2019-04-25 19:45:50 +00:00
basti 49bfad51b6 Fix failing test 2019-04-25 19:28:10 +01: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
basti 028391386b Merge pull request #107 from 67P/feature/use-contribution-balances
Display contribution balances not token balances
2019-04-24 09:57:25 +01:00
bumi de937aceee Shorter JS syntax 2019-04-24 09:48:24 +02:00
basti 2f4807cdda Update kredits-contracts 2019-04-23 14:08:01 +01: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 83fd9a94b0 Merge pull request #104 from 67P/feature/handle-kredits-balances
Fix kredits balance handling
2019-04-19 13:44:35 +00:00
bumi 562a8d159b Cleanup 2019-04-19 14:54:18 +02:00
basti 1000dd12bc Merge pull request #105 from 67P/chore/package_cleanup
Clean up package.json a bit
2019-04-19 11:09:32 +01: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
basti 5de33a18f5 Clean up package.json a bit
* Remove node 6 from engines
* Remove contributors array, because we don't maintain it automatically
  and it was already out of date
2019-04-19 10:45:30 +01: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 6dcbd1efbf Default to open.aragonpm.eth in production. 2019-04-18 11:23:24 +02:00
basti a2ddb2313d Merge pull request #103 from 67P/chore/weltempfaenger-release
Update kredits-contracts
2019-04-17 10:54:34 +01:00
basti 6de7f64d3d Update kosmos-schemas 2019-04-17 10:45:38 +01:00