mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #2228] [MERGED] refactor: real-time system #3682
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#3682
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/2228
Author: @anwarulislam
Created: 4/2/2022
Status: ✅ Merged
Merged: 5/28/2022
Merged by: @liyasthomas
Base:
main← Head:refactor/websocket-system-revamp📝 Commits (10+)
07c13adrefactor: realtime system revampb313d40refactor: timestamp issue fixed57781f2refactor: i18n improved976e9e6refactor: mqtt connection issue fixed47648a3refactor: non-empty body sending not allowed without connection5d5679arefactor: non-empty body sending not allowed without connectionc22b0abrefactor: button disabled while no connection established5980bccfix: linter not updating when switched from non-null to null1817a5dfix: syntax highlighting removed for raw text6b6bc61fix: ts is optional for log and default value to 0📊 Changes
24 files changed (+2120 additions, -1801 deletions)
View changed files
➕
packages/hoppscotch-app/assets/icons/send.svg(+4 -0)📝
packages/hoppscotch-app/components/app/PaneLayout.vue(+6 -1)➕
packages/hoppscotch-app/components/realtime/Communication.vue(+221 -0)📝
packages/hoppscotch-app/components/realtime/Log.vue(+2 -1)📝
packages/hoppscotch-app/components/realtime/LogEntry.vue(+19 -19)📝
packages/hoppscotch-app/components/realtime/Mqtt.vue(+217 -256)📝
packages/hoppscotch-app/components/realtime/Socketio.vue(+331 -425)📝
packages/hoppscotch-app/components/realtime/Sse.vue(+128 -159)📝
packages/hoppscotch-app/components/realtime/Websocket.vue(+307 -376)📝
packages/hoppscotch-app/helpers/editor/codemirror.ts(+8 -13)➕
packages/hoppscotch-app/helpers/realtime/MQTTConnection.ts(+223 -0)➕
packages/hoppscotch-app/helpers/realtime/SIOClients.ts(+84 -0)➕
packages/hoppscotch-app/helpers/realtime/SIOConnection.ts(+163 -0)➕
packages/hoppscotch-app/helpers/realtime/SSEConnection.ts(+86 -0)➕
packages/hoppscotch-app/helpers/realtime/WSConnection.ts(+102 -0)📝
packages/hoppscotch-app/helpers/types/HoppRealtimeLog.ts(+2 -1)📝
packages/hoppscotch-app/locales/en.json(+15 -2)📝
packages/hoppscotch-app/newstore/MQTTSession.ts(+8 -40)📝
packages/hoppscotch-app/newstore/SSESession.ts(+5 -40)📝
packages/hoppscotch-app/newstore/SocketIOSession.ts(+7 -38)...and 4 more files
📄 Description
Description
WebSocket System Revamp: Migrate from Option API with JS to Script Setup on TS
Checks
Additional Information
WebSocket.vuecomponent migrated to script setup in TS from JS options API🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.