Trevor Buckner
643e0ac650
small cleanups of localstorage keys code
2025-10-05 23:24:50 -04:00
Trevor Buckner
5395412ac5
Remove tests for getLocalStorageMap()
...
The function is a simple getter with trivial logic; test is effectively just asserting the size of the map, which coverage adds no meaningful value and adds cruft to the codebase.
2025-10-05 23:24:35 -04:00
G.Ambatte
ae51213c8c
Permanently enable old local storage key deletion
2025-10-05 12:25:51 +13:00
G.Ambatte
400fa250ee
Move key deletion out of key update check
2025-10-04 15:19:31 +13:00
G.Ambatte
e82921f81a
Add key to activate deletion for testing
2025-10-04 14:54:57 +13:00
G.Ambatte
87a36bb02d
Add tests for localStorageKeyMap.js
2025-09-11 21:57:00 +12:00
G.Ambatte
1459f6a320
Tweak local storage update logic
2025-09-11 21:25:13 +12:00
G.Ambatte
a11fa72261
Change JSON file to JS getter function
2025-09-11 21:02:56 +12:00
G.Ambatte
2663d86627
Don't update storage values if key already exists
2025-09-10 20:31:50 +12:00
G.Ambatte
b6818e963b
Remove unused dismiss keys
2025-09-10 20:12:50 +12:00
G.Ambatte
7163b1a287
Add function to add dynamic keys to local storage map
2025-09-10 18:53:53 +12:00
G.Ambatte
08d228831d
Add missing keys to JSON, tweak layout
2025-09-10 18:53:23 +12:00
G.Ambatte
1eb5b6d3a4
Copy exisitng key data to new keys
2025-09-09 22:04:40 +12:00
G.Ambatte
16d7b11b8d
Add request-middleware test file
2025-07-26 18:44:59 +12:00
David Bolack
1008321957
Add brew snippets to local save history
...
solves #3113
2025-06-30 12:17:46 -05:00
Trevor Buckner
fb9148ada5
Site runs and all tests pass
2024-11-20 16:21:35 -05:00
G.Ambatte
ebf900ba24
Remove Proxy version
2024-10-30 08:21:51 +13:00
G.Ambatte
6fed42198d
Simplify initCustomStore
2024-10-29 19:30:22 +13:00
G.Ambatte
478a541d62
Remove wrapper from file name
2024-10-26 09:58:09 +13:00
G.Ambatte
eb852b8045
Add IDB Proxy
2024-10-26 09:50:07 +13:00
G.Ambatte
f64e7d3fd7
Shift grabage collection to use delMany instead of a looped del
2024-10-12 10:57:01 +13:00
G.Ambatte
cdbb2fa26a
Add IDB custom store wrapper
2024-10-12 10:55:02 +13:00
G.Ambatte
ab6861675d
Comment out history testing values
2024-10-10 09:07:54 +13:00
G.Ambatte
0deb9073cd
Remove obsolete file
2024-10-10 08:57:41 +13:00
G.Ambatte
8db12739d3
Remove obsolete function
2024-10-10 08:34:15 +13:00
G.Ambatte
dc66d36b2d
Simplify history loading
2024-10-09 19:35:48 +13:00
G.Ambatte
fb2d03f5a2
Change to test values
2024-10-09 17:50:26 +13:00
G.Ambatte
0b44e68a36
Simplify garbage collection
2024-10-09 17:27:33 +13:00
G.Ambatte
aa68762294
Simplify historyCheck logic
2024-10-09 15:59:11 +13:00
G.Ambatte
2a9402634f
Remove unnecessary guard clause
2024-10-09 14:58:20 +13:00
G.Ambatte
291e16b124
Revert to use local consts instead of config vars
2024-10-09 14:57:04 +13:00
G.Ambatte
e75eb72d3f
Remove obsolete function
2024-10-09 14:54:23 +13:00
G.Ambatte
7e165c6e61
Remove unnecessary key check
2024-10-07 21:53:24 +13:00
G.Ambatte
5d9ef3fa6c
Add custom IDB store
2024-10-07 21:53:05 +13:00
G.Ambatte
24bffacaeb
GC functional, config values now actually used
2024-10-07 20:53:32 +13:00
G.Ambatte
c9241e3091
WIP Update
2024-10-07 18:22:06 +13:00
G.Ambatte
77f162f7a4
Initial IDB functionality pass
2024-10-01 23:53:35 +13:00
G.Ambatte
53c05a3ef6
Remove unused default item
2024-09-17 07:27:52 +12:00
G.Ambatte
8315df33ae
Change empty slot logic
2024-09-16 19:39:51 +12:00
G.Ambatte
91f9a76af2
Remove spaces from code indentation
2024-09-16 19:20:14 +12:00
G.Ambatte
ae7404eb1f
Remove comments
2024-09-16 19:15:16 +12:00
G.Ambatte
7a2fecf502
Set archiveBrew object directly
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2024-09-16 19:07:42 +12:00
G.Ambatte
531e6efa5e
Get configuration from config files
2024-09-15 14:19:24 +12:00
G.Ambatte
7009ef4441
Remove unneeded brew.shareId reference
2024-09-15 00:47:54 +12:00
G.Ambatte
ff19e3875e
Shift GC to use savedAt time
2024-09-14 23:43:44 +12:00
G.Ambatte
d01548feb6
Add getHistoryItems function
2024-09-14 21:20:31 +12:00
G.Ambatte
c77d6e5fae
Simplify logic
2024-09-14 16:50:36 +12:00
G.Ambatte
bc35b5245b
Fix renamed variable
2024-09-07 14:07:30 +12:00
G.Ambatte
cd30679aac
Remove debugging line
2024-09-07 14:01:25 +12:00
G.Ambatte
9679e5b130
Add garbage collection function to remove version data after specified period without update
2024-09-07 14:00:31 +12:00