-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexedDB w/Dexie #68
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…K to be unique date. Add day sets the day with zeroed out hours, min, sec, ms. When DB is opened, check if most recent day in the table is today, if not, set a new day.
…initialized via init() before being used.
…store 'todayStore'.
…tings records on setting store set()
… goals (and now limits) generic. By specifying a table name, the function will make the appropriate changes to that table since all three of those tables are structurally identical. Did the same for creating the appropriate stores as well.
…eds to be consistent about what it calls NaCl. We're going with sodium from now on for simplicity sake instead of salt.
…will be removed in the future.
…xport and Import now pull/push to IndexedDB
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding support for IndexedDB which will come in handy later on when storing more data.
TODO
goalslimitsupdate barcode scanner with new storesupdate chartsimportexport (exports history with 'saltinstead of 'sodium
) - wontfixBest practices to consider