Replaced "Move all to done" with "Select all" in column menu because now you can select & drag multiple emails (in unreleased update)
Finally found a nice & fast way to update the data object in IndexedDB every time a relevant part is changed!
Tested out Object.watch polyfills but found they were also reeeallllllyyyyy laggggyyyy
Tested out Watch.JS but found it was reeeeeealllllly lagggggyyyyyy
Call indexLoadScript after loading IndexedDB
Removed all anonymous functions from event listeners and replaced them with properly defined functions
Made all variables inside indexLoadScript function globally scoped
Put all code that runs at the start of the main file inside a indexLoadScript function
Put all code that's not inside a function at the top of my main file, so now the rest looks like this
THE MODIFIER QUEUE IS NOW WORKING AND STORED IN INDEXEDDB!! No more 5MB limit!!! πππͺ
Reworked modifier queue code to use async dbActions functions
Created a dbActions.errorHandler function that handles IndexedDB errors
Created a dbActions.getValue function that gets a key-value pair in IndexedDB
Created a dbActions.setValue function that sets a key-value pair in IndexedDB
Created a dbActions.open function that opens the IndexedDB database
Made a new dbActions.js file and a dbActions object
Started experimenting with IndexedDB! The 5MB limit of localStorage is waay too small.
Found where some people were coming from on YouTube https://youtu.be/a2UnYs9AA_M
Got free Rocket upgrade π
Replied back to sponsor about pricing, things might be getting serious (hopefully π¬)
Made KanbanMail not break if it reaches a rate limit
Fixed pagination with Promise.all
Posted a question to StackOverflow, I am soooo confused π€π€π€ https://stackoverflow.com/questions/54628657/self-skipwaiting-not-working-in-service-worker
https://stackoverflow.com/questions/12745743/automatic-semicolon-insertion-return-statements
This is a shot in the dark with little knowledge of how Javascript works, but perhaps it is something to do with automatic semicolon insertion (since the return statement does not have one inherently)?