Closed Bug 1746824 Opened 2 years ago Closed 2 years ago

Add a JsonMl Rep

Categories

(DevTools :: Framework, task)

task

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file, 1 obsolete file)

This Rep will be used to render custom formatted objects.
The input will be a grip (i.e. an object sent by the server to the client) with:

  • a property that will make it easy to see it was custom formatted (e.g. useCustomFormatter)
  • a header property, that will be a JsonMl compliant array (see http://www.jsonml.org/)
  • a boolean hasBody property, which will indicate if the rendered object can be expanded
Blocks: 1746825

Depends on D134261

In order to test my experiments for Bug 1734840, I quickly drafted a simple implementation (see https://phabricator.services.mozilla.com/D134262)
There will definitely be more work here, but at least you can see how the Rep can be added and how it will work.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Attachment #9266164 - Attachment description: WIP: Bug 1746824 - Added JsonML Rep. → Bug 1746824 - Added JsonML Rep. r=nchevobbe
Pushed by sebastianzartner@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ba838f22c8c5
Added JsonML Rep. r=nchevobbe,devtools-backward-compat-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
Attachment #9256118 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: