[PR #3220] [MERGED] feat: tippy menu for history and tab #4286

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3220
Author: @nivedin
Created: 7/28/2023
Status: Merged
Merged: 8/8/2023
Merged by: @AndrewBastin

Base: release/2023.8.0Head: feat/tippy-menu-tab-history


📝 Commits (10+)

  • 4deebe4 feat: tippy option to history to add to collection
  • 0232cea feat: tippy option to close, duplicate, rename tab
  • 1914750 chore: bug close tab confirmation
  • 0cea0bc fix: close all tab except the tab bug
  • bafb47c chore: updated context menu copy
  • 12dd924 chore: disable tab remove if only one tab present
  • 216e7b1 chore: add mouse middle btn click tab close
  • 5ae193e fix: rest tab warnings
  • 2735b1a chore: fix typo
  • 696e3db chore: better type and validation

📊 Changes

10 files changed (+361 additions, -36 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+7 -0)
📝 packages/hoppscotch-common/src/components.d.ts (+38 -3)
📝 packages/hoppscotch-common/src/components/collections/SaveRequest.vue (+23 -8)
📝 packages/hoppscotch-common/src/components/history/index.vue (+10 -1)
📝 packages/hoppscotch-common/src/components/history/rest/Card.vue (+45 -3)
📝 packages/hoppscotch-common/src/components/http/Request.vue (+20 -1)
packages/hoppscotch-common/src/components/http/TabHead.vue (+126 -0)
📝 packages/hoppscotch-common/src/helpers/actions.ts (+10 -1)
📝 packages/hoppscotch-common/src/helpers/rest/tab.ts (+27 -0)
📝 packages/hoppscotch-common/src/pages/index.vue (+55 -19)

📄 Description

Closes HFE-132

Description

  • Adds a right-click tippy to the history item which allows the user to save the history request to a collection

image

  • Adds a right-click tippy to the tab which allows the user to

    • rename a tab
    • duplicate tab
    • close the tab
    • close all other tabs

image

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

TODO

  • fix the bug when closing all other tabs except the clicking one

🔄 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/3220 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 7/28/2023 **Status:** ✅ Merged **Merged:** 8/8/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.8.0` ← **Head:** `feat/tippy-menu-tab-history` --- ### 📝 Commits (10+) - [`4deebe4`](https://github.com/hoppscotch/hoppscotch/commit/4deebe49d630c700ea2b40e08da20f7fa736e7ed) feat: tippy option to history to add to collection - [`0232cea`](https://github.com/hoppscotch/hoppscotch/commit/0232ceada34e96f1458ec0fbd2e998fdc7103d94) feat: tippy option to close, duplicate, rename tab - [`1914750`](https://github.com/hoppscotch/hoppscotch/commit/191475054552cf1bc6948b946bc2d25b903ba8ed) chore: bug close tab confirmation - [`0cea0bc`](https://github.com/hoppscotch/hoppscotch/commit/0cea0bc3ded87a726687a23ba3dbd97f8dff2f9f) fix: close all tab except the tab bug - [`bafb47c`](https://github.com/hoppscotch/hoppscotch/commit/bafb47c90ff7936933f1532fa51aba59479a9f98) chore: updated context menu copy - [`12dd924`](https://github.com/hoppscotch/hoppscotch/commit/12dd9240ddc7b712596139f8f2d270ea665069cb) chore: disable tab remove if only one tab present - [`216e7b1`](https://github.com/hoppscotch/hoppscotch/commit/216e7b1d2bd3e174eba24421591d3e309c347aa2) chore: add mouse middle btn click tab close - [`5ae193e`](https://github.com/hoppscotch/hoppscotch/commit/5ae193e101cba3cc317a4d7db0aabbbf25e28620) fix: rest tab warnings - [`2735b1a`](https://github.com/hoppscotch/hoppscotch/commit/2735b1a1b13acbb4aef19db144a076fcd72e6907) chore: fix typo - [`696e3db`](https://github.com/hoppscotch/hoppscotch/commit/696e3dbdd80be01c1d201bf4efa47da94eae754b) chore: better type and validation ### 📊 Changes **10 files changed** (+361 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+7 -0) 📝 `packages/hoppscotch-common/src/components.d.ts` (+38 -3) 📝 `packages/hoppscotch-common/src/components/collections/SaveRequest.vue` (+23 -8) 📝 `packages/hoppscotch-common/src/components/history/index.vue` (+10 -1) 📝 `packages/hoppscotch-common/src/components/history/rest/Card.vue` (+45 -3) 📝 `packages/hoppscotch-common/src/components/http/Request.vue` (+20 -1) ➕ `packages/hoppscotch-common/src/components/http/TabHead.vue` (+126 -0) 📝 `packages/hoppscotch-common/src/helpers/actions.ts` (+10 -1) 📝 `packages/hoppscotch-common/src/helpers/rest/tab.ts` (+27 -0) 📝 `packages/hoppscotch-common/src/pages/index.vue` (+55 -19) </details> ### 📄 Description Closes HFE-132 ### Description - Adds a right-click tippy to the history item which allows the user to save the history request to a collection ![image](https://github.com/hoppscotch/hoppscotch/assets/53208152/6ca589ae-7b10-4e58-a892-e18246dbf43a) - Adds a right-click tippy to the tab which allows the user to - rename a tab - duplicate tab - close the tab - close all other tabs ![image](https://github.com/hoppscotch/hoppscotch/assets/53208152/475f649f-a559-4587-9125-d3fcea24d6ce) ### 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 ### TODO - [x] fix the bug when closing all other tabs except the clicking one --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:50:17 +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#4286
No description provided.