mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #2347] [MERGED] feat: UI of shortcode actions #3750
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#3750
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/2347
Author: @nivedin
Created: 5/19/2022
Status: ✅ Merged
Merged: 5/24/2022
Merged by: @liyasthomas
Base:
main← Head:feat/shortcode-UI📝 Commits (10+)
bd19b52feat: added deletion and listing shortcodes mthods in graphQlebf9faefeat: added shortcodes create and delete subscription listeners9eaf8b4feat: implemented shortcodes apdaptera1ff537feat: implemented shortcodes table UI33c7384feat: added view all shortcodes cta link0d6a401fix: minor UI updation80db027chore: update table column widthfb15cbcfix: used pipe instead of flow for pcopy icon type, change methodLabel to readonly const5409a91refactor: fix variable name and made if condition more readable1c2f1a7refactor: used readOnlystream for fetching shortcodes📊 Changes
12 files changed (+631 additions, -118 deletions)
View changed files
📝
packages/hoppscotch-app/components/http/Request.vue(+37 -25)➕
packages/hoppscotch-app/components/profile/Shortcode.vue(+135 -0)➕
packages/hoppscotch-app/helpers/backend/gql/mutations/DeleteShortcode.graphql(+3 -0)➕
packages/hoppscotch-app/helpers/backend/gql/queries/GetMyShortcodes.graphql(+7 -0)➕
packages/hoppscotch-app/helpers/backend/gql/subscriptions/ShortcodeCreated.graphql(+7 -0)➕
packages/hoppscotch-app/helpers/backend/gql/subscriptions/ShortcodeDeleted.graphql(+5 -0)📝
packages/hoppscotch-app/helpers/backend/helpers.ts(+1 -1)📝
packages/hoppscotch-app/helpers/backend/mutations/Shortcode.ts(+14 -0)➕
packages/hoppscotch-app/helpers/shortcodes/Shortcode.ts(+8 -0)➕
packages/hoppscotch-app/helpers/shortcodes/ShortcodeListAdapter.ts(+149 -0)📝
packages/hoppscotch-app/locales/en.json(+15 -1)📝
packages/hoppscotch-app/pages/profile.vue(+250 -91)📄 Description
Description
This PR introduces a feature in which authenticated user can view their created shortcodes and can delete, copy shortcode link or open the request from their profile page.
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.