-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(lists): Cache lists #59
Commits on Mar 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 85f583d - Browse repository at this point
Copy the full SHA 85f583dView commit details
Commits on May 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c48602f - Browse repository at this point
Copy the full SHA c48602fView commit details -
fix: useLogs not required for lists now.
- Time entry form uses the list cache from Account. - Factor addLog out of useLogs
Configuration menu - View commit details
-
Copy full SHA for e530a8e - Browse repository at this point
Copy the full SHA e530a8eView commit details -
feat: Hide log table by default
Important for testing. This forces the time entry to rely on the list cache for its current list state. When the log table is hidden by default, there isn't anything on the page that loads the full collection of logs, and so if the list cache is empty, nothing will fill it. The next step is to detect this case automatically and force-update the cache (with the hope that we only have to query all the logs once, to prime the cache).
Configuration menu - View commit details
-
Copy full SHA for 3030a28 - Browse repository at this point
Copy the full SHA 3030a28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 386002c - Browse repository at this point
Copy the full SHA 386002cView commit details -
- When the list cache is absent, we'll load all the docs once and heal it. - If a list is missing from the cache and we load logs and discover it, we'll add it. - Whenever we add a log, we'll make sure the list is in the cache.
Configuration menu - View commit details
-
Copy full SHA for 113069a - Browse repository at this point
Copy the full SHA 113069aView commit details -
feat: Use the list cache for filtering.
Now we only use the lists from the logs to ensure that the account list cache is up-to-date.
Configuration menu - View commit details
-
Copy full SHA for 7b7e727 - Browse repository at this point
Copy the full SHA 7b7e727View commit details -
fix: Populate with the default list
If the account has been created but there aren't any logs, add the default list to ensure it's there.
Configuration menu - View commit details
-
Copy full SHA for 5d3d186 - Browse repository at this point
Copy the full SHA 5d3d186View commit details -
test: Update tests to show the logs before trying to view them.
Also remove the unnecessary, failing loading spinner test.
Configuration menu - View commit details
-
Copy full SHA for d49b651 - Browse repository at this point
Copy the full SHA d49b651View commit details
Commits on May 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7c6f817 - Browse repository at this point
Copy the full SHA 7c6f817View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b47730 - Browse repository at this point
Copy the full SHA 3b47730View commit details -
Configuration menu - View commit details
-
Copy full SHA for 455684c - Browse repository at this point
Copy the full SHA 455684cView commit details -
test: Debug logging wasn't enough; record to cypress's cloud service …
…to see what's wrong.
Configuration menu - View commit details
-
Copy full SHA for 51576e3 - Browse repository at this point
Copy the full SHA 51576e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27a0e10 - Browse repository at this point
Copy the full SHA 27a0e10View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5e20a3 - Browse repository at this point
Copy the full SHA d5e20a3View commit details