Serializing the desktop layout to a JavaScript object
ClosedPublic

Authored by ivan on Aug 18 2016, 12:06 PM.

Details

Summary
  • Serializing the desktop layout for current activity
  • Support for different config groups
  • Introducing the mechanism for the future API versioning
  • Loading the desktop from the serialized data
  • Added debugging output just for comparison with regular layout.js
  • Splitting V1 scripting functions into a separate class and file
  • Loading the panels
  • Disabled the debugging output

Diff Detail

Repository
R120 Plasma Workspace
Branch
ivan/separateLookAndFeelLayoutSerialization
Lint
No Linters Available
Unit
No Unit Test Coverage
ivan updated this revision to Diff 6026.Aug 18 2016, 12:06 PM
ivan retitled this revision from to Serializing the desktop layout to a JavaScript object.
ivan updated this object.
ivan edited the test plan for this revision. (Show Details)
ivan added reviewers: Plasma, mart.
Restricted Application added a project: Plasma. · View Herald TranscriptAug 18 2016, 12:06 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Aug 18 2016, 12:32 PM
mart edited edge metadata.
mart added inline comments.
shell/scripting/scriptengine_v1.cpp
345

clear it from dead code

615

dead code

shell/shellcorona.cpp
392

QByteArray and returning .toUtf8()?

This revision is now accepted and ready to land.Aug 18 2016, 12:32 PM
ivan updated this revision to Diff 6028.Aug 18 2016, 12:57 PM
ivan edited edge metadata.
  • Dumping JS as a UTF8 byte array instead as a string
ivan added inline comments.Aug 18 2016, 12:58 PM
shell/shellcorona.cpp
392

toJson is already utf8 byte array

ivan closed this revision.Aug 18 2016, 1:24 PM