-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): add mail delivery settings (#1403)
* feat(ui): mail form * feat(ui): init mail delivery settings * [autofix.ci] apply automated fixes * fix(ui): intrgrations layout * fix(ui): cmts * [autofix.ci] apply automated fixes * fix(ui): mailFormValues * update schema.graphql * connect backend --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Meng Zhang <[email protected]>
- Loading branch information
1 parent
01e728b
commit 4c7ca15
Showing
42 changed files
with
707 additions
and
104 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE email_setting DROP COLUMN smtp_port; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE email_setting ADD COLUMN smtp_port INTEGER NOT NULL DEFAULT 25; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
ee/tabby-ui/app/(dashboard)/settings/(integrations)/layout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default function IntegrationsLayout({ | ||
children | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return <div className="p-6">{children}</div> | ||
} |
10 changes: 10 additions & 0 deletions
10
ee/tabby-ui/app/(dashboard)/settings/(integrations)/mail/components/header.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { SubHeader } from '@/components/sub-header' | ||
|
||
export const MailDeliveryHeader = ({ className }: { className?: string }) => { | ||
return ( | ||
<SubHeader className={className}> | ||
Configuring SMTP information will enable users to receive database reports | ||
via email, such as slow query weekly reports. | ||
</SubHeader> | ||
) | ||
} |
Oops, something went wrong.