Confirmed users
385
edits
(→Spec) |
(→Spec) |
||
| Line 66: | Line 66: | ||
* currently full of holes | * currently full of holes | ||
=== Spec === | === Spec === | ||
* proposed data model | * proposed data model for a plugin record | ||
<div style="background-color: #F0F0F0"><pre> | <div style="background-color: #F0F0F0"><pre> | ||
{ | { | ||
| Line 95: | Line 95: | ||
* The OpenSearch plugins, ordering of search engines, keywords for search engines (both custom & default), and hidden flags (default engines only afaik) will be sync'ed across platforms ( | * The OpenSearch plugins, ordering of search engines, keywords for search engines (both custom & default), and hidden flags (default engines only afaik) will be sync'ed across platforms (though the mobile client(s) will be written later) | ||
** default | ** parts of default engines will be synced (such as ordering & keywords) | ||
** the currently selected engine will not be synced, as that is a local setting and probably does not make sense to sync | ** the currently selected engine will not be synced, as that is a local setting and probably does not make sense to sync | ||
** read-only engines cannot be serialized, and therefore probably should not be sync'ed (I believe this is just the default ones) | ** read-only engines cannot be serialized, and therefore probably should not be sync'ed (I believe this is just the default ones) | ||
* When a user changes or removes a keyword or custom engine, the removal will be synced | * When a user changes or removes a keyword or custom engine, the removal will be synced | ||
* When a user removes a default engine, the removal will be synced (but note that the browser does not actually remove those, | * When a user removes a default engine, the removal will be synced (but note that the browser does not actually remove those, it just hides it) | ||
* The results of "Restore Defaults" will be synced (restores all deleted defaults, wipes db to default single entry (ketwords, ordering). This will not be treated as a special operation by sync | * The results of "Restore Defaults" will be synced (restores all deleted defaults, wipes db to default single entry (ketwords, ordering). This will not be treated as a special operation by sync | ||
* Until the browser implements detecting hijacked searches, this engine will be preffed off by default for existing and new users | * Until the browser implements detecting hijacked searches, this engine will be preffed off by default for existing and new users | ||
* Reconciliation: Merge by Default | * Reconciliation: Merge by Default | ||
** When users choose model from settings, overrides this default? | ** When users choose model from settings, overrides this default? | ||
* | ** what if the default ordering is different on two clients? | ||
* | |||
=== Implementation schedule === | === Implementation schedule === | ||