2023-03-20 21:03:36 +00:00
|
|
|
How to get it working:
|
|
|
|
- [X] Landsbankinn API client for arbitrary transaction lists
|
2024-11-10 23:03:56 +00:00
|
|
|
- [X] Transform raw transactions into friendlier ones (i.e. date objects)
|
2023-03-21 21:12:09 +00:00
|
|
|
- [X] Content script that can run all the time and puts a button somewhere (statements tab, and extension icon)
|
2023-03-22 14:55:35 +00:00
|
|
|
- [X] Use config.ts to set TTL for state
|
2024-11-10 23:03:56 +00:00
|
|
|
- [X] Background page that downloads all the shit and combines into CSV, then 'downloads' file.
|
2023-03-21 21:12:09 +00:00
|
|
|
- [X] Build up communication message passing to background page for downloads
|
2023-03-22 14:55:35 +00:00
|
|
|
- [X] Don't run level on client.
|
2023-03-21 21:12:09 +00:00
|
|
|
- [-] Investigate persistent = false + setTimeout
|
2023-03-21 13:05:31 +00:00
|
|
|
- [ ] Maybe can force clear state when page reloads itself?
|
2023-03-21 21:12:09 +00:00
|
|
|
- [X] Change ready true/false to lock state, of not updated, updating, ready
|
2023-03-21 13:05:31 +00:00
|
|
|
- [X] Graphql API client to get information about user, like listing accounts.
|
|
|
|
- [X] Get working client
|
|
|
|
- [X] Set API key
|
|
|
|
- [X] Set bearer token
|
|
|
|
- [X] Intercept bearer token by yoinking it out of a request
|
2024-11-10 23:03:56 +00:00
|
|
|
- [ ] Deal with state disappearing after 15 sec (I think 15 sec was a test).
|
|
|
|
- We should always reload state if it's not present. And we are doing this.
|
|
|
|
- Why does state not re-build itself properly? It auths but does not set itself to "ready to request" mode.
|
|
|
|
- [ ] Make the date picker and download button nice to use.
|
|
|
|
- [ ] Validate date picker options when downloading.
|
|
|
|
- [ ] Show a download status on the web page to indicate where it is in the download process.
|
|
|
|
- [ ] Error handling: try-catch in various places, send messages back to content script that error occurred.
|
|
|
|
- [ ] Txn download
|
|
|
|
- [ ] CSV creation
|
|
|
|
- [ ] Ensure auth state API calls
|