[PR #5116] [MERGED] feat(common): change REST method text color based on selected method #5063

Closed
opened 2026-03-17 02:32:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/5116
Author: @0x5b62656e5d
Created: 5/31/2025
Status: Merged
Merged: 6/11/2025
Merged by: @jamesgeorge007

Base: patchHead: main


📝 Commits (1)

  • 29bbc2b feat(common): change REST method text color based on selected method

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/http/Request.vue (+3 -0)

📄 Description

This PR adds color styling to the selected HTTP request type to make the color consistent with:

  • The color of the request type in the tab
  • The color of the request type in the dropdown selector

Before:
image
image
image

After:
image
image
image

Closes #5112

What's changed

Added a color style to the input element of HoppSmartSelectWrapper based on the active REST request method type

Notes to reviewers


🔄 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/5116 **Author:** [@0x5b62656e5d](https://github.com/0x5b62656e5d) **Created:** 5/31/2025 **Status:** ✅ Merged **Merged:** 6/11/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `main` --- ### 📝 Commits (1) - [`29bbc2b`](https://github.com/hoppscotch/hoppscotch/commit/29bbc2b175856ede3e5bb3ce1439cf14d0d4a708) feat(common): change REST method text color based on selected method ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/http/Request.vue` (+3 -0) </details> ### 📄 Description This PR adds color styling to the selected HTTP request type to make the color consistent with: - The color of the request type in the tab - The color of the request type in the dropdown selector Before: <img width="129" alt="image" src="https://github.com/user-attachments/assets/888d4825-8dad-41f5-bd03-2adb14e2d41a" /> <img width="126" alt="image" src="https://github.com/user-attachments/assets/417eebd8-cb55-43db-8d5a-818e384b1bdc" /> <img width="126" alt="image" src="https://github.com/user-attachments/assets/c27ca2d4-7f95-4931-9ff5-a258ceba10f4" /> After: <img width="116" alt="image" src="https://github.com/user-attachments/assets/2d55cc7b-fa0c-4662-a637-16cb036cf549" /> <img width="111" alt="image" src="https://github.com/user-attachments/assets/067f5f4b-fc6a-4c28-9d8e-cce8c58e55e2" /> <img width="123" alt="image" src="https://github.com/user-attachments/assets/9f7ecd62-3548-4e73-89ad-45a923004a6a" /> Closes #5112 ### What's changed Added a color style to the `input` element of `HoppSmartSelectWrapper` based on the active REST request method type ### Notes to reviewers --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:32:44 +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#5063
No description provided.