mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #1720] [MERGED] refactor: modals #3465
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#3465
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/1720
Author: @s-r-x
Created: 6/14/2021
Status: ✅ Merged
Merged: 6/15/2021
Merged by: @liyasthomas
Base:
main← Head:fix/modals📝 Commits (4)
1411be3refactor: * @linusborg/vue-simple-portal dependency. * Emit "close" event inside generic Modal component on backdrop click. * Render Modal in Portal. * Listen for "escape" key input(when it controls visibility of various modals) directly in Modal component. * remove "escape" key listeners from components/collections/index.vue, pages/index.vue and other components that render modals. * "escape" key now closes only the active modal, not all at once(in case when there are multiple modals, for example "save request" and "new folder" on top of it"471cec4fix: modal exit animation / move from vue-simple-portal to the custom portal solution9cbdc77chore: rm @linusborg/vue-simple-portal dep63709c0chore: lint📊 Changes
9 files changed (+38525 additions, -175 deletions)
View changed files
📝
components/app/Header.vue(+0 -11)📝
components/collections/graphql/index.vue(+0 -18)📝
components/collections/index.vue(+0 -17)📝
components/environments/index.vue(+0 -15)📝
components/firebase/Email.vue(+0 -11)📝
components/smart/ConfirmModal.vue(+0 -12)📝
components/smart/Modal.vue(+64 -2)📝
package-lock.json(+38461 -80)📝
pages/index.vue(+0 -9)📄 Description
Hello ^-^. This pr fixes various modal ux pain points and makes the procedure of adding a new modal more convenient for developers
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.