1.6 KiB
1.6 KiB
How to get it working:
- Landsbankinn API client for arbitrary transaction lists
- Transform raw transactions into friendlier ones (i.e. date objects)
- Content script that can run all the time and puts a button somewhere (statements tab, and extension icon)
- Use config.ts to set TTL for state
- Background page that downloads all the shit and combines into CSV, then 'downloads' file.
- Build up communication message passing to background page for downloads
- Don't run level on client.
-
Investigate persistent = false + setTimeout
- Maybe can force clear state when page reloads itself?
- Change ready true/false to lock state, of not updated, updating, ready
-
Graphql API client to get information about user, like listing accounts.
- Get working client
- Set API key
- Set bearer token
- Intercept bearer token by yoinking it out of a request
-
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