mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[PR #1597] [MERGED] feat: turn overlay functionalities into composable #1800
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1800
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/koel/koel/pull/1597
Author: @phanan
Created: 11/19/2022
Status: ✅ Merged
Merged: 11/19/2022
Merged by: @phanan
Base:
master← Head:feat/overlay-comp📝 Commits (3)
867001dfeat: turn overlay functionalities into composable604ecc1revert:c68b3186ba11fb3bfix: broken tests📊 Changes
20 files changed (+93 additions, -146 deletions)
View changed files
📝
resources/assets/js/App.vue(+6 -6)📝
resources/assets/js/__tests__/UnitTestCase.ts(+8 -2)📝
resources/assets/js/__tests__/stubs.ts(+6 -0)📝
resources/assets/js/components/screens/SettingsScreen.vue(+3 -2)📝
resources/assets/js/components/song/EditSongForm.spec.ts(+5 -0)📝
resources/assets/js/components/song/SongContextMenu.spec.ts(+2 -0)➖
resources/assets/js/components/ui/Overlay.spec.ts(+0 -48)📝
resources/assets/js/components/ui/Overlay.vue(+2 -4)➖
resources/assets/js/components/ui/__snapshots__/Overlay.spec.ts.snap(+0 -56)📝
resources/assets/js/components/user/AddUserForm.spec.ts(+4 -0)📝
resources/assets/js/components/user/EditUserForm.spec.ts(+4 -0)📝
resources/assets/js/components/utils/GlobalEventListeners.ts(+10 -4)📝
resources/assets/js/composables/index.ts(+1 -0)📝
resources/assets/js/composables/useDialogBox.ts(+10 -6)📝
resources/assets/js/composables/useMessageToaster.ts(+9 -5)➕
resources/assets/js/composables/useOverlay.ts(+15 -0)📝
resources/assets/js/composables/useRouter.ts(+5 -2)📝
resources/assets/js/config/events.ts(+0 -2)📝
resources/assets/js/symbols.ts(+2 -0)📝
resources/assets/js/utils/common.ts(+1 -9)📄 Description
Also rewriting the DialogBox, MessageToast, and Router composables so that the instances are reused (singletons) throughout the app. This makes testing possible again.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.