The settings page so far, the page hook's own copy. It is changed in place.
Every row and the panel take the face's own wording from pluginTexts in ts/pkjs/plugin-texts.ts,
which faceStart keeps from what the face passed startPebbleApp, laid over the feature's.
The select, the plugin list, the saved state and value, and the feature's wording.
The page, changed.
Adds a feature's plugin choice to the settings page, with the rows that go with it.
notInstalledLabeltakes that label instead while the phone lists other plugins, and offers the option then even with nothing saved, so a wearer learns a plugin can feed it. A plugin list the phone will not give offers the option as usual.noPluginrow while the phone lists other plugins.Once the select has passed step 2, a feature that asks for it also gets the supported plugins panel at the foot of the page, whatever steps 3 to 7 made of the select.
Before any of that, every kind records where its plugins stand in the plugin kinds store at the top of the page, as
PLUGIN_KINDS_CLASSdescribes, so a face's own components can read it. A kind left with no select while the face is on a source of its own comes back out of the store, since the face reads no plugin for it. So a kind the store names with no select on the page is one that reads the plugin whatever the page shows.A kind with no source choice passes no select key, and none of the steps above apply. It gets its notes alone, always shown: where its data comes from, then the one saying to turn plugins on while nothing on the phone serves the kind, or else the warnings the saved state calls for. A panel opening on its own line to turn plugins on stands in for that note. They go straight after the row the face marks with
pluginSourceRowsfor the kind, or at the foot of the page just above the panel.