-
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.
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @comet/admin@7.2.0 ### Minor Changes - 0fb8d9a: Allow pinning DataGrid columns using the column config when using `DataGridPro` or `DataGridPremium` with the `usePersistentColumnState` hook ```tsx const columns: GridColDef[] = [ { field: "title", pinned: "left", }, // ... other columns { field: "actions", pinned: "right", }, ]; ``` ### Patch Changes - 4b267f9: Fix broken export/import of `commonErrorMessages` from the file form field - Updated dependencies [9b800c9] - @comet/admin-theme@7.2.0 - @comet/admin-icons@7.2.0 ## @comet/admin-theme@7.2.0 ### Minor Changes - 9b800c9: Slightly adjust the styling of pinned columns in DataGrid ### Patch Changes - @comet/admin-icons@7.2.0 ## @comet/cms-site@7.2.0 ### Minor Changes - 381aa71: Add `ErrorHandlerProvider` Each block in `BlocksBlock`, `OneOfBlock` and `ListBlock` is wrapped with an error boundary to prevent the whole page from crashing when a single block throws an error. In production, the broken block is hidden. The application should take care of reporting the error to an error tracking service (e.g., Sentry). In local development, the error is re-thrown. Add an `ErrorHandler` to the root layout: ```tsx // In src/app/layout.tsx <html> <body className={inter.className}> {/* Other Providers */} <ErrorHandler>{children}</ErrorHandler> </body> </html> ``` The `ErrorHandler` receives the errors in the application and can report them to the error tracking service. **Example ErrorHandler** ```tsx "use client"; import { ErrorHandlerProvider } from "@comet/cms-site"; import { PropsWithChildren } from "react"; export function ErrorHandler({ children }: PropsWithChildren) { function onError(error: Error, errorInfo: ErrorInfo) { console.error("Error caught by error handler", error, errorInfo.componentStack); if (process.env.NODE_ENV === "development") { throw error; } else { // Report the error to the error tracking service } } return <ErrorHandlerProvider onError={onError}>{children}</ErrorHandlerProvider>; } ``` ## @comet/admin-color-picker@7.2.0 ### Patch Changes - Updated dependencies [0fb8d9a] - Updated dependencies [4b267f9] - @comet/admin@7.2.0 - @comet/admin-icons@7.2.0 ## @comet/admin-date-time@7.2.0 ### Patch Changes - Updated dependencies [0fb8d9a] - Updated dependencies [4b267f9] - @comet/admin@7.2.0 - @comet/admin-icons@7.2.0 ## @comet/admin-react-select@7.2.0 ### Patch Changes - Updated dependencies [0fb8d9a] - Updated dependencies [4b267f9] - @comet/admin@7.2.0 - @comet/admin-icons@7.2.0 ## @comet/admin-rte@7.2.0 ### Patch Changes - Updated dependencies [0fb8d9a] - Updated dependencies [4b267f9] - @comet/admin@7.2.0 - @comet/admin-icons@7.2.0 ## @comet/blocks-admin@7.2.0 ### Patch Changes - Updated dependencies [0fb8d9a] - Updated dependencies [4b267f9] - @comet/admin@7.2.0 - @comet/admin-icons@7.2.0 ## @comet/cms-admin@7.2.0 ### Patch Changes - 4b267f9: Fix broken export/import of `commonErrorMessages` from the file form field - Updated dependencies [9b800c9] - Updated dependencies [0fb8d9a] - Updated dependencies [4b267f9] - @comet/admin-theme@7.2.0 - @comet/admin@7.2.0 - @comet/admin-date-time@7.2.0 - @comet/admin-icons@7.2.0 - @comet/admin-rte@7.2.0 - @comet/blocks-admin@7.2.0 ## @comet/cms-api@7.2.0 ### Patch Changes - @comet/blocks-api@7.2.0 ## @comet/eslint-config@7.2.0 ### Patch Changes - @comet/eslint-plugin@7.2.0 ## @comet/admin-babel-preset@7.2.0 ## @comet/admin-icons@7.2.0 ## @comet/blocks-api@7.2.0 ## @comet/cli@7.2.0 ## @comet/eslint-plugin@7.2.0 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0e43117
commit ac01c5a
Showing
37 changed files
with
272 additions
and
182 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @comet/admin-babel-preset | ||
|
||
## 7.2.0 | ||
|
||
## 7.1.0 | ||
|
||
## 7.0.0 | ||
|
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
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
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 @@ | ||
# @comet/admin-icons | ||
|
||
## 7.2.0 | ||
|
||
## 7.1.0 | ||
|
||
### Minor Changes | ||
|
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
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
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
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.