[PR #2450] [MERGED] feat: realtime tabs as subpages #3816

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2450
Author: @anwarulislam
Created: 6/21/2022
Status: Merged
Merged: 6/28/2022
Merged by: @AndrewBastin

Base: mainHead: feat/realtime-routes


📝 Commits (3)

  • 6208773 feat: realtime routes added
  • 38a306d refactor: subpages for realtime components
  • 908ecd7 refactor: move to nested routing based solution

📊 Changes

8 files changed (+260 additions, -198 deletions)

View changed files

📝 packages/hoppscotch-app/components/app/Sidenav.vue (+20 -0)
📝 packages/hoppscotch-app/components/http/TestResultEnv.vue (+4 -1)
📝 packages/hoppscotch-app/pages/realtime.vue (+55 -41)
📝 packages/hoppscotch-app/pages/realtime/Mqtt.vue (+0 -0)
📝 packages/hoppscotch-app/pages/realtime/Socketio.vue (+0 -0)
📝 packages/hoppscotch-app/pages/realtime/Sse.vue (+0 -0)
📝 packages/hoppscotch-app/pages/realtime/Websocket.vue (+0 -0)
📝 pnpm-lock.yaml (+181 -156)

📄 Description

Closes #2450

Description

Subpages in realtime page added to the system. Previously we had the same URL /realtime for WebSocket, SSE, SocketIO, and MQTT. Now URL added for the individual component.

WebSocket: https://hoppscotch.io/realtime/websocket
SSE: https://hoppscotch.io/realtime/sse
SocketIO: https://hoppscotch.io/realtime/socketio
MQTT: https://hoppscotch.io/realtime/mqtt

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

Additional Information


🔄 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/2450 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 6/21/2022 **Status:** ✅ Merged **Merged:** 6/28/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `feat/realtime-routes` --- ### 📝 Commits (3) - [`6208773`](https://github.com/hoppscotch/hoppscotch/commit/6208773bca9b5214b66c71821301b048a862707b) feat: realtime routes added - [`38a306d`](https://github.com/hoppscotch/hoppscotch/commit/38a306dbc75011652504986f2a2525668d3fae64) refactor: subpages for realtime components - [`908ecd7`](https://github.com/hoppscotch/hoppscotch/commit/908ecd780b07f667ce530f0d6c9a96117114f667) refactor: move to nested routing based solution ### 📊 Changes **8 files changed** (+260 additions, -198 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/components/app/Sidenav.vue` (+20 -0) 📝 `packages/hoppscotch-app/components/http/TestResultEnv.vue` (+4 -1) 📝 `packages/hoppscotch-app/pages/realtime.vue` (+55 -41) 📝 `packages/hoppscotch-app/pages/realtime/Mqtt.vue` (+0 -0) 📝 `packages/hoppscotch-app/pages/realtime/Socketio.vue` (+0 -0) 📝 `packages/hoppscotch-app/pages/realtime/Sse.vue` (+0 -0) 📝 `packages/hoppscotch-app/pages/realtime/Websocket.vue` (+0 -0) 📝 `pnpm-lock.yaml` (+181 -156) </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. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes #2450 <!-- Issue # here --> ### Description Subpages in realtime page added to the system. Previously we had the same URL `/realtime` for WebSocket, SSE, SocketIO, and MQTT. Now URL added for the individual component. WebSocket: `https://hoppscotch.io/realtime/websocket` SSE: `https://hoppscotch.io/realtime/sse` SocketIO: `https://hoppscotch.io/realtime/socketio` MQTT: `https://hoppscotch.io/realtime/mqtt` <!-- Add a brief description of the pull request --> <!-- 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 --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [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 ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behavior, etc. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:23:58 +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#3816
No description provided.