mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #2240] [MERGED] refactor: realtime log entry revamp #3689
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#3689
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/2240
Author: @joeljstephen
Created: 4/6/2022
Status: ✅ Merged
Merged: 5/9/2022
Merged by: @liyasthomas
Base:
main← Head:refactor/realtime-logs📝 Commits (10+)
bd3dc02refactor: realtime log entry revampf2046a8refactor: added codemirror instance for json responses783b67bfeat: added tabs for json and raw codemirror instances70acf35fix: minor corrections30e03efrefactor: initial autoscroll implementationc835a18refactor: implemented color changes for autoscroll buttone790728fix: proper scrolling setup for logsea5f860chore: cleanup log code7cd35f4refactor: change autoscroll mechanism to throttled update based8253dd5feat: implemented clearing of log entries📊 Changes
18 files changed (+653 additions, -144 deletions)
View changed files
➕
packages/hoppscotch-app/assets/icons/arrow-down-left.svg(+4 -0)➕
packages/hoppscotch-app/assets/icons/arrow-down.svg(+4 -0)➕
packages/hoppscotch-app/assets/icons/arrow-up-right.svg(+4 -0)➕
packages/hoppscotch-app/assets/icons/arrow-up.svg(+4 -0)➕
packages/hoppscotch-app/assets/icons/chevrons-down.svg(+4 -0)➕
packages/hoppscotch-app/assets/icons/chevrons-up.svg(+4 -0)➕
packages/hoppscotch-app/assets/icons/info-disconnect.svg(+5 -0)➕
packages/hoppscotch-app/assets/icons/info-realtime.svg(+5 -0)📝
packages/hoppscotch-app/components/realtime/Log.vue(+97 -46)➕
packages/hoppscotch-app/components/realtime/LogEntry.vue(+388 -0)📝
packages/hoppscotch-app/components/realtime/Mqtt.vue(+29 -22)📝
packages/hoppscotch-app/components/realtime/Socketio.vue(+22 -14)📝
packages/hoppscotch-app/components/realtime/Sse.vue(+25 -17)📝
packages/hoppscotch-app/components/realtime/Websocket.vue(+23 -18)📝
packages/hoppscotch-app/helpers/functional/json.ts(+8 -0)➖
packages/hoppscotch-app/helpers/utils/string.ts(+0 -12)📝
packages/hoppscotch-app/locales/en.json(+3 -0)📝
pnpm-lock.yaml(+24 -15)📄 Description
Description
Revamped the log component and included a new component that handles the UI for each log entry. Changed type definition for log entry data (removed color attribute, added event attribute and refactored the timestamp attribute).
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.