-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
91 changed files
with
1,401 additions
and
277 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 @@ | ||
--- | ||
"@comet/admin-rte": patch | ||
--- | ||
|
||
Hide translation button for `FinalFormSearchTextField` |
This file was deleted.
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,32 @@ | ||
--- | ||
"@comet/admin": minor | ||
--- | ||
|
||
Add `FinalFormAsyncSelect`, `AsyncSelectField`, and `FinalFormAsyncAutocomplete` components | ||
|
||
Thin wrappers to ease using `useAsyncOptionsProps()` with `FinalFormSelect` and `FinalFormAutocomplete`. | ||
|
||
**Example** | ||
|
||
Previously: | ||
|
||
```tsx | ||
const asyncOptionsProps = useAsyncOptionsProps(async () => { | ||
// Load options here | ||
}); | ||
|
||
// ... | ||
|
||
<Field component={FinalFormAsyncAutocomplete} {...asyncOptionsProps} />; | ||
``` | ||
|
||
Now: | ||
|
||
```tsx | ||
<Field | ||
component={FinalFormAsyncAutocomplete} | ||
loadOptions={async () => { | ||
// Load options here | ||
}} | ||
/> | ||
``` |
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,9 @@ | ||
--- | ||
"@comet/cms-admin": minor | ||
"@comet/cms-site": minor | ||
"@comet/cms-api": minor | ||
--- | ||
|
||
Add a `DamFileDownloadLinkBlock` that can be used to download a file or open it in a new tab | ||
|
||
Also, add new `/dam/files/download/:hash/:fileId/:filename` endpoint for downloading assets. |
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 @@ | ||
--- | ||
"@comet/cms-api": patch | ||
--- | ||
|
||
API CrudSingleGenerator: Run `transformToBlockData()` for block fields on create |
This file was deleted.
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,15 @@ | ||
--- | ||
"@comet/admin-theme": minor | ||
--- | ||
|
||
Allow to pass args to createCometTheme to support localization via theme | ||
|
||
See https://mui.com/material-ui/guides/localization/ | ||
|
||
```tsx | ||
import { deDE } from "@mui/x-data-grid-pro"; | ||
|
||
const theme = createCometTheme({}, deDE); | ||
|
||
<MuiThemeProvider theme={theme} />; | ||
``` |
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 @@ | ||
--- | ||
"@comet/cms-api": patch | ||
--- | ||
|
||
ChangesCheckerConsole: Start exactly matching job or all partially matching jobs | ||
|
||
Previously, the first job with a partially matching content scope was started. | ||
Doing so could lead to problems when multiple jobs with overlapping content scopes exist. | ||
For instance, jobs with the scopes `{ domain: "main", language: "de" }` and `{ domain: "main", language: "en" }` both partially match a change in `{ domain: "main", language: "de" }`. | ||
To fix this, we either start a single job if the content scope matches exactly or start all jobs with partially matching content scopes. |
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 @@ | ||
--- | ||
"@comet/cms-api": minor | ||
--- | ||
|
||
Add `DisablePermissionCheck` constant for use in `@RequiredPermission` decorator | ||
|
||
You can disable authorization for a resolver or operation by adding the decorator `@RequiredPermission(DisablePermissionCheck)` |
This file was deleted.
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
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 |
---|---|---|
@@ -1,6 +1,11 @@ | ||
import { createLinkBlock, ExternalLinkBlock, InternalLinkBlock } from "@comet/cms-admin"; | ||
import { createLinkBlock, DamFileDownloadLinkBlock, ExternalLinkBlock, InternalLinkBlock } from "@comet/cms-admin"; | ||
import { NewsLinkBlock } from "@src/news/blocks/NewsLinkBlock"; | ||
|
||
export const LinkBlock = createLinkBlock({ | ||
supportedBlocks: { internal: InternalLinkBlock, external: ExternalLinkBlock, news: NewsLinkBlock }, | ||
supportedBlocks: { | ||
internal: InternalLinkBlock, | ||
external: ExternalLinkBlock, | ||
news: NewsLinkBlock, | ||
damFileDownload: DamFileDownloadLinkBlock, | ||
}, | ||
}); |
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 |
---|---|---|
@@ -1,4 +1,13 @@ | ||
import { createCometTheme } from "@comet/admin-theme"; | ||
import type {} from "@mui/lab/themeAugmentation"; | ||
|
||
<<<<<<< HEAD | ||
export default createCometTheme(); | ||
======= | ||
export const theme = createCometTheme(); | ||
|
||
declare module "@mui/styles/defaultTheme" { | ||
// eslint-disable-next-line @typescript-eslint/no-empty-interface | ||
export interface DefaultTheme extends Theme {} | ||
} | ||
>>>>>>> main |
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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import { ExternalLinkBlock } from "@comet/blocks-api"; | ||
import { createLinkBlock, InternalLinkBlock } from "@comet/cms-api"; | ||
import { createLinkBlock, DamFileDownloadLinkBlock, InternalLinkBlock } from "@comet/cms-api"; | ||
import { NewsLinkBlock } from "@src/news/blocks/news-link.block"; | ||
|
||
export const LinkBlock = createLinkBlock({ supportedBlocks: { internal: InternalLinkBlock, external: ExternalLinkBlock, news: NewsLinkBlock } }); | ||
export const LinkBlock = createLinkBlock({ | ||
supportedBlocks: { internal: InternalLinkBlock, external: ExternalLinkBlock, news: NewsLinkBlock, damFileDownload: DamFileDownloadLinkBlock }, | ||
}); |
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
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
Oops, something went wrong.