mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3486] [MERGED] feat: shared request #4401
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#4401
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/3486
Author: @nivedin
Created: 11/1/2023
Status: ✅ Merged
Merged: 12/4/2023
Merged by: @AndrewBastin
Base:
release/2023.12.0← Head:feat/share-request📝 Commits (10+)
636ee3ffeat: share request UI71ccd97feat: customize shared request flow1c2c028chore: new flow for share request95614cfrefactor: minor code refactoring87da8f8chore: remove unnecessary code0e4ef42chore: minor code refactor8d1fd4bchore: minor code refactor8e0bfadrefactor: use emit to open new request5788ad5refactor: remove copy link shortcut and spotlightbfbf30frefactor: remove shortcode components📊 Changes
35 files changed (+1525 additions, -517 deletions)
View changed files
📝
packages/hoppscotch-common/locales/en.json(+33 -11)📝
packages/hoppscotch-common/src/components.d.ts(+10 -0)📝
packages/hoppscotch-common/src/components/collections/MyCollections.vue(+12 -0)📝
packages/hoppscotch-common/src/components/collections/Request.vue(+16 -0)📝
packages/hoppscotch-common/src/components/collections/TeamCollections.vue(+12 -0)📝
packages/hoppscotch-common/src/components/collections/index.vue(+14 -1)📝
packages/hoppscotch-common/src/components/environments/Add.vue(+1 -1)📝
packages/hoppscotch-common/src/components/http/Request.vue(+16 -69)📝
packages/hoppscotch-common/src/components/http/Sidebar.vue(+8 -0)➖
packages/hoppscotch-common/src/components/profile/Shortcode.vue(+0 -122)➖
packages/hoppscotch-common/src/components/profile/Shortcodes.vue(+0 -168)📝
packages/hoppscotch-common/src/components/profile/UserDelete.vue(+1 -6)➕
packages/hoppscotch-common/src/components/share/CreateModal.vue(+140 -0)➕
packages/hoppscotch-common/src/components/share/CustomizeModal.vue(+418 -0)➕
packages/hoppscotch-common/src/components/share/Modal.vue(+123 -0)➕
packages/hoppscotch-common/src/components/share/Request.vue(+155 -0)➕
packages/hoppscotch-common/src/components/share/index.vue(+308 -0)➕
packages/hoppscotch-common/src/components/share/templates/Button.vue(+19 -0)➕
packages/hoppscotch-common/src/components/share/templates/Embeds.vue(+101 -0)➕
packages/hoppscotch-common/src/components/share/templates/Link.vue(+29 -0)...and 15 more files
📄 Description
Closes HFE-256
Description
This PR introduces a new way of sharing request. Previously the user created a shortcode that contains a link of the request now a new flow is introduced.
Users can now share requests from:
Upon clicking the "Share Request" option, a modal window opens, offering different ways to share the request:
After clicking the "Create" button, a shared request is generated, and the user can modify the selected option or change the widget style in the next section.
Subsequently, the user can copy the widget style in HTML, Markdown, or simply copy the link.
Users can now access all the shared requests in the newly introduced "Shared Request" section in the sidebar.
The user has the option to open the request in a new tab, delete, or customize the created shared request from this section.
Checks
Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.