[PR #5091] [MERGED] chore: display platform links in app header #5055

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/5091
Author: @nivedin
Created: 5/21/2025
Status: Merged
Merged: 5/21/2025
Merged by: @jamesgeorge007

Base: nextHead: feat/desktop-app-prompt


📝 Commits (6)

  • 1d76a9c chore: add platform def for additional link service
  • c5eb1c7 chore: add services to handle additional links
  • a3d262f chore: add UI slot for links
  • 1ef81cc chore: add icons
  • 3788b01 chore: update i18n text key
  • 57a184a chore: update i18n key

📊 Changes

10 files changed (+240 additions, -17 deletions)

View changed files

packages/hoppscotch-common/assets/icons/apple.svg (+1 -0)
packages/hoppscotch-common/assets/icons/linux.svg (+1 -0)
packages/hoppscotch-common/assets/icons/windows.svg (+1 -0)
📝 packages/hoppscotch-common/locales/en.json (+7 -0)
📝 packages/hoppscotch-common/src/components/app/Header.vue (+62 -17)
packages/hoppscotch-common/src/platform/additionalLinks.ts (+8 -0)
📝 packages/hoppscotch-common/src/platform/index.ts (+2 -0)
packages/hoppscotch-common/src/services/additionalLinks.service.ts (+55 -0)
📝 packages/hoppscotch-selfhost-web/src/main.ts (+2 -0)
packages/hoppscotch-selfhost-web/src/services/headerDownloadableLinks.service.ts (+101 -0)

📄 Description

Closes HFE-836

This pull request introduces a new feature to manage and display additional downloadable links in the app's header, improving the user experience by providing quick access to platform-specific resources. The changes involve creating a new service for managing links, updating the header component to display them dynamically, and integrating these updates into the platform definition. The PWA option is shown based on the pwa-register event.

image

🔄 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/5091 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 5/21/2025 **Status:** ✅ Merged **Merged:** 5/21/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `feat/desktop-app-prompt` --- ### 📝 Commits (6) - [`1d76a9c`](https://github.com/hoppscotch/hoppscotch/commit/1d76a9c111012c740d3d869e5ec9c6d393aa7d9b) chore: add platform def for additional link service - [`c5eb1c7`](https://github.com/hoppscotch/hoppscotch/commit/c5eb1c7df240aa0d87dd4427d972376c95a97e23) chore: add services to handle additional links - [`a3d262f`](https://github.com/hoppscotch/hoppscotch/commit/a3d262fe6676a72e291107c99de2e802d620f5db) chore: add UI slot for links - [`1ef81cc`](https://github.com/hoppscotch/hoppscotch/commit/1ef81cc80f3117feb10c6ea36a4771a2fdfef6bb) chore: add icons - [`3788b01`](https://github.com/hoppscotch/hoppscotch/commit/3788b01b9e4b3d87cd57f117524c7e357cd32fbd) chore: update i18n text key - [`57a184a`](https://github.com/hoppscotch/hoppscotch/commit/57a184adc906982cf3f737964c283abea87906ec) chore: update i18n key ### 📊 Changes **10 files changed** (+240 additions, -17 deletions) <details> <summary>View changed files</summary> ➕ `packages/hoppscotch-common/assets/icons/apple.svg` (+1 -0) ➕ `packages/hoppscotch-common/assets/icons/linux.svg` (+1 -0) ➕ `packages/hoppscotch-common/assets/icons/windows.svg` (+1 -0) 📝 `packages/hoppscotch-common/locales/en.json` (+7 -0) 📝 `packages/hoppscotch-common/src/components/app/Header.vue` (+62 -17) ➕ `packages/hoppscotch-common/src/platform/additionalLinks.ts` (+8 -0) 📝 `packages/hoppscotch-common/src/platform/index.ts` (+2 -0) ➕ `packages/hoppscotch-common/src/services/additionalLinks.service.ts` (+55 -0) 📝 `packages/hoppscotch-selfhost-web/src/main.ts` (+2 -0) ➕ `packages/hoppscotch-selfhost-web/src/services/headerDownloadableLinks.service.ts` (+101 -0) </details> ### 📄 Description Closes HFE-836 This pull request introduces a new feature to manage and display additional downloadable links in the app's header, improving the user experience by providing quick access to platform-specific resources. The changes involve creating a new service for managing links, updating the header component to display them dynamically, and integrating these updates into the platform definition. The PWA option is shown based on the pwa-register event. <img width="186" alt="image" src="https://github.com/user-attachments/assets/549187b2-cef0-42a6-91c9-74d1a3f23e91" /> --- <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:11 +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#5055
No description provided.