-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [UIE-8422] - database migration banner (#11595)
* feat: [UIE-8422] - database migration banner * Added changeset: Database migration info banner
- Loading branch information
1 parent
8af77d7
commit 5bbe436
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
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,5 @@ | ||
--- | ||
"@linode/manager": Added | ||
--- | ||
|
||
Database migration info banner ([#11595](https://github.com/linode/manager/pull/11595)) |
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
20 changes: 20 additions & 0 deletions
20
packages/manager/src/features/GlobalNotifications/DatabaseMigrationInfoBanner.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,20 @@ | ||
import { Notice, Typography } from '@linode/ui'; | ||
import React from 'react'; | ||
|
||
import { SupportLink } from 'src/components/SupportLink'; | ||
|
||
export const DatabaseMigrationInfoBanner = () => { | ||
return ( | ||
<Notice important top={10} variant="warning"> | ||
<Typography fontFamily={(theme) => theme.font.bold} lineHeight="20px"> | ||
Legacy clusters decommission | ||
</Typography> | ||
<Typography lineHeight="20px"> | ||
Legacy database clusters will only be available until the end of 2025. | ||
At that time, we’ll migrate your clusters to the new solution. For | ||
questions regarding the new database clusters or the migration,{' '} | ||
<SupportLink entity={{ type: 'database_id' }} text="contact support" />. | ||
</Typography> | ||
</Notice> | ||
); | ||
}; |