Commit Graph

79 Commits

Author SHA1 Message Date
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
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
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
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
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
galfert 1fb20b1d08 Fix linting errors 2019-03-27 18:19:25 +01:00
galfert bfa0b350ac Fix template linting errors 2019-03-27 18:19:10 +01:00
galfert 487013f301 Run codemods 2019-03-26 23:07:02 +01:00
basti e43706e2a6 Remove obsolete title from proposal list items 2018-07-14 17:36:45 +02:00
basti 2befc91d90 Add data from proposals to contribution chart 2018-07-14 17:35:06 +02:00
basti 7a35f5177c Add charts.js plugin, basic chart component 2018-07-14 16:36:23 +02:00
basti c074ccf460 Improve all the things 2018-06-17 16:15:02 +02:00
basti 5436469128 Don't show vote count for confirmed contributions 2018-06-17 15:32:08 +02:00
basti 32714efeb9 Improve layout a bit.
WIP, because this is not ideal. But now it's readable at least.
2018-06-16 17:12:53 +02:00
basti cf777571dc Move contribution info from title to actual content 2018-06-16 16:37:39 +02:00
fsmanuel 7083d2369d Fix eslint 2018-04-21 11:20:47 +02:00
fsmanuel 75650c19ab Cleanup kredits service 2018-04-21 11:05:02 +02:00
basti a4088e7acf Merge branch 'master' into naming-conventions 2018-04-17 12:55:20 +02:00
bumi f0f82a96fb Adjust for latest naming conventions
expept the renaming of ipfsHash to hashDigest all are already reflected
in the contracts
2018-04-17 11:43:44 +02:00
basti c0b5c36115 Don't inject kredits service in models 2018-04-16 19:23:28 +02:00
basti ba3c707da3 Fix ESLint errors 2018-04-16 19:14:37 +02:00
basti b09f19f399 Update Ember to 3.1 2018-04-16 18:11:52 +02:00
bumi e31ff492d5 merge master 2018-04-15 19:08:26 +02:00
bumi 8aa941e704 Rename recipientId to contributorId in proposals 2018-04-15 19:02:35 +02:00
bumi 399ee27af9 Revert "Adjust for new naming conventions" 2018-04-15 16:35:31 +00:00
bumi 7b5cea3613 Adjust for new naming conventions 2018-04-10 18:46:54 +02:00
bumi b9fa0e2d60 typo 2018-04-09 14:58:25 +02:00
fsmanuel 28f7466595 Cleanup controller, templates and service 2018-04-08 14:06:16 +02:00
fsmanuel cc7c47cbab Refactor proposal form 2018-04-08 02:01:02 +02:00
fsmanuel 21f187cac2 Replace missed profileHash with ipfsHash 2018-04-08 00:44:25 +02:00
fsmanuel 939baec1a8 Add alert message after saved 2018-04-07 17:22:33 +00:00
fsmanuel 8f841522a3 Refactor add-contributor component to DDAU 2018-04-07 17:22:33 +00:00
bumi 6dafc26deb Refactor web3 initialization
This changes how we wait for web3 and accounts to be available and
renames web3Provider to ethProvider as we could be able to swap the
different providers (ethers.js vs. web3)
2018-04-04 13:56:41 +02:00
bumi 5d6b4a5255 fix linting errors 2018-04-03 19:19:11 +02:00
bumi 3f0b1ccbcd Use ethers.js instead of the old web3
the web3 we are using is old and everything will change with web3 1.0
which is currently in beta for ages.
ethers.js seems to be a bit more lightweight and implements pretty much
the same API so let's give it a try.
2018-04-03 18:35:29 +02:00
fsmanuel 73d7ed52dd Refactor contributor 2018-04-02 19:08:29 +02:00
fsmanuel 6a31b0d579 Rename contributor.kredits to .balance 2018-04-02 19:07:42 +02:00
basti 72cf4b495e Adjust for new contract wrapper (WIP) 2017-08-12 13:59:18 +02:00
basti 918ae5b2d1 Fix property dep 2017-06-08 17:06:19 +02:00
basti 6263254a1b Specify radix parameter for parsing amount 2017-06-08 16:53:40 +02:00
basti 7f2f781a77 Don't try to save proposal when invalid 2017-06-08 16:41:53 +02:00
basti 3571cc633e Improve computed-property dependency 2017-06-08 16:41:03 +02:00
basti 2011636173 Add contribution details as title 2017-06-07 13:01:35 +02:00
basti cbb15f4d6f Fix mobile layout, add contribution kind to props 2017-06-07 12:46:03 +02:00
basti c98a50cd42 Fix mobile layout
Unfortunately also breaks the animation when opening contributor
details for now. Couldn't get it to work again.
2017-06-07 11:11:01 +02:00
basti 7b91e64af4 Create contribution IPFS objects, attach to proposals 2017-06-06 21:27:05 +02:00
basti c893f91ce2 Improve logging 2017-06-06 19:56:40 +02:00
basti eced2f423f Minimal validation for amount 2017-06-06 19:56:15 +02:00