mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #2404] [MERGED] feat: filter json body response #3786
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#3786
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/2404
Author: @nivedin
Created: 6/6/2022
Status: ✅ Merged
Merged: 6/10/2022
Merged by: @liyasthomas
Base:
main← Head:feat/filter-JSON-response📝 Commits (10+)
a9160a4feat: implemented ability to filter JSON response5ca59c7feat: installed JSONPath packageb3e276ffix: added i18n for filter search button1341cc5fix: filtering response moved to trycatch block5d58b05refactor: added sticky value as variable, used computed value for filteringd2031bbchore: improve ui consistency5798de4refactor: used fp/ts to parse response, defined errors12aebbarefactor: response filter error handeling and display to user60eacddfix: jsonParse error text fix0f5284brefactor: filterResponseError rewrite using match📊 Changes
8 files changed (+174 additions, -13 deletions)
View changed files
➕
packages/hoppscotch-app/assets/icons/filter.svg(+13 -0)📝
packages/hoppscotch-app/assets/scss/themes.scss(+3 -0)📝
packages/hoppscotch-app/components/lenses/renderers/JSONLensRenderer.vue(+130 -4)📝
packages/hoppscotch-app/locales/en.json(+4 -0)📝
packages/hoppscotch-app/package.json(+1 -0)➕
packages/hoppscotch-app/types/jsonpath-plus.d.ts(+6 -0)📝
packages/hoppscotch-app/windi.config.js(+1 -0)📝
pnpm-lock.yaml(+16 -9)📄 Description
Closes #2334
Description
This PR introduces a feature that helps users selectively extract data from the body responses using keywords.
Checks
Additional Information
Added jsonPath as a new dependency for filtering response data.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.