[PR #4958] [MERGED] chore: truncate long secret environment variables #5005

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4958
Author: @atrimpe-ford
Created: 4/4/2025
Status: Merged
Merged: 4/11/2025
Merged by: @jamesgeorge007

Base: patchHead: patch-1


📝 Commits (2)

  • ea1d8fc UI Enhancement for Long Secret Show/Hide
  • 73444ed chore: add truncate to cm text and add padding for removing layout shift

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/smart/EnvInput.vue (+2 -2)

📄 Description

In the current version of Hoppscotch, the show/hide button for viewing a secret value in the settings dialog box is shoved out of view by the content of the secret value input box. This change enhances the experience by keeping the button in its original location, while not preventing the value from being scrollable so the entire value can be viewed as it in the current state.

What's changed

screencapture_before
screencapture_after


🔄 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/4958 **Author:** [@atrimpe-ford](https://github.com/atrimpe-ford) **Created:** 4/4/2025 **Status:** ✅ Merged **Merged:** 4/11/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`ea1d8fc`](https://github.com/hoppscotch/hoppscotch/commit/ea1d8fcc8b26aa8c642390e43c660fd477e11bc8) UI Enhancement for Long Secret Show/Hide - [`73444ed`](https://github.com/hoppscotch/hoppscotch/commit/73444eddeb185af32fe71c62628bf5a07e8f7009) chore: add truncate to cm text and add padding for removing layout shift ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/smart/EnvInput.vue` (+2 -2) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> In the current version of Hoppscotch, the show/hide button for viewing a secret value in the settings dialog box is shoved out of view by the content of the secret value input box. This change enhances the experience by keeping the button in its original location, while not preventing the value from being scrollable so the entire value can be viewed as it in the current state. ### What's changed <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ![screencapture_before](https://github.com/user-attachments/assets/5d2c33ae-d2a5-4a16-8761-11d16823e24e) ![screencapture_after](https://github.com/user-attachments/assets/147660d7-6415-4d55-ac9f-b951e6278434) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:29:28 +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#5005
No description provided.