From 94afb626eb0c0a8ea78021be103f3cf14f2a9c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=8Carodej?= Date: Wed, 1 Jun 2022 10:09:18 +0200 Subject: [PATCH] - When new user was created via admin, the verification email was send - Item name in list view type is now extended on the full page width --- changelog.md | 2 ++ resources/js/components/Popups/Alert.vue | 20 ++++++++----------- .../js/components/Spotlight/Spotlight.vue | 7 +++++++ .../js/components/UI/Entries/ItemList.vue | 16 ++++++++++----- .../components/UI/Entries/ThumbnailItem.vue | 9 +++------ .../js/components/UI/Labels/TitlePreview.vue | 2 +- .../views/Admin/Users/UserTabs/UserDelete.vue | 4 ++-- resources/js/views/Platform.vue | 4 ++-- resources/js/views/Shared.vue | 4 ++-- resources/js/views/UploadRequest.vue | 4 ++-- routes/admin.php | 5 +++-- src/App/Users/Actions/CreateNewUserAction.php | 2 -- .../Authentication/RegisterUserController.php | 3 +++ 13 files changed, 46 insertions(+), 36 deletions(-) diff --git a/changelog.md b/changelog.md index f4127c17..92b0cf88 100644 --- a/changelog.md +++ b/changelog.md @@ -7,6 +7,8 @@ - You are now allowed to set price for metered billing in 3 decimal places - Solved UI issue with empty notification popup - Plans in fixed subscription are now automatically sorted from lower to higher price +- When new user was created via admin, the verification email was send +- Item name in list view type is now extended on the full page width ### New Features - API version 1 released diff --git a/resources/js/components/Popups/Alert.vue b/resources/js/components/Popups/Alert.vue index 4af7b0c1..06d7d302 100644 --- a/resources/js/components/Popups/Alert.vue +++ b/resources/js/components/Popups/Alert.vue @@ -8,7 +8,8 @@
- + +

{{ title }} @@ -46,7 +47,8 @@ export default { message: undefined, title: undefined, button: undefined, - emoji: undefined, + isSuccess: undefined, + isAlert: undefined, } }, methods: { @@ -58,18 +60,14 @@ export default { // Show alert events.$on('alert:open', (args) => { this.isVisibleWrapper = true + this.isAlert = true this.title = args.title || undefined this.message = args.message || undefined this.button = this.$te('alerts.error_confirm') ? this.$t('alerts.error_confirm') : 'That’s horrible!' - this.emoji = '😒😒😒' this.buttonStyle = 'danger' - if (args.emoji) { - this.emoji = args.emoji - } - if (args.buttonStyle) { this.buttonStyle = args.buttonStyle } @@ -82,22 +80,20 @@ export default { // Show alert events.$on('success:open', (args) => { this.isVisibleWrapper = true + this.isSuccess = true this.title = args.title this.message = args.message this.button = this.$t('alerts.success_confirm') - this.emoji = 'πŸ₯³πŸ₯³πŸ₯³' this.buttonStyle = 'theme' - - if (args.emoji) { - this.emoji = args.emoji - } }) // Close popup events.$on('popup:close', () => { this.isVisibleWrapper = false + this.isSuccess = undefined + this.isAlert = undefined }) }, } diff --git a/resources/js/components/Spotlight/Spotlight.vue b/resources/js/components/Spotlight/Spotlight.vue index 1611e567..2b21119d 100644 --- a/resources/js/components/Spotlight/Spotlight.vue +++ b/resources/js/components/Spotlight/Spotlight.vue @@ -1,5 +1,6 @@