mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #3057] [MERGED] feat: rename request by double clicking its name on tabs #4209
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#4209
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/3057
Author: @anwarulislam
Created: 5/15/2023
Status: ✅ Merged
Merged: 5/24/2023
Merged by: @AndrewBastin
Base:
release/2023.4.4← Head:feat/dbl-click-change-request-name📝 Commits (5)
8a6e11cfeat: rename request by double clicking itss name on tabs0fa5dcechore: i18n update685a05fchore: using editrequest component607e37bfix: empty name issue on dblclick3ac896bchore: remove unused i18n string📊 Changes
3 files changed (+29 additions, -12 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/collections/EditRequest.vue(+5 -11)📝
packages/hoppscotch-common/src/components/collections/index.vue(+1 -1)📝
packages/hoppscotch-common/src/pages/index.vue(+23 -0)📄 Description
Summary
🖊️🚀🎨
Added a feature to rename requests in
index.vue. Users can double-click on a request name and enter a new name in a modal dialog.Walkthrough
renamingReqNameandreqName, to control the modal dialog and the input value (packages/hoppscotch-common/src/pages/index.vuelink)openReqRenameModalandrenameReqName, to open the modal and update the request name (packages/hoppscotch-common/src/pages/index.vuelink)openReqRenameModal(packages/hoppscotch-common/src/pages/index.vuelink)renamingReqNameandreqNameand emits acloseevent (packages/hoppscotch-common/src/pages/index.vuelink)keyup.enterevent listener to the input field that callsrenameReqName(packages/hoppscotch-common/src/pages/index.vuelink)Closes HFE-53
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.