Open
Bug 1244922
Opened 9 years ago
Updated 2 years ago
JSON Viewer: improved search with syntax for filtering through data
Categories
(DevTools :: JSON Viewer, defect, P3)
DevTools
JSON Viewer
Tracking
(Not tracked)
NEW
People
(Reporter: clarkbw, Unassigned)
Details
Let's figure out a minimal syntax that makes sense to start with and I think we should reuse the filter help popup the debugger uses.
Also, keep in mind bug 1217131 which is about making the whole of found object accessible.
via bug 1223143 comment 7
> ## JSON tab - usability - filter box has limited value, can be frustrating
>
> When exploring structured data, one will often have a lot of data with
> objects several levels deep and key/value pairs that look like e.g.:
> "relevant_info:4".
>
> Searching for "relevant_info" will select all or most entries. Searching for
> "4" will yield a lot of false positives if the user intended to select all
> entries that had a value of "4" for "relevant_info".
>
> There are situations where just searching keys and values for a string will
> be useful. But also many others where it will be unusable and frustrating.
>
> Two ideas for data exploration:
>
> 1. Filter by key:value pairs. Maybe with a special syntax in the filter
> field (like "relevant_info:=4", "relevant_info:<4", "relevant_info:text") or
> a dedicated, more discoverable UI.
>
> 2. Filter (or maybe query, with a separated result view?) by path. For
> instance if we have data that looks like this:
>
> [
> …,
> 102: { x:"y", meta:{…}, … },
> …
> ]
>
> We might use "[102]" to isolate "102: { x:"y", meta:{…}, … }".
> And we might use "[102][meta]" to isolate "meta:{…}".
>
> Terminal featuritis, I know. :D
Reporter | ||
Updated•9 years ago
|
Summary: JSON VIewer: improved search with syntax for filtering through data → JSON Viewer: improved search with syntax for filtering through data
Updated•8 years ago
|
Priority: -- → P2
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•