mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #2972] [MERGED] fix: shortcode data do not fetch or render #4169
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#4169
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/2972
Author: @anwarulislam
Created: 4/6/2023
Status: ✅ Merged
Merged: 4/6/2023
Merged by: @AndrewBastin
Base:
staging← Head:fix/shortcode-rendering📝 Commits (1)
09ec0c2fix: shortcode data do not fetch or render📊 Changes
2 files changed (+45 additions, -59 deletions)
View changed files
📝
packages/hoppscotch-common/src/components.d.ts(+1 -0)📝
packages/hoppscotch-common/src/pages/r/_id.vue(+44 -59)📄 Description
🤖 Generated by Copilot at a37b072
Summary
🎨🧰🚀
Refactored a component to use the latest Vue features and improved code reuse. Simplified the logic for adding requests to tabs with a common function. Updated
r/_id.vueto use the new function.Resolved the issue of shortcode not being fetched and rendered in a tab
Walkthrough
<script setup>syntax (link)onMountedfunction (link)addRequestToTabfunction to avoid code duplication and improve readability (link)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.