diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cf30c7b..985f3e1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to ### Added +- ⚡️(fix) fix button add mail domain + add modal view information mailbox - ⚡️(fix) add error when mailbox create failed - ✨(mailbox) allow to reset password on mailboxes #834 diff --git a/src/frontend/apps/desk/src/cunningham/cunningham-style.css b/src/frontend/apps/desk/src/cunningham/cunningham-style.css index 155a6796..f561022f 100644 --- a/src/frontend/apps/desk/src/cunningham/cunningham-style.css +++ b/src/frontend/apps/desk/src/cunningham/cunningham-style.css @@ -243,6 +243,10 @@ input:-webkit-autofill:focus { border-bottom: 1px var(--c--theme--colors--greyscale-100) solid; } +.c__datagrid__table__container > table tbody tr:hover { + background-color: var(--c--theme--colors--greyscale-050); +} + .c__datagrid__table__container > table tbody { background-color: var(--c--components--datagrid--body--background-color); color: var(--c--theme--colors--greyscale-900); @@ -259,7 +263,7 @@ input:-webkit-autofill:focus { .c__datagrid__table__container > table th:first-child, .c__datagrid__table__container > table td:first-child { - padding-left: 0; + padding-left: 15px; } .c__datagrid__table__container > table tr:last-child { diff --git a/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/ModalUpdateMailbox.tsx b/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/ModalUpdateMailbox.tsx index 60d1977e..06c859c8 100644 --- a/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/ModalUpdateMailbox.tsx +++ b/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/ModalUpdateMailbox.tsx @@ -24,7 +24,7 @@ import { CustomModal } from '@/components/modal/CustomModal'; import { MailDomain } from '../../domains/types'; import { useUpdateMailbox } from '../api/useUpdateMailbox'; -import { ViewMailbox } from '../types'; +import { Step, ViewMailbox } from '../types'; const FORM_ID = 'form-update-mailbox'; @@ -70,7 +70,7 @@ export const ModalUpdateMailbox = ({ onClose(); }, onError: (error: APIError) => { - const causes = + const causes: string[] = parseAPIError({ error, errorParams: [ @@ -116,7 +116,7 @@ export const ModalUpdateMailbox = ({ return null; } - const steps = [ + const steps: Step[] = [ { title: t('Set up account'), content: ( @@ -204,15 +204,15 @@ export const ModalUpdateMailbox = ({ {t('Cancel')} ), - rightAction: ( - - ), + // rightAction: ( + // + // ), }, ]; diff --git a/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/panel/MailBoxesListView.tsx b/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/panel/MailBoxesListView.tsx index 230d6544..342eba2d 100644 --- a/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/panel/MailBoxesListView.tsx +++ b/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/panel/MailBoxesListView.tsx @@ -91,6 +91,11 @@ export function MailBoxesListView({ { field: 'local_part', headerName: `${t('Address')} • ${filteredMailboxes.length}`, + renderCell: ({ row }) => ( + + {row.local_part}@{mailDomain.name} + + ), }, { field: 'first_name', diff --git a/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/panel/PanelActions.tsx b/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/panel/PanelActions.tsx index f0423520..3e02d6ce 100644 --- a/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/panel/PanelActions.tsx +++ b/src/frontend/apps/desk/src/features/mail-domains/mailboxes/components/panel/PanelActions.tsx @@ -104,7 +104,7 @@ export const PanelActions = ({ mailDomain, mailbox }: PanelActionsProps) => { } > - {t('Configure mailbox')} + {t('Informations mailbox')} - ) : ( - -
- -
-
- )} + - {!can_create && ( -

- {t('Click on mailbox to view details')} -

- )} - {isModalOpen && }