broulik created this revision.
broulik added reviewers: Plasma, fvogt.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  One can pass a default Object to `storage.get()` which will be used for keys 
that don't exist.
  However, it doesn't do that recursively, so when we add a new settings key 
for a specific module, like the `addToRecentDocuments` it will not be present 
for anyone who already touched the extension settings.

TEST PLAN
  - Added a new key to an existing module setting, got the key show up. The 
other settings seem unaffected.

REPOSITORY
  R856 Plasma Browser Integration

REVISION DETAIL
  https://phabricator.kde.org/D28791

AFFECTED FILES
  extension/utils.js

To: broulik, #plasma, fvogt
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, 
fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart

Reply via email to