Homely
Homely copied to clipboard
Settings don't sync between computers
When I create my settings and the install Homely on another computer, the settings aren't sync'ed. Also when I change settings the other computer should also be sync'ed.
The problem with Chrome's synced extension storage is the size limit for each item. Because all of the links are stored under a single key, it goes over the size limit after about 6 blocks.
In theory, the rest of the settings should sync okay, but we might need some other way of storing links (perhaps with the Chrome filesystem APIs).
Seems the FileSystem API is only available to apps, not extensions. Investigating use of sync storage by flattening individual settings into their own keys, but this currently goes over the max items limit instead.
For now, might just have to implement this as importing/exporting a settings file (you can then synchronize it yourself between devices, e.g. cloud storage).
Hi. Is sync between machines still not feasible for this extension? It's a terrific way of presenting important links--the best I've found--but the absence of automatic sync is a big drawback.
Unsure, I haven't taken a look recently. I know extensions exist with arbitrary sync storage (SwitchyOmega and μBlock come to mind), so I might have to prod them and see how they do it. Possibly the FileSystem APIs have been extended to extensions now, or there's a separate API I can use.
Previously the links were too much to store in a single database key of the sync storage, but also too numerous to store in their own keys.
Looks like they both achieve their storage through chunking their own config. 🤔
Given our config serializes into JSON, this is doable, if a bit ugly.
Any progress on this one?
Any progress on this one? Have the sync function would be perfect.
@Terrance chrome.storage.sync can use Chrome's sync