Commit Graph

430 Commits

Author SHA1 Message Date
basti 5f90bc23bc Dynamically load all balances from Safe 2020-08-13 16:13:50 +02:00
basti 1dd63b2c7a Basic styles for budget balances 2020-08-13 15:43:51 +02:00
basti f1bd20a6f4 Add helper for formatting cryptocurrencies 2020-08-13 15:19:17 +02:00
basti ec6b72008d Add whitespace between reimbursement items in list
They're a bit difficult to scan otherwise.
2020-08-13 14:58:49 +02:00
basti dec71c6f4f Load community funds balances from mainnet Gnosis Safe 2020-08-13 00:27:40 +02:00
basti 52172ea065 add-reimbursement component 2020-08-12 22:53:08 +02:00
basti f63d14d7b4 Move sorted contributors to kredits service 2020-08-12 22:51:52 +02:00
basti ef0fc11edf Add reimbursement form route and component 2020-07-25 18:24:16 +02:00
basti 083334ed18 Don't redirect to dashboard after connecting web3 account 2020-07-25 18:23:55 +02:00
basti 69a6c850bf Convert route to class 2020-07-25 18:22:02 +02:00
basti 8074d2d0e3 Hide empty sections in budget 2020-07-10 13:01:06 +02:00
basti 11c3078b55 Style reimbursement list items 2020-07-09 23:53:06 +02:00
basti fb267813fb Introduce item-list CSS, move item colors to variables 2020-07-09 22:41:11 +02:00
basti a96cca879d Use browser's locale for currency format 2020-07-09 22:15:25 +02:00
basti 4849a755dc Render currencies etc. 2020-07-09 17:07:05 +02:00
basti eaac245f4e WIP Basic reimbursement lists 2020-07-09 15:46:20 +02:00
basti 95743330e4 WIP Generic data handling and caching
Add basic support for reimbursements via new, generic data handling
functions.
2020-06-27 16:35:45 +02:00
basti 4a9dd5ff09 Re-organize functions of kredits service 2020-06-27 14:01:05 +02:00
basti 3b127b0e81 WIP Budget route and basic layout 2020-06-27 13:36:28 +02:00
basti 769317777c Refactor routes
* Add specific dashboard route
* Port application route to Octane
* Fetch/sync contributors in application route, but only sync
  contributions in dashboard route for now
2020-06-27 13:36:02 +02:00
basti e047cc45ba Merge pull request #190 from 67P/feature/improve_contribution_sync
Improve data sync
2020-06-02 10:55:36 +02:00
basti c64a503546 Remove unused async from function
Throws a linter warning, now that it's not an RSVP promise anymore.
2020-05-31 12:46:51 +02:00
basti 13021d665d Merge pull request #188 from 67P/feature/schema_updates
Add new contribution kinds
2020-05-31 10:45:16 +02:00
basti 302c3315a3 Update debug logs while fetching past contributions 2020-05-29 22:28:42 +02:00
basti bac4c1c425 Load all past contributions once everything else is loaded 2020-05-29 22:04:03 +02:00
basti c54d754c89 Only sync contributions if loaded from cache 2020-05-29 20:55:19 +02:00
basti 63dd5430bc WIP Sync contributions 2020-05-29 18:56:05 +02:00
basti eb2c613ac9 Extract data loading from fetch methods 2020-05-29 13:12:39 +02:00
basti bf6d9dbc31 Remove RSVP from kredits service
Just native Promise will do.
2020-05-29 13:11:36 +02:00
basti c491f10ec3 Remove obsolete utils 2020-05-28 14:18:30 +02:00
basti d4b546bfcd Load contributions from cache if present
And then fetch more from network. Also, only load 30 from network before
first render (with nothing cached), then load more after the page has
rendered.
2020-05-28 13:59:10 +02:00
basti 69141a31c4 Process contribution data before loading models 2020-05-28 13:44:32 +02:00
basti e7c9620bbe Add network namespace for browser cache
We want to be able to cache data from multiple networks side-by-side,
without them interfering with each other.
2020-05-28 11:53:19 +02:00
basti 832de3c06f Load contributors from cache if present
And then update from network later
2020-05-28 11:33:47 +02:00
basti 50e1fc728c Cache contributors in IndexedDB 2020-05-27 17:33:36 +02:00
basti 871731110b Process contributor data
Add util function for processing contributor data, and remove bignums,
etc.
2020-05-27 16:27:08 +02:00
basti f996c89dfe Add localforage, basic cache service 2020-05-27 12:59:37 +02:00
basti 352c9fe3ab Add new contribution types 2020-05-27 11:15:42 +02:00
basti 3cc01cce4e Fix some minor template issues 2020-05-11 13:15:17 +02:00
basti cedbe3cb3d Formatting 2020-05-11 13:03:46 +02:00
basti b8da04c145 Re-add contribution status class 2020-05-11 13:03:46 +02:00
galfert 009caa53e5 Fix typo in contribution-status helper
The wrong property name caused an exception when trying to remove the observer.
2020-05-11 12:18:07 +02:00
basti 22300c2980 Fix actions, etc. 2020-05-11 10:21:23 +02:00
basti 018132034d Fix github icon filename 2020-05-11 10:21:23 +02:00
basti 12df28f7fd Fix ESLint errors 2020-05-11 10:21:22 +02:00
basti 2f4f350a93 WIP Octanify the templates 2020-05-11 10:21:18 +02:00
basti 4946b3311d Remove all proposal-related code
We're not using proposals at the moment, so it's just in the way.
2020-05-10 10:25:06 +02:00
basti aa351cbe17 Move icon templates out of pod directory
Glimmer components don't have extra markup around them, so we don't need
the component JS files anymore. Also, we can easily ignore the icon
templates when linting now.
2020-05-09 17:37:58 +02:00
basti 065c635580 Upgrade to latest Ember, etc. 2020-05-09 17:07:35 +02:00
basti 3f4cc39067 Refactor assignment
Co-authored-by: Garret Alfert <alfert@wevelop.de>
2019-12-13 17:04:52 +01:00