mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 03:14:40 +03:00
UBERF-6478: make icons more clear (#5320)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
ed6fe769a4
commit
e6fc2fd12b
@ -499,7 +499,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
action: notification.actionImpl.ReadNotifyContext,
|
action: notification.actionImpl.ReadNotifyContext,
|
||||||
label: notification.string.MarkAsRead,
|
label: notification.string.MarkAsRead,
|
||||||
icon: notification.icon.Notifications,
|
icon: view.icon.Eye,
|
||||||
input: 'focus',
|
input: 'focus',
|
||||||
visibilityTester: notification.function.CanReadNotifyContext,
|
visibilityTester: notification.function.CanReadNotifyContext,
|
||||||
category: notification.category.Notification,
|
category: notification.category.Notification,
|
||||||
@ -514,7 +514,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
action: notification.actionImpl.UnReadNotifyContext,
|
action: notification.actionImpl.UnReadNotifyContext,
|
||||||
label: notification.string.MarkAsUnread,
|
label: notification.string.MarkAsUnread,
|
||||||
icon: notification.icon.Notifications,
|
icon: view.icon.EyeCrossed,
|
||||||
input: 'focus',
|
input: 'focus',
|
||||||
visibilityTester: notification.function.CanUnReadNotifyContext,
|
visibilityTester: notification.function.CanUnReadNotifyContext,
|
||||||
category: notification.category.Notification,
|
category: notification.category.Notification,
|
||||||
@ -529,7 +529,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
action: notification.actionImpl.DeleteContextNotifications,
|
action: notification.actionImpl.DeleteContextNotifications,
|
||||||
label: notification.string.Archive,
|
label: notification.string.Archive,
|
||||||
icon: view.icon.Archive,
|
icon: view.icon.CheckCircle,
|
||||||
input: 'focus',
|
input: 'focus',
|
||||||
category: notification.category.Notification,
|
category: notification.category.Notification,
|
||||||
target: notification.class.DocNotifyContext,
|
target: notification.class.DocNotifyContext,
|
||||||
@ -543,7 +543,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
action: notification.actionImpl.Unsubscribe,
|
action: notification.actionImpl.Unsubscribe,
|
||||||
label: notification.string.Unsubscribe,
|
label: notification.string.Unsubscribe,
|
||||||
icon: view.icon.EyeCrossed,
|
icon: notification.icon.BellCrossed,
|
||||||
input: 'focus',
|
input: 'focus',
|
||||||
category: notification.category.Notification,
|
category: notification.category.Notification,
|
||||||
target: notification.class.DocNotifyContext,
|
target: notification.class.DocNotifyContext,
|
||||||
@ -594,7 +594,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
action: notification.actionImpl.ArchiveAll,
|
action: notification.actionImpl.ArchiveAll,
|
||||||
label: notification.string.ArchiveAll,
|
label: notification.string.ArchiveAll,
|
||||||
icon: view.icon.Archive,
|
icon: view.icon.CheckCircle,
|
||||||
keyBinding: [],
|
keyBinding: [],
|
||||||
input: 'none',
|
input: 'none',
|
||||||
category: notification.category.Notification,
|
category: notification.category.Notification,
|
||||||
@ -612,7 +612,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
action: notification.actionImpl.ReadAll,
|
action: notification.actionImpl.ReadAll,
|
||||||
label: notification.string.MarkReadAll,
|
label: notification.string.MarkReadAll,
|
||||||
icon: notification.icon.ReadAll,
|
icon: view.icon.Eye,
|
||||||
keyBinding: [],
|
keyBinding: [],
|
||||||
input: 'none',
|
input: 'none',
|
||||||
category: notification.category.Notification,
|
category: notification.category.Notification,
|
||||||
@ -630,7 +630,7 @@ export function createModel (builder: Builder): void {
|
|||||||
{
|
{
|
||||||
action: notification.actionImpl.UnreadAll,
|
action: notification.actionImpl.UnreadAll,
|
||||||
label: notification.string.MarkUnreadAll,
|
label: notification.string.MarkUnreadAll,
|
||||||
icon: notification.icon.UnreadAll,
|
icon: view.icon.EyeCrossed,
|
||||||
keyBinding: [],
|
keyBinding: [],
|
||||||
input: 'none',
|
input: 'none',
|
||||||
category: notification.category.Notification,
|
category: notification.category.Notification,
|
||||||
|
@ -210,14 +210,14 @@ function getDirectActions (): Action[] {
|
|||||||
function getActivityActions (contexts: DocNotifyContext[]): Action[] {
|
function getActivityActions (contexts: DocNotifyContext[]): Action[] {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
icon: notification.icon.ReadAll,
|
icon: view.icon.Eye,
|
||||||
label: notification.string.MarkReadAll,
|
label: notification.string.MarkReadAll,
|
||||||
action: async () => {
|
action: async () => {
|
||||||
await readActivityChannels(contexts)
|
await readActivityChannels(contexts)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: view.icon.Archive,
|
icon: view.icon.CheckCircle,
|
||||||
label: notification.string.ArchiveAll,
|
label: notification.string.ArchiveAll,
|
||||||
action: async () => {
|
action: async () => {
|
||||||
archiveActivityChannels(contexts)
|
archiveActivityChannels(contexts)
|
||||||
|
@ -2,29 +2,11 @@
|
|||||||
<symbol id="notifications" viewBox="0 0 16 16">
|
<symbol id="notifications" viewBox="0 0 16 16">
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.5 1.5C8.5 1.22386 8.27614 1 8 1C7.72386 1 7.5 1.22386 7.5 1.5V2.02746C5.25002 2.27619 3.5 4.18372 3.5 6.5V7.44766C3.5 8.01534 3.3068 8.56611 2.95217 9.00939L2.09004 10.0871C1.70809 10.5645 1.5 11.1577 1.5 11.7691C1.5 12.4489 2.05108 13 2.73087 13H6C6 13.2626 6.05173 13.5227 6.15224 13.7654C6.25275 14.008 6.40007 14.2285 6.58579 14.4142C6.7715 14.5999 6.99198 14.7472 7.23463 14.8478C7.47728 14.9483 7.73736 15 8 15C8.26264 15 8.52272 14.9483 8.76537 14.8478C9.00802 14.7472 9.2285 14.5999 9.41421 14.4142C9.59993 14.2285 9.74725 14.008 9.84776 13.7654C9.94827 13.5227 10 13.2626 10 13H13.2691C13.9489 13 14.5 12.4489 14.5 11.7691C14.5 11.1577 14.2919 10.5645 13.91 10.0871L13.0478 9.00939C12.6932 8.56611 12.5 8.01534 12.5 7.44766V6.5C12.5 4.18372 10.75 2.27619 8.5 2.02746V1.5ZM9 13H7C7 13.1313 7.02587 13.2614 7.07612 13.3827C7.12638 13.504 7.20003 13.6142 7.29289 13.7071C7.38575 13.8 7.49599 13.8736 7.61732 13.9239C7.73864 13.9741 7.86868 14 8 14C8.13132 14 8.26136 13.9741 8.38268 13.9239C8.50401 13.8736 8.61425 13.8 8.70711 13.7071C8.79997 13.6142 8.87362 13.504 8.92388 13.3827C8.97413 13.2614 9 13.1313 9 13ZM2.5 11.7691C2.5 11.8966 2.60336 12 2.73087 12H13.2691C13.3966 12 13.5 11.8966 13.5 11.7691C13.5 11.3848 13.3692 11.0119 13.1291 10.7118L12.267 9.63409C11.7705 9.01349 11.5 8.24241 11.5 7.44766V6.5C11.5 4.567 9.933 3 8 3C6.067 3 4.5 4.567 4.5 6.5V7.44766C4.5 8.24241 4.22952 9.01349 3.73304 9.63409L2.87091 10.7118C2.63081 11.0119 2.5 11.3848 2.5 11.7691Z" />
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.5 1.5C8.5 1.22386 8.27614 1 8 1C7.72386 1 7.5 1.22386 7.5 1.5V2.02746C5.25002 2.27619 3.5 4.18372 3.5 6.5V7.44766C3.5 8.01534 3.3068 8.56611 2.95217 9.00939L2.09004 10.0871C1.70809 10.5645 1.5 11.1577 1.5 11.7691C1.5 12.4489 2.05108 13 2.73087 13H6C6 13.2626 6.05173 13.5227 6.15224 13.7654C6.25275 14.008 6.40007 14.2285 6.58579 14.4142C6.7715 14.5999 6.99198 14.7472 7.23463 14.8478C7.47728 14.9483 7.73736 15 8 15C8.26264 15 8.52272 14.9483 8.76537 14.8478C9.00802 14.7472 9.2285 14.5999 9.41421 14.4142C9.59993 14.2285 9.74725 14.008 9.84776 13.7654C9.94827 13.5227 10 13.2626 10 13H13.2691C13.9489 13 14.5 12.4489 14.5 11.7691C14.5 11.1577 14.2919 10.5645 13.91 10.0871L13.0478 9.00939C12.6932 8.56611 12.5 8.01534 12.5 7.44766V6.5C12.5 4.18372 10.75 2.27619 8.5 2.02746V1.5ZM9 13H7C7 13.1313 7.02587 13.2614 7.07612 13.3827C7.12638 13.504 7.20003 13.6142 7.29289 13.7071C7.38575 13.8 7.49599 13.8736 7.61732 13.9239C7.73864 13.9741 7.86868 14 8 14C8.13132 14 8.26136 13.9741 8.38268 13.9239C8.50401 13.8736 8.61425 13.8 8.70711 13.7071C8.79997 13.6142 8.87362 13.504 8.92388 13.3827C8.97413 13.2614 9 13.1313 9 13ZM2.5 11.7691C2.5 11.8966 2.60336 12 2.73087 12H13.2691C13.3966 12 13.5 11.8966 13.5 11.7691C13.5 11.3848 13.3692 11.0119 13.1291 10.7118L12.267 9.63409C11.7705 9.01349 11.5 8.24241 11.5 7.44766V6.5C11.5 4.567 9.933 3 8 3C6.067 3 4.5 4.567 4.5 6.5V7.44766C4.5 8.24241 4.22952 9.01349 3.73304 9.63409L2.87091 10.7118C2.63081 11.0119 2.5 11.3848 2.5 11.7691Z" />
|
||||||
</symbol>
|
</symbol>
|
||||||
|
<symbol id="bell-crossed" viewBox="0 0 16 16">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.5 1.5C8.5 1.22386 8.27614 1 8 1C7.72386 1 7.5 1.22386 7.5 1.5V2.02746C5.25002 2.27619 3.5 4.18372 3.5 6.5V7.44766C3.5 8.01534 3.3068 8.56611 2.95217 9.00939L2.09004 10.0871C1.70809 10.5645 1.5 11.1577 1.5 11.7691C1.5 12.4489 2.05108 13 2.73087 13H6C6 13.2626 6.05173 13.5227 6.15224 13.7654C6.25275 14.008 6.40007 14.2285 6.58579 14.4142C6.7715 14.5999 6.99198 14.7472 7.23463 14.8478C7.47728 14.9483 7.73736 15 8 15C8.26264 15 8.52272 14.9483 8.76537 14.8478C9.00802 14.7472 9.2285 14.5999 9.41421 14.4142C9.59993 14.2285 9.74725 14.008 9.84776 13.7654C9.94827 13.5227 10 13.2626 10 13H13.2691C13.9489 13 14.5 12.4489 14.5 11.7691C14.5 11.1577 14.2919 10.5645 13.91 10.0871L13.0478 9.00939C12.6932 8.56611 12.5 8.01534 12.5 7.44766V6.5C12.5 4.18372 10.75 2.27619 8.5 2.02746V1.5ZM9 13H7C7 13.1313 7.02587 13.2614 7.07612 13.3827C7.12638 13.504 7.20003 13.6142 7.29289 13.7071C7.38575 13.8 7.49599 13.8736 7.61732 13.9239C7.73864 13.9741 7.86868 14 8 14C8.13132 14 8.26136 13.9741 8.38268 13.9239C8.50401 13.8736 8.61425 13.8 8.70711 13.7071C8.79997 13.6142 8.87362 13.504 8.92388 13.3827C8.97413 13.2614 9 13.1313 9 13ZM2.5 11.7691C2.5 11.8966 2.60336 12 2.73087 12H13.2691C13.3966 12 13.5 11.8966 13.5 11.7691C13.5 11.3848 13.3692 11.0119 13.1291 10.7118L12.267 9.63409C11.7705 9.01349 11.5 8.24241 11.5 7.44766V6.5C11.5 4.567 9.933 3 8 3C6.067 3 4.5 4.567 4.5 6.5V7.44766C4.5 8.24241 4.22952 9.01349 3.73304 9.63409L2.87091 10.7118C2.63081 11.0119 2.5 11.3848 2.5 11.7691Z"/>
|
||||||
|
<path d="M1 15L15 1" stroke="currentColor" stroke-linecap="round"/>
|
||||||
|
</symbol>
|
||||||
<symbol id="inbox" viewBox="0 0 24 24">
|
<symbol id="inbox" viewBox="0 0 24 24">
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 4.5C6.7918 4.5 6.12492 4.83344 5.7 5.4L1.65 10.8C1.55263 10.9298 1.5 11.0877 1.5 11.25V16.5C1.5 18.1569 2.84315 19.5 4.5 19.5H19.5C21.1569 19.5 22.5 18.1569 22.5 16.5V11.25C22.5 11.0877 22.4474 10.9298 22.35 10.8L18.3 5.4C17.8751 4.83344 17.2082 4.5 16.5 4.5H7.5ZM6.9 6.3C7.04164 6.11115 7.26393 6 7.5 6H16.5C16.7361 6 16.9584 6.11115 17.1 6.3L20.25 10.5H14.25C13.8358 10.5 13.5 10.8358 13.5 11.25C13.5 11.447 13.4612 11.642 13.3858 11.824C13.3104 12.006 13.1999 12.1714 13.0607 12.3107C12.9214 12.4499 12.756 12.5604 12.574 12.6358C12.392 12.7112 12.197 12.75 12 12.75C11.803 12.75 11.608 12.7112 11.426 12.6358C11.244 12.5604 11.0786 12.4499 10.9393 12.3107C10.8001 12.1714 10.6896 12.006 10.6142 11.824C10.5388 11.642 10.5 11.447 10.5 11.25C10.5 10.8358 10.1642 10.5 9.75 10.5H3.75L6.9 6.3ZM9.09526 12H3V16.5C3 17.3284 3.67157 18 4.5 18H19.5C20.3284 18 21 17.3284 21 16.5V12H14.9047C14.8698 12.1353 14.8254 12.2683 14.7716 12.3981C14.6209 12.762 14.3999 13.0927 14.1213 13.3713C13.8427 13.6499 13.512 13.8709 13.1481 14.0216C12.7841 14.1724 12.394 14.25 12 14.25C11.606 14.25 11.2159 14.1724 10.8519 14.0216C10.488 13.8709 10.1573 13.6499 9.87868 13.3713C9.6001 13.0927 9.37913 12.762 9.22836 12.3981C9.17464 12.2683 9.1302 12.1353 9.09526 12Z" />
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 4.5C6.7918 4.5 6.12492 4.83344 5.7 5.4L1.65 10.8C1.55263 10.9298 1.5 11.0877 1.5 11.25V16.5C1.5 18.1569 2.84315 19.5 4.5 19.5H19.5C21.1569 19.5 22.5 18.1569 22.5 16.5V11.25C22.5 11.0877 22.4474 10.9298 22.35 10.8L18.3 5.4C17.8751 4.83344 17.2082 4.5 16.5 4.5H7.5ZM6.9 6.3C7.04164 6.11115 7.26393 6 7.5 6H16.5C16.7361 6 16.9584 6.11115 17.1 6.3L20.25 10.5H14.25C13.8358 10.5 13.5 10.8358 13.5 11.25C13.5 11.447 13.4612 11.642 13.3858 11.824C13.3104 12.006 13.1999 12.1714 13.0607 12.3107C12.9214 12.4499 12.756 12.5604 12.574 12.6358C12.392 12.7112 12.197 12.75 12 12.75C11.803 12.75 11.608 12.7112 11.426 12.6358C11.244 12.5604 11.0786 12.4499 10.9393 12.3107C10.8001 12.1714 10.6896 12.006 10.6142 11.824C10.5388 11.642 10.5 11.447 10.5 11.25C10.5 10.8358 10.1642 10.5 9.75 10.5H3.75L6.9 6.3ZM9.09526 12H3V16.5C3 17.3284 3.67157 18 4.5 18H19.5C20.3284 18 21 17.3284 21 16.5V12H14.9047C14.8698 12.1353 14.8254 12.2683 14.7716 12.3981C14.6209 12.762 14.3999 13.0927 14.1213 13.3713C13.8427 13.6499 13.512 13.8709 13.1481 14.0216C12.7841 14.1724 12.394 14.25 12 14.25C11.606 14.25 11.2159 14.1724 10.8519 14.0216C10.488 13.8709 10.1573 13.6499 9.87868 13.3713C9.6001 13.0927 9.37913 12.762 9.22836 12.3981C9.17464 12.2683 9.1302 12.1353 9.09526 12Z" />
|
||||||
</symbol>
|
</symbol>
|
||||||
<symbol id="track" viewBox="0 0 24 24">
|
|
||||||
<path d="M21.7,15L21,13.8c-0.6-1.1-1.1-2.3-1.2-3.4l-0.1-0.9c-0.5,0.2-1.1,0.4-1.6,0.4l0.1,0.7c0.1,1.5,0.6,2.9,1.4,4.2l0.7,1.2 c0.4,0.6,0.7,1.2,0.7,1.3c0,0.1-0.1,0.1-0.1,0.2c-0.1,0.1-1,0.1-1.5,0.1H4.8c-0.6,0-1.4,0-1.5-0.1l-0.1-0.1c0-0.1,0.5-0.8,0.7-1.4 l0.7-1.2c0.7-1.3,1.2-2.6,1.4-4.2l0.4-2.7c0.4-3,2.7-5.1,5.7-5.1c1,0,1.9,0.3,2.7,0.7c0.4-0.5,0.9-0.9,1.4-1.1C15,1.5,13.5,1,12,1 C8.2,1,5,3.9,4.5,7.7l-0.4,2.7c-0.1,1.2-0.5,2.4-1.2,3.4L2.2,15c-0.7,1.2-1.1,1.8-1,2.6c0.1,0.5,0.4,1,0.7,1.3 c0.6,0.5,1.3,0.5,2.7,0.5h3c0.2,1,0.8,1.9,1.5,2.5C10.1,22.6,11,23,12,23s2-0.4,2.7-1.1c0.7-0.6,1.2-1.5,1.5-2.5h3 c1.4,0,2.1,0,2.7-0.5c0.4-0.4,0.6-0.8,0.7-1.3C22.9,16.8,22.6,16.2,21.7,15z M13.6,20.6c-1,0.8-2.3,0.8-3.2,0 c-0.4-0.2-0.6-0.7-0.8-1.2h4.9C14.2,19.9,14,20.3,13.6,20.6z"/>
|
|
||||||
<circle fill="var(--theme-warning-color)" cx="18" cy="5.9" r="3"/>
|
|
||||||
</symbol>
|
|
||||||
<symbol id="donttrack" viewBox="0 0 24 24">
|
|
||||||
<path d="M21.7,15l-0.2,0.1L21.7,15L21,13.8c-0.6-1.1-1.1-2.3-1.2-3.4l-0.4-2.7C19,3.9,15.8,1,12,1S5,3.9,4.5,7.7l-0.4,2.7 c-0.1,1.2-0.5,2.4-1.2,3.4L2.2,15c-0.7,1.2-1.1,1.8-1,2.6c0.1,0.5,0.4,1,0.7,1.3c0.6,0.5,1.3,0.5,2.7,0.5h3c0.2,1,0.8,1.9,1.5,2.5 C10.1,22.6,11,23,12,23c1,0,2-0.4,2.7-1.1c0.7-0.6,1.2-1.5,1.5-2.5h3c1.4,0,2.1,0,2.7-0.5c0.4-0.4,0.6-0.8,0.7-1.3 C22.9,16.8,22.6,16.2,21.7,15z M14.5,19.4c-0.2,0.5-0.5,0.8-0.8,1.2l0,0c-1,0.8-2.3,0.8-3.2,0c-0.4-0.2-0.6-0.7-0.8-1.2H14.5z M20.9,17.5c-0.1,0.1-1,0.1-1.5,0.1H4.8c-0.6,0-1.4,0-1.5-0.1l-0.1-0.1c0-0.1,0.5-0.8,0.7-1.4l0.7-1.2c0.7-1.3,1.2-2.6,1.4-4.2 l0.4-2.7c0.4-3,2.7-5.1,5.7-5.1s5.4,2.1,5.7,5.1l0.4,2.7c0.1,1.5,0.6,2.9,1.4,4.2l0.7,1.2c0.4,0.6,0.7,1.2,0.7,1.3 C21,17.4,20.9,17.4,20.9,17.5z"/>
|
|
||||||
</symbol>
|
|
||||||
<symbol id="hide" viewBox="0 0 24 24">
|
|
||||||
<path
|
|
||||||
d="M4.5,8.4C6.3,6.9,9,5.2,12,5.2c3,0,5.7,1.6,7.5,3.2c0.9,0.8,1.7,1.6,2.2,2.1c0.3,0.3,0.5,0.5,0.6,0.7c0.1,0.1,0.1,0.2,0.2,0.2c0,0,0,0,0,0.1l0,0l0,0l0,0c0,0,0,0-0.6,0.4c0.6,0.4,0.6,0.4,0.6,0.4l0,0l0,0l0,0c0,0,0,0,0,0.1c0,0-0.1,0.1-0.2,0.2c-0.1,0.2-0.3,0.4-0.6,0.7c-0.5,0.6-1.3,1.4-2.2,2.1c-1.9,1.5-4.5,3.2-7.5,3.2c-3,0-5.7-1.6-7.5-3.2c-0.9-0.8-1.7-1.6-2.2-2.1c-0.3-0.3-0.5-0.5-0.6-0.7c-0.1-0.1-0.1-0.2-0.2-0.2c0,0,0,0,0-0.1l0,0l0,0l0,0c0,0,0,0,0.6-0.4c-0.6-0.4-0.6-0.4-0.6-0.4l0,0l0,0l0,0c0,0,0,0,0-0.1c0,0,0.1-0.1,0.2-0.2c0.1-0.2,0.3-0.4,0.6-0.7C2.8,10,3.5,9.2,4.5,8.4z M2,12l-0.6-0.4c-0.2,0.3-0.2,0.6,0,0.9L2,12z M3,12c0.1,0.1,0.2,0.3,0.4,0.4c0.5,0.5,1.2,1.3,2.1,2c1.8,1.5,4.1,2.8,6.6,2.8c2.5,0,4.8-1.4,6.6-2.8c0.9-0.7,1.6-1.4,2.1-2c0.1-0.2,0.3-0.3,0.4-0.4c-0.1-0.1-0.2-0.3-0.4-0.4c-0.5-0.5-1.2-1.3-2.1-2c-1.8-1.5-4.1-2.8-6.6-2.8c-2.5,0-4.8,1.4-6.6,2.8c-0.9,0.7-1.6,1.4-2.1,2C3.2,11.7,3.1,11.9,3,12z M22,12l0.6,0.4c0.2-0.3,0.2-0.6,0-0.9L22,12z"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M8.8,12c0-1.8,1.5-3.2,3.2-3.2s3.2,1.5,3.2,3.2s-1.5,3.2-3.2,3.2S8.8,13.8,8.8,12z M12,10.2c-1,0-1.8,0.8-1.8,1.8s0.8,1.8,1.8,1.8s1.8-0.8,1.8-1.8S13,10.2,12,10.2z"
|
|
||||||
/>
|
|
||||||
</symbol>
|
|
||||||
<symbol id="readAll" viewBox="0 0 28 28">
|
|
||||||
<path d="M14 0.00012207C11.2311 0.00012207 8.52431 0.821208 6.22202 2.35955C3.91973 3.89789 2.12532 6.08439 1.06569 8.64255C0.00606596 11.2007 -0.271181 14.0157 0.269012 16.7314C0.809205 19.4471 2.14258 21.9417 4.10051 23.8996C6.05845 25.8576 8.55301 27.1909 11.2687 27.7311C13.9845 28.2713 16.7994 27.9941 19.3576 26.9344C21.9157 25.8748 24.1022 24.0804 25.6406 21.7781C27.1789 19.4758 28 16.7691 28 14.0001C28 10.2871 26.525 6.72614 23.8995 4.10063C21.274 1.47512 17.713 0.00012207 14 0.00012207ZM14 26.0001C11.6266 26.0001 9.30655 25.2963 7.33316 23.9778C5.35977 22.6592 3.8217 20.785 2.91345 18.5923C2.0052 16.3996 1.76756 13.9868 2.23058 11.659C2.69361 9.33127 3.83649 7.19307 5.51472 5.51484C7.19296 3.83661 9.33115 2.69372 11.6589 2.2307C13.9867 1.76768 16.3995 2.00532 18.5922 2.91357C20.7849 3.82182 22.6591 5.35989 23.9776 7.33328C25.2962 9.30667 26 11.6267 26 14.0001C26 17.1827 24.7357 20.235 22.4853 22.4854C20.2348 24.7358 17.1826 26.0001 14 26.0001Z" />
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.7071 9.29326C21.0976 9.68378 21.0976 10.3169 20.7071 10.7075L12.7071 18.7075C12.3166 19.098 11.6834 19.098 11.2929 18.7075L7.29289 14.7075C6.90237 14.3169 6.90237 13.6838 7.29289 13.2933C7.68342 12.9027 8.31658 12.9027 8.70711 13.2933L12 16.5862L19.2929 9.29326C19.6834 8.90274 20.3166 8.90274 20.7071 9.29326Z" />
|
|
||||||
</symbol>
|
|
||||||
<symbol id="unreadAll" viewBox="0 0 28 28">
|
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M14 26.0004C20.6274 26.0004 26 20.6278 26 14.0004C26 7.37295 20.6274 2.00037 14 2.00037C7.37258 2.00037 2 7.37295 2 14.0004C2 20.6278 7.37258 26.0004 14 26.0004ZM14 28.0004C21.732 28.0004 28 21.7324 28 14.0004C28 6.26838 21.732 0.000366211 14 0.000366211C6.26801 0.000366211 0 6.26838 0 14.0004C0 21.7324 6.26801 28.0004 14 28.0004Z" />
|
|
||||||
</symbol>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 4.6 KiB |
@ -20,9 +20,5 @@ const icons = require('../assets/icons.svg') as string // eslint-disable-line
|
|||||||
loadMetadata(notification.icon, {
|
loadMetadata(notification.icon, {
|
||||||
Notifications: `${icons}#notifications`,
|
Notifications: `${icons}#notifications`,
|
||||||
Inbox: `${icons}#inbox`,
|
Inbox: `${icons}#inbox`,
|
||||||
Track: `${icons}#track`,
|
BellCrossed: `${icons}#bell-crossed`
|
||||||
Hide: `${icons}#hide`,
|
|
||||||
DontTrack: `${icons}#donttrack`,
|
|
||||||
ReadAll: `${icons}#readAll`,
|
|
||||||
UnreadAll: `${icons}#unreadAll`
|
|
||||||
})
|
})
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
TabList
|
TabList
|
||||||
} from '@hcengineering/ui'
|
} from '@hcengineering/ui'
|
||||||
import chunter, { ThreadMessage } from '@hcengineering/chunter'
|
import chunter, { ThreadMessage } from '@hcengineering/chunter'
|
||||||
import { Account, getCurrentAccount, IdMap, Ref } from '@hcengineering/core'
|
import { IdMap, Ref } from '@hcengineering/core'
|
||||||
import activity, { ActivityMessage } from '@hcengineering/activity'
|
import activity, { ActivityMessage } from '@hcengineering/activity'
|
||||||
import { isReactionMessage } from '@hcengineering/activity-resources'
|
import { isReactionMessage } from '@hcengineering/activity-resources'
|
||||||
import { get } from 'svelte/store'
|
import { get } from 'svelte/store'
|
||||||
@ -318,22 +318,22 @@
|
|||||||
justify="left"
|
justify="left"
|
||||||
kind="regular"
|
kind="regular"
|
||||||
label={notification.string.MarkReadAll}
|
label={notification.string.MarkReadAll}
|
||||||
icon={notification.icon.ReadAll}
|
icon={view.icon.Eye}
|
||||||
on:click={readAll}
|
on:click={readAll}
|
||||||
dropdownItems={[
|
dropdownItems={[
|
||||||
{
|
{
|
||||||
id: 'read',
|
id: 'read',
|
||||||
icon: notification.icon.ReadAll,
|
icon: view.icon.Eye,
|
||||||
label: notification.string.MarkReadAll
|
label: notification.string.MarkReadAll
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'unread',
|
id: 'unread',
|
||||||
icon: notification.icon.UnreadAll,
|
icon: view.icon.EyeCrossed,
|
||||||
label: notification.string.MarkUnreadAll
|
label: notification.string.MarkUnreadAll
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'archive',
|
id: 'archive',
|
||||||
icon: view.icon.Archive,
|
icon: view.icon.CheckCircle,
|
||||||
label: notification.string.ArchiveAll
|
label: notification.string.ArchiveAll
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
|
@ -382,11 +382,7 @@ const notification = plugin(notificationId, {
|
|||||||
icon: {
|
icon: {
|
||||||
Notifications: '' as Asset,
|
Notifications: '' as Asset,
|
||||||
Inbox: '' as Asset,
|
Inbox: '' as Asset,
|
||||||
Track: '' as Asset,
|
BellCrossed: '' as Asset
|
||||||
DontTrack: '' as Asset,
|
|
||||||
Hide: '' as Asset,
|
|
||||||
ReadAll: '' as Asset,
|
|
||||||
UnreadAll: '' as Asset
|
|
||||||
},
|
},
|
||||||
space: {
|
space: {
|
||||||
Notifications: '' as Ref<Space>
|
Notifications: '' as Ref<Space>
|
||||||
|
@ -110,10 +110,13 @@
|
|||||||
<path d="M30.94 15.6599C29.7638 12.6175 27.722 9.98649 25.0668 8.09196C22.4116 6.19743 19.2595 5.12245 16 4.99988C12.7405 5.12245 9.58839 6.19743 6.9332 8.09196C4.27802 9.98649 2.23616 12.6175 1.06 15.6599C0.980569 15.8796 0.980569 16.1202 1.06 16.3399C2.23616 19.3822 4.27802 22.0133 6.9332 23.9078C9.58839 25.8023 12.7405 26.8773 16 26.9999C19.2595 26.8773 22.4116 25.8023 25.0668 23.9078C27.722 22.0133 29.7638 19.3822 30.94 16.3399C31.0194 16.1202 31.0194 15.8796 30.94 15.6599ZM16 24.9999C10.7 24.9999 5.1 21.0699 3.07 15.9999C5.1 10.9299 10.7 6.99988 16 6.99988C21.3 6.99988 26.9 10.9299 28.93 15.9999C26.9 21.0699 21.3 24.9999 16 24.9999Z"/>
|
<path d="M30.94 15.6599C29.7638 12.6175 27.722 9.98649 25.0668 8.09196C22.4116 6.19743 19.2595 5.12245 16 4.99988C12.7405 5.12245 9.58839 6.19743 6.9332 8.09196C4.27802 9.98649 2.23616 12.6175 1.06 15.6599C0.980569 15.8796 0.980569 16.1202 1.06 16.3399C2.23616 19.3822 4.27802 22.0133 6.9332 23.9078C9.58839 25.8023 12.7405 26.8773 16 26.9999C19.2595 26.8773 22.4116 25.8023 25.0668 23.9078C27.722 22.0133 29.7638 19.3822 30.94 16.3399C31.0194 16.1202 31.0194 15.8796 30.94 15.6599ZM16 24.9999C10.7 24.9999 5.1 21.0699 3.07 15.9999C5.1 10.9299 10.7 6.99988 16 6.99988C21.3 6.99988 26.9 10.9299 28.93 15.9999C26.9 21.0699 21.3 24.9999 16 24.9999Z"/>
|
||||||
<path d="M16 9.99988C14.8133 9.99988 13.6533 10.3518 12.6666 11.0111C11.6799 11.6703 10.9109 12.6074 10.4567 13.7038C10.0026 14.8001 9.88378 16.0065 10.1153 17.1704C10.3468 18.3343 10.9182 19.4034 11.7574 20.2425C12.5965 21.0816 13.6656 21.6531 14.8295 21.8846C15.9933 22.1161 17.1997 21.9973 18.2961 21.5432C19.3925 21.089 20.3295 20.32 20.9888 19.3333C21.6481 18.3466 22 17.1866 22 15.9999C22 14.4086 21.3679 12.8825 20.2426 11.7572C19.1174 10.632 17.5913 9.99988 16 9.99988ZM16 19.9999C15.2089 19.9999 14.4355 19.7653 13.7777 19.3258C13.1199 18.8862 12.6072 18.2615 12.3045 17.5306C12.0017 16.7997 11.9225 15.9954 12.0769 15.2195C12.2312 14.4436 12.6122 13.7309 13.1716 13.1715C13.731 12.612 14.4437 12.2311 15.2196 12.0767C15.9956 11.9224 16.7998 12.0016 17.5307 12.3044C18.2616 12.6071 18.8864 13.1198 19.3259 13.7776C19.7654 14.4354 20 15.2088 20 15.9999C20 17.0607 19.5786 18.0782 18.8284 18.8283C18.0783 19.5785 17.0609 19.9999 16 19.9999Z"/>
|
<path d="M16 9.99988C14.8133 9.99988 13.6533 10.3518 12.6666 11.0111C11.6799 11.6703 10.9109 12.6074 10.4567 13.7038C10.0026 14.8001 9.88378 16.0065 10.1153 17.1704C10.3468 18.3343 10.9182 19.4034 11.7574 20.2425C12.5965 21.0816 13.6656 21.6531 14.8295 21.8846C15.9933 22.1161 17.1997 21.9973 18.2961 21.5432C19.3925 21.089 20.3295 20.32 20.9888 19.3333C21.6481 18.3466 22 17.1866 22 15.9999C22 14.4086 21.3679 12.8825 20.2426 11.7572C19.1174 10.632 17.5913 9.99988 16 9.99988ZM16 19.9999C15.2089 19.9999 14.4355 19.7653 13.7777 19.3258C13.1199 18.8862 12.6072 18.2615 12.3045 17.5306C12.0017 16.7997 11.9225 15.9954 12.0769 15.2195C12.2312 14.4436 12.6122 13.7309 13.1716 13.1715C13.731 12.612 14.4437 12.2311 15.2196 12.0767C15.9956 11.9224 16.7998 12.0016 17.5307 12.3044C18.2616 12.6071 18.8864 13.1198 19.3259 13.7776C19.7654 14.4354 20 15.2088 20 15.9999C20 17.0607 19.5786 18.0782 18.8284 18.8283C18.0783 19.5785 17.0609 19.9999 16 19.9999Z"/>
|
||||||
</symbol>
|
</symbol>
|
||||||
|
|
||||||
<symbol id="eye-crossed" viewBox="0 0 32 32">
|
<symbol id="eye-crossed" viewBox="0 0 32 32">
|
||||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M28.2929 2.29277C28.6834 1.90225 29.3166 1.90225 29.7071 2.29277C30.0976 2.6833 30.0976 3.31646 29.7071 3.70698L25.2001 8.21985C27.7981 10.0869 29.7934 12.6731 30.9401 15.6598C31.0195 15.8796 31.0195 16.1201 30.9401 16.3398C29.7639 19.3822 27.722 22.0132 25.0669 23.9078C22.4117 25.8023 19.2595 26.8773 16.0001 26.9998C13.3641 26.9573 10.7839 26.2339 8.51006 24.8998L3.70724 29.707C3.31672 30.0975 2.68355 30.0975 2.29303 29.707C1.90251 29.3164 1.90251 28.6833 2.29303 28.2928L28.2929 2.29277ZM20.0001 15.9998C19.9959 16.7 19.808 17.3867 19.4552 17.9914C19.1024 18.5961 18.597 19.0977 17.9897 19.4459C17.3823 19.7941 16.6942 19.9768 15.9941 19.9758C15.2939 19.9747 14.6064 19.7899 14.0001 19.4398L19.4401 13.9998C19.7996 14.6056 19.9927 15.2955 20.0001 15.9998ZM16.0001 24.9998C13.9021 24.9632 11.844 24.4212 10.0001 23.4198L12.5401 20.8798C13.6954 21.6815 15.0956 22.0519 16.4962 21.9263C17.8968 21.8008 19.2088 21.1873 20.2031 20.1929C21.1975 19.1986 21.811 17.8866 21.9365 16.486C22.0621 15.0854 21.6917 13.6852 20.8901 12.5298L23.7601 9.65985C26.0547 11.2348 27.849 13.4353 28.9301 15.9998C26.9001 21.0698 21.3001 24.9998 16.0001 24.9998Z"/>
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M28.2929 2.29277C28.6834 1.90225 29.3166 1.90225 29.7071 2.29277C30.0976 2.6833 30.0976 3.31646 29.7071 3.70698L25.2001 8.21985C27.7981 10.0869 29.7934 12.6731 30.9401 15.6598C31.0195 15.8796 31.0195 16.1201 30.9401 16.3398C29.7639 19.3822 27.722 22.0132 25.0669 23.9078C22.4117 25.8023 19.2595 26.8773 16.0001 26.9998C13.3641 26.9573 10.7839 26.2339 8.51006 24.8998L3.70724 29.707C3.31672 30.0975 2.68355 30.0975 2.29303 29.707C1.90251 29.3164 1.90251 28.6833 2.29303 28.2928L28.2929 2.29277ZM20.0001 15.9998C19.9959 16.7 19.808 17.3867 19.4552 17.9914C19.1024 18.5961 18.597 19.0977 17.9897 19.4459C17.3823 19.7941 16.6942 19.9768 15.9941 19.9758C15.2939 19.9747 14.6064 19.7899 14.0001 19.4398L19.4401 13.9998C19.7996 14.6056 19.9927 15.2955 20.0001 15.9998ZM16.0001 24.9998C13.9021 24.9632 11.844 24.4212 10.0001 23.4198L12.5401 20.8798C13.6954 21.6815 15.0956 22.0519 16.4962 21.9263C17.8968 21.8008 19.2088 21.1873 20.2031 20.1929C21.1975 19.1986 21.811 17.8866 21.9365 16.486C22.0621 15.0854 21.6917 13.6852 20.8901 12.5298L23.7601 9.65985C26.0547 11.2348 27.849 13.4353 28.9301 15.9998C26.9001 21.0698 21.3001 24.9998 16.0001 24.9998Z"/>
|
||||||
<path d="M6.67006 21.0898L5.24006 22.5098C3.38049 20.8109 1.94831 18.6969 1.06006 16.3398C0.98063 16.1201 0.98063 15.8796 1.06006 15.6598C2.23622 12.6175 4.27808 9.98646 6.93326 8.09193C9.58845 6.1974 12.7406 5.12242 16.0001 4.99985C17.9078 5.0232 19.7927 5.41717 21.5501 6.15985L20.0001 7.71985C18.7155 7.26113 17.364 7.01785 16.0001 6.99985C10.7001 6.99985 5.10006 10.9298 3.07006 15.9998C3.87404 17.9445 5.10428 19.684 6.67006 21.0898Z" />
|
<path d="M6.67006 21.0898L5.24006 22.5098C3.38049 20.8109 1.94831 18.6969 1.06006 16.3398C0.98063 16.1201 0.98063 15.8796 1.06006 15.6598C2.23622 12.6175 4.27808 9.98646 6.93326 8.09193C9.58845 6.1974 12.7406 5.12242 16.0001 4.99985C17.9078 5.0232 19.7927 5.41717 21.5501 6.15985L20.0001 7.71985C18.7155 7.26113 17.364 7.01785 16.0001 6.99985C10.7001 6.99985 5.10006 10.9298 3.07006 15.9998C3.87404 17.9445 5.10428 19.684 6.67006 21.0898Z" />
|
||||||
<path d="M13.1611 13.1909C12.4818 13.8703 12.0696 14.7716 12.0001 15.7298L10.1801 17.5399C9.91301 16.5256 9.91648 15.4591 10.1901 14.4466C10.4638 13.4341 10.998 12.5111 11.7397 11.7694C12.4813 11.0278 13.4043 10.4936 14.4168 10.2199C15.4293 9.94626 16.4958 9.94279 17.5101 10.2098L15.7001 12.0299C14.7418 12.0994 13.8405 12.5115 13.1611 13.1909Z" />
|
<path d="M13.1611 13.1909C12.4818 13.8703 12.0696 14.7716 12.0001 15.7298L10.1801 17.5399C9.91301 16.5256 9.91648 15.4591 10.1901 14.4466C10.4638 13.4341 10.998 12.5111 11.7397 11.7694C12.4813 11.0278 13.4043 10.4936 14.4168 10.2199C15.4293 9.94626 16.4958 9.94279 17.5101 10.2098L15.7001 12.0299C14.7418 12.0994 13.8405 12.5115 13.1611 13.1909Z" />
|
||||||
</symbol>
|
</symbol>
|
||||||
|
<symbol id="check-circle" viewBox="0 0 32 32">
|
||||||
|
<path d="M14 0.00012207C11.2311 0.00012207 8.52431 0.821208 6.22202 2.35955C3.91973 3.89789 2.12532 6.08439 1.06569 8.64255C0.00606596 11.2007 -0.271181 14.0157 0.269012 16.7314C0.809205 19.4471 2.14258 21.9417 4.10051 23.8996C6.05845 25.8576 8.55301 27.1909 11.2687 27.7311C13.9845 28.2713 16.7994 27.9941 19.3576 26.9344C21.9157 25.8748 24.1022 24.0804 25.6406 21.7781C27.1789 19.4758 28 16.7691 28 14.0001C28 10.2871 26.525 6.72614 23.8995 4.10063C21.274 1.47512 17.713 0.00012207 14 0.00012207ZM14 26.0001C11.6266 26.0001 9.30655 25.2963 7.33316 23.9778C5.35977 22.6592 3.8217 20.785 2.91345 18.5923C2.0052 16.3996 1.76756 13.9868 2.23058 11.659C2.69361 9.33127 3.83649 7.19307 5.51472 5.51484C7.19296 3.83661 9.33115 2.69372 11.6589 2.2307C13.9867 1.76768 16.3995 2.00532 18.5922 2.91357C20.7849 3.82182 22.6591 5.35989 23.9776 7.33328C25.2962 9.30667 26 11.6267 26 14.0001C26 17.1827 24.7357 20.235 22.4853 22.4854C20.2348 24.7358 17.1826 26.0001 14 26.0001Z" />
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.7071 9.29326C21.0976 9.68378 21.0976 10.3169 20.7071 10.7075L12.7071 18.7075C12.3166 19.098 11.6834 19.098 11.2929 18.7075L7.29289 14.7075C6.90237 14.3169 6.90237 13.6838 7.29289 13.2933C7.68342 12.9027 8.31658 12.9027 8.70711 13.2933L12 16.5862L19.2929 9.29326C19.6834 8.90274 20.3166 8.90274 20.7071 9.29326Z" />
|
||||||
|
</symbol>
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 33 KiB |
@ -43,5 +43,6 @@ loadMetadata(view.icon, {
|
|||||||
Database: `${icons}#database`,
|
Database: `${icons}#database`,
|
||||||
Star: `${icons}#star`,
|
Star: `${icons}#star`,
|
||||||
Eye: `${icons}#eye`,
|
Eye: `${icons}#eye`,
|
||||||
EyeCrossed: `${icons}#eye-crossed`
|
EyeCrossed: `${icons}#eye-crossed`,
|
||||||
|
CheckCircle: `${icons}#check-circle`
|
||||||
})
|
})
|
||||||
|
@ -221,7 +221,8 @@ const view = plugin(viewId, {
|
|||||||
Database: '' as Asset,
|
Database: '' as Asset,
|
||||||
Star: '' as Asset,
|
Star: '' as Asset,
|
||||||
Eye: '' as Asset,
|
Eye: '' as Asset,
|
||||||
EyeCrossed: '' as Asset
|
EyeCrossed: '' as Asset,
|
||||||
|
CheckCircle: '' as Asset
|
||||||
},
|
},
|
||||||
category: {
|
category: {
|
||||||
General: '' as Ref<ActionCategory>,
|
General: '' as Ref<ActionCategory>,
|
||||||
|
Loading…
Reference in New Issue
Block a user