Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

71 changes: 0 additions & 71 deletions js/NotificationsApp-BICch1sH.chunk.mjs

This file was deleted.

1 change: 0 additions & 1 deletion js/NotificationsApp-BICch1sH.chunk.mjs.map

This file was deleted.

71 changes: 71 additions & 0 deletions js/NotificationsApp-x9fgjITt.chunk.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions js/NotificationsApp-x9fgjITt.chunk.mjs.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/index-60AoOOax.chunk.mjs → js/index-CmV4y840.chunk.mjs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/notifications-main.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('notifications', '', 'js/NotificationsApp-BICch1sH.chunk.mjs'),window.OC.filePath('notifications', '', 'js/_plugin-vue_export-helper-BI95Xr-Q.chunk.mjs'),window.OC.filePath('notifications', '', 'js/style-D4lbnCBQ.chunk.mjs'),window.OC.filePath('notifications', '', 'css/style-jUk3WdhC.chunk.css'),window.OC.filePath('notifications', '', 'css/_plugin-vue_export-helper-CYQX6I0J.chunk.css'),window.OC.filePath('notifications', '', 'js/vite-preload-helper-CpjhnH87.chunk.mjs'),window.OC.filePath('notifications', '', 'js/BrowserStorage-DQapuuXB.chunk.mjs'),window.OC.filePath('notifications', '', 'css/BrowserStorage-Ds69DkQi.chunk.css'),window.OC.filePath('notifications', '', 'css/NotificationsApp-P_QN1Cfp.chunk.css')])))=>i.map(i=>d[i]);
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('notifications', '', 'js/NotificationsApp-x9fgjITt.chunk.mjs'),window.OC.filePath('notifications', '', 'js/_plugin-vue_export-helper-BI95Xr-Q.chunk.mjs'),window.OC.filePath('notifications', '', 'js/style-D4lbnCBQ.chunk.mjs'),window.OC.filePath('notifications', '', 'css/style-jUk3WdhC.chunk.css'),window.OC.filePath('notifications', '', 'css/_plugin-vue_export-helper-CYQX6I0J.chunk.css'),window.OC.filePath('notifications', '', 'js/vite-preload-helper-CpjhnH87.chunk.mjs'),window.OC.filePath('notifications', '', 'js/BrowserStorage-DQapuuXB.chunk.mjs'),window.OC.filePath('notifications', '', 'css/BrowserStorage-Ds69DkQi.chunk.css'),window.OC.filePath('notifications', '', 'css/NotificationsApp-C9c50h1e.chunk.css')])))=>i.map(i=>d[i]);
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as o}from"./vite-preload-helper-CpjhnH87.chunk.mjs";import{c as i,d as n}from"./style-D4lbnCBQ.chunk.mjs";const m=n(()=>o(()=>import("./NotificationsApp-BICch1sH.chunk.mjs").then(t=>t.N),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url));i(m).mount("#notifications");
import{_ as o}from"./vite-preload-helper-CpjhnH87.chunk.mjs";import{c as i,d as n}from"./style-D4lbnCBQ.chunk.mjs";const m=n(()=>o(()=>import("./NotificationsApp-x9fgjITt.chunk.mjs").then(t=>t.N),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url));i(m).mount("#notifications");
//# sourceMappingURL=notifications-main.mjs.map
3 changes: 2 additions & 1 deletion src/Components/IconNotification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->

<template>
<span v-if="showDot || showWarning" class="notifications-button__icon">
<!-- Modified IconBell from material design icons -->
Expand Down Expand Up @@ -29,7 +30,7 @@
<script setup>
import { getCapabilities } from '@nextcloud/capabilities'
import { computed } from 'vue'
import IconBell from 'vue-material-design-icons/Bell.vue'
import IconBell from 'vue-material-design-icons/Bell.vue' // Filled icon as it represents app itself

defineProps({
showDot: {
Expand Down
12 changes: 6 additions & 6 deletions src/Components/NotificationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
:aria-label="t('notifications', 'Dismiss')"
@click="onDismissNotification">
<template #icon>
<Close :size="20" />
<IconClose :size="20" />
</template>
</NcButton>
</div>
Expand Down Expand Up @@ -82,7 +82,7 @@
target="_blank"
rel="noreferrer noopener">
<template #icon>
<Message :size="20" />
<IconMessageOutline :size="20" />
</template>
{{ t('notifications', 'Contact Nextcloud GmbH') }} ↗
</NcButton>
Expand All @@ -99,8 +99,8 @@ import { generateOcsUrl } from '@nextcloud/router'
import NcButton from '@nextcloud/vue/components/NcButton'
import NcDateTime from '@nextcloud/vue/components/NcDateTime'
import NcRichText from '@nextcloud/vue/components/NcRichText'
import Close from 'vue-material-design-icons/Close.vue'
import Message from 'vue-material-design-icons/Message.vue'
import IconClose from 'vue-material-design-icons/Close.vue'
import IconMessageOutline from 'vue-material-design-icons/MessageOutline.vue'
import ActionButton from './ActionButton.vue'
import DefaultParameter from './Parameters/DefaultParameter.vue'
import FileParameter from './Parameters/FileParameter.vue'
Expand Down Expand Up @@ -141,8 +141,8 @@ export default {
ActionButton,
NcButton,
NcDateTime,
Close,
Message,
IconClose,
IconMessageOutline,
NcRichText,
},

Expand Down
12 changes: 6 additions & 6 deletions src/NotificationsApp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
:name="emptyContentMessage"
:description="emptyContentDescription">
<template #icon>
<IconBell v-if="!hasThrottledPushNotifications" />
<IconBellOutline v-if="!hasThrottledPushNotifications" />
<span v-else class="icon icon-alert-outline" />
</template>

Expand All @@ -55,7 +55,7 @@
target="_blank"
rel="noreferrer noopener">
<template #icon>
<IconMessage :size="20" />
<IconMessageOutline :size="20" />
</template>
{{ t('notifications', 'Contact Nextcloud GmbH') }} ↗
</NcButton>
Expand Down Expand Up @@ -91,9 +91,9 @@ import { generateOcsUrl, imagePath } from '@nextcloud/router'
import NcButton from '@nextcloud/vue/components/NcButton'
import NcEmptyContent from '@nextcloud/vue/components/NcEmptyContent'
import NcHeaderMenu from '@nextcloud/vue/components/NcHeaderMenu'
import IconBell from 'vue-material-design-icons/Bell.vue'
import IconBellOutline from 'vue-material-design-icons/BellOutline.vue'
import IconClose from 'vue-material-design-icons/Close.vue'
import IconMessage from 'vue-material-design-icons/Message.vue'
import IconMessageOutline from 'vue-material-design-icons/MessageOutline.vue'
import IconNotification from './Components/IconNotification.vue'
import NotificationItem from './Components/NotificationItem.vue'
import { getNotificationsData } from './services/notificationsService.js'
Expand Down Expand Up @@ -123,9 +123,9 @@ export default {
name: 'NotificationsApp',

components: {
IconBell,
IconBellOutline,
IconClose,
IconMessage,
IconMessageOutline,
IconNotification,
NcButton,
NcEmptyContent,
Expand Down