Commit Graph

707 Commits

Author SHA1 Message Date
basti 63675a1e13 Convert fiat totals to BTC and add to total amount 2020-09-30 16:46:35 +02:00
basti 87bc8f5cb5 Visualize disabled input fields by greying out text 2020-09-30 16:06:57 +02:00
basti 4abc1593cb Add total sums of EUR/USD expenses 2020-09-30 16:04:53 +02:00
basti 25b2a8b0e5 Create exchange rate service , use CORS proxy for requests 2020-09-30 15:03:55 +02:00
basti b5700092a8 Add util for fetching bitcoin exchange rate 2020-09-30 12:10:21 +02:00
basti 7288d75237 Don't load more reimbursements when already loaded 2020-09-30 10:32:36 +02:00
basti 444ec62a66 Validate expense/reimbursement forms
Adds some general helpers and styles for minimalistic form validation.
2020-09-29 19:31:58 +02:00
basti 326d46b1a1 Validate total amount 2020-09-29 18:09:48 +02:00
basti 083c873631 Scroll to current item; remove some obsolete code 2020-09-29 17:59:00 +02:00
basti 37dc91da57 Clearly highlight focused buttons 2020-09-29 17:59:00 +02:00
basti 7c86edcaaa Remove expense item from list 2020-09-29 17:59:00 +02:00
basti e4d2fdfce4 WIP Reimbursements/expenses 2020-09-29 17:58:38 +02:00
basti 4722064337 WIP expense items 2020-09-28 11:46:55 +02:00
basti 9f35add07f WIP Reimbursement UI 2020-09-10 16:28:01 +02:00
basti e86541574d Format and round the USD value of balances 2020-08-13 16:30:39 +02:00
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 174073fc42 1.17.0 v1.17.0 2020-06-02 11:55:29 +02:00
basti 733e5e3683 Merge pull request #191 from 67P/chore/update_dependencies
Update dependencies
2020-06-02 11:52:10 +02:00
basti 090d1d0856 Update dependencies
Fixes a bunch of security audit warnings in the process.
2020-06-02 11:25:35 +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 b5dbb2449d Merge pull request #189 from 67P/feature/data_loading
Cache data in browser storage, and load from local cache when present
2020-05-31 10:44:36 +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