[PR #2382] [MERGED] feat: segmented content-type dropdown UI #3773

Closed
opened 2026-03-17 01:21:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2382
Author: @nivedin
Created: 5/30/2022
Status: Merged
Merged: 5/31/2022
Merged by: @AndrewBastin

Base: mainHead: feat/body-contentType-segmentation


📝 Commits (6)

  • 9b9ab61 feat: added segmented contentType dropdown UI
  • 2473a71 chore: improve ui consistency
  • 12cd74f fix: rebase fix
  • c3e070b fix: added i18n for contentType title
  • 9ebb197 fix: contentType title type fix
  • 708616f fix: remove unused icon

📊 Changes

3 files changed (+71 additions, -16 deletions)

View changed files

📝 packages/hoppscotch-app/components/http/Body.vue (+35 -16)
📝 packages/hoppscotch-app/helpers/utils/contenttypes.ts (+31 -0)
📝 packages/hoppscotch-app/locales/en.json (+5 -0)

📄 Description

Closes #2344

Description

This PR adds a feature that segments the HTTP body content type dropdown UI based on the type of body requests to send on endpoint.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2382 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 5/30/2022 **Status:** ✅ Merged **Merged:** 5/31/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `feat/body-contentType-segmentation` --- ### 📝 Commits (6) - [`9b9ab61`](https://github.com/hoppscotch/hoppscotch/commit/9b9ab61e4ef76bd959c1bd43be34cebe21e83c0f) feat: added segmented contentType dropdown UI - [`2473a71`](https://github.com/hoppscotch/hoppscotch/commit/2473a7120e5210ec7e9057125c28b3dd13243e26) chore: improve ui consistency - [`12cd74f`](https://github.com/hoppscotch/hoppscotch/commit/12cd74f34c6bcf1751e02ca636d80a5f46281b21) fix: rebase fix - [`c3e070b`](https://github.com/hoppscotch/hoppscotch/commit/c3e070bd3918537c38409a28257492e88fad97cf) fix: added i18n for contentType title - [`9ebb197`](https://github.com/hoppscotch/hoppscotch/commit/9ebb1978081fa92bbbc575eaa7e9b0d8957fce95) fix: contentType title type fix - [`708616f`](https://github.com/hoppscotch/hoppscotch/commit/708616fe76ba20567fd167287df0a9a4be2f431b) fix: remove unused icon ### 📊 Changes **3 files changed** (+71 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/components/http/Body.vue` (+35 -16) 📝 `packages/hoppscotch-app/helpers/utils/contenttypes.ts` (+31 -0) 📝 `packages/hoppscotch-app/locales/en.json` (+5 -0) </details> ### 📄 Description Closes #2344 ### Description This PR adds a feature that segments the HTTP body content type dropdown UI based on the type of body requests to send on endpoint. ### Checks - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:21:30 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#3773
No description provided.