Closed Bug 1443089 Opened 6 years ago Closed 5 years ago

Better UI/UX for empty response panel

Categories

(DevTools :: Netmonitor, defect, P3)

defect

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: Honza, Assigned: Laphets, Mentored)

Details

(Whiteboard: [good first verify])

Attachments

(2 files)

Attached 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
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

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

Pushed by jodvarko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/27136b19341e
Better UI/UX for empty response panel. r=Honza
Status: ASSIGNED → RESOLVED
Closed: 5 years 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.

Attachment

General

Created:
Updated:
Size: