Better UI/UX for empty response panel

RESOLVED FIXED in Firefox 67

Status

defect
P3
normal
RESOLVED FIXED
a year ago
2 months ago

People

(Reporter: Honza, Assigned: Laphets, Mentored)

Tracking

unspecified
Firefox 67

Firefox Tracking Flags

(firefox67 fixed)

Details

(Whiteboard: [good first verify])

Attachments

(2 attachments)

Posted image empty-response.png
This is a follow up for bug 1437435

The response panel shows an error within the Sidebar if JSON response is empty (see also the attached screenshot):

"SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data"

I think that an empty JSON response (any response in fact) doesn't have to necessarily result in an error.

It would be better to:

* Don't show the error message
* Render something like "Empty response" (italic/gray?) instead of the response text.

Honza
Assignee: nobody → jev4zs
Status: NEW → ASSIGNED
Priority: -- → P3

Updated

11 months ago
Product: Firefox → DevTools

This bug has not been updated in the last 6 months. Resetting the assignee field.
Please, feel free to pick it up again and add a comment outlining your plans for it if you do still intend to work on it.
This is just trying to clean our backlog of bugs and make bugs available for people.

Assignee: jev4zs → nobody
Status: ASSIGNED → NEW
(Assignee)

Comment 2

3 months ago

Hello, if there is no one still working on this, can I pick up this issue?

Assignee: nobody → wenqing4
Mentor: odvarko
Status: NEW → ASSIGNED

This needs rebase, please see my comment in phabricator.
Honza

Comment 5

2 months ago
Pushed by jodvarko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/27136b19341e
Better UI/UX for empty response panel. r=Honza

Comment 6

2 months ago
bugherder
Status: ASSIGNED → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
Whiteboard: [good first verify]
You need to log in before you can comment on or make changes to this bug.