mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3180] [MERGED] feat: context menu #4273
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#4273
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/3180
Author: @nivedin
Created: 7/11/2023
Status: ✅ Merged
Merged: 8/2/2023
Merged by: @AndrewBastin
Base:
release/2023.8.0← Head:feat/context-menu📝 Commits (10+)
ab73d3efeat: contextmenu service arch5b220aefeat: context menu and add env UIedb6bc3feat: add environment modal functions327d7a4chore: clean up the code and add proper namingb8d2a83chore: add test for context menu servicea513424chore: remove replace with variable optiondcb2fffchore: update contextmenu for customcomponent text076b714chore: add i18n for textsbe412b2fix: shortcuts no result text in placeholder1853333chore: use env selector component to choose scope📊 Changes
22 files changed (+1446 additions, -76 deletions)
View changed files
📝
packages/hoppscotch-common/locales/en.json(+12 -0)📝
packages/hoppscotch-common/package.json(+1 -1)📝
packages/hoppscotch-common/src/components.d.ts(+2 -4)➕
packages/hoppscotch-common/src/components/app/ContextMenu.vue(+76 -0)📝
packages/hoppscotch-common/src/components/app/Shortcuts.vue(+4 -1)➕
packages/hoppscotch-common/src/components/environments/Add.vue(+208 -0)📝
packages/hoppscotch-common/src/components/environments/Selector.vue(+224 -60)📝
packages/hoppscotch-common/src/components/environments/index.vue(+21 -0)📝
packages/hoppscotch-common/src/components/smart/EnvInput.vue(+46 -2)📝
packages/hoppscotch-common/src/composables/codemirror.ts(+37 -0)📝
packages/hoppscotch-common/src/helpers/actions.ts(+15 -0)📝
packages/hoppscotch-common/src/pages/index.vue(+41 -0)➕
packages/hoppscotch-common/src/services/context-menu/__tests__/index.spec.ts(+114 -0)➕
packages/hoppscotch-common/src/services/context-menu/index.ts(+109 -0)➕
packages/hoppscotch-common/src/services/context-menu/menu/__tests__/environment.menu.spec.ts(+70 -0)➕
packages/hoppscotch-common/src/services/context-menu/menu/__tests__/parameter.menu.spec.ts(+94 -0)➕
packages/hoppscotch-common/src/services/context-menu/menu/__tests__/url.menu.spec.ts(+86 -0)➕
packages/hoppscotch-common/src/services/context-menu/menu/environment.menu.ts(+56 -0)➕
packages/hoppscotch-common/src/services/context-menu/menu/parameter.menu.ts(+133 -0)➕
packages/hoppscotch-common/src/services/context-menu/menu/url.menu.ts(+89 -0)...and 2 more files
📄 Description
Closes HP-16
Description
This PR adds the context menu feature where a user can select any text which popups up a menu where the user will be provided with options respectively where the text is selected.
selection done in codemirror input field and response section
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.