Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge next into ubernext #1416

Closed
wants to merge 102 commits into from
Closed

Merge next into ubernext #1416

wants to merge 102 commits into from

Conversation

thomasdax98
Copy link
Member

@thomasdax98 thomasdax98 commented Nov 21, 2023

Merge #1412 first

thomasdax98 and others added 30 commits October 12, 2023 13:01
The new non-nullable `isInboxFromOtherScope` column introduced in #1192
caused the migration to fail. Adding a default value resolves the issue.
)

The decorator was missing for some mutations that don't cause content
changes, for instance `currentUserSignOut`. This change also adds a
warning during development when a change affects all scopes.
Prevent slug change of home page in updateNode() and updateNodeSlug() of
PageTreeService
Currently an exception is thrown if `null` is sent in order to remove a
relation with an integer id.

This fixes the exception and if undefined is sent (or rather, if the
field is not sent at all) , this works as well and the relation remains
untouched.

Co-authored-by: Johannes Huber <johannes.huber@vivid-planet.com>
The migrations from both the library and the application were not sorted
by timestamp. This prevented certain workarounds, for instance, adding
an "earlier" migration to fix schema issues discovered at a later point.
Scoped mutations would cause a change for all scopes when querying a
field resolver with `fieldResolverEnhancers: ["interceptors"]` enabled
in the `GraphQLModule` config. This is due to using `operator.operator`
to check whether an operation is a mutation. To fix this, we now use
`parentType.name`, as recommended in the [Nest
docs](https://docs.nestjs.com/graphql/other-features#execute-enhancers-at-the-field-resolver-level).
The old files are not really in a good shape and not maintained. Switch
to the generated ones to fix all problems...
This PR adds a better evaluation of different Youtube URL formats to the
site block. Also Youtube links are now validated in the admin and a
validation message is shown.
This PR adds an image preview when hovering over image thumbnails in the
assets tab.
Replaces `CircularProgress` with our `BallTriangle` icon in the
`Loading` component

Unfortunately, that's a breaking change because the
`CircularProgressProps` was passed through. I replaced that with the
`SvgIconProps`, although it's debatable if passing the props through is
needed at all.

---------

Co-authored-by: Johannes Obermair <48853629+johnnyomair@users.noreply.github.com>
The `EditPage` component would push `${match}/content` to the browser
history when trying to save an invalid block, resulting in navigating
away from where the error occurred. Removing the push resolves the
issue.
Previously the dependencies of a SeoBlock were not added to the Page
dependencies.
The implementation of `moveBlock` was flawed. Moving blocks by swapping
only works if the move happens between directly adjacent blocks.
However, there are scenarios where the move should be performed between
non-adjacent blocks, for instance when a block is dragged outside the
block list (see screencasts). To fix this, we change the implementation
to move by removing the block at the `from` index and inserting it at
the `to` index.
The `id` of an entity may be an integer. The CRUD generator previously assumed IDs to always be strings. This change adds support for integer IDs in all operations. When using an integer ID, `number` is used as type for the ID and a transform to convert the passed GraphQL argument to a number is added.
- Add new icons intended to be used in the RTE to `@comet/admin-icons`
- Replace the current icons in the RTE toolbar with new icons from
`@comet/admin-icons`
- Change how `maxVisible` in `FeaturesButtonGroup` works:
- If maxVisible = 4 and there are four features -> all four features
(and no dropdown) are shown
- If maxVisible = 4 and there are five features -> three features and
the dropdown (containing two features) are shown
It was previously added as a peer dependency, leading to a breaking
change
Minimal PR template with a reminder to add a changeset (because I forget
the changeset so often)
# Releases
## @comet/admin-icons@4.6.0

### Minor Changes

-   c3b7f99: Add new icons intended to be used in the RTE
-   c3b7f99: Change how `maxVisible` in `FeaturesButtonGroup` works:

    - If maxVisible = 4 and there are four features -> all four features
    (and no dropdown) are shown
    - If maxVisible = 4 and there are five features -> three features and
    the dropdown (containing two features) are shown

## @comet/admin-rte@4.6.0

### Patch Changes

- c3b7f99: Replace current icons in the RTE toolbar with new icons from
`@comet/admin-icons`

## @comet/blocks-admin@4.6.0

### Patch Changes

-   031d86e: Fix drag and drop reordering in collection blocks

## @comet/cms-admin@4.6.0

### Patch Changes

- c3b7f99: Replace current icons in the RTE toolbar with new icons from
`@comet/admin-icons`

## @comet/cms-api@4.6.0

### Patch Changes

- f6f7d4a: Prevent slug change of home page in `updateNode()` and
`updateNodeSlug()` of `PageTreeService`
Show an error message if a file in the /icons directory doesn't contain
valid SVG code.
Otherwise, blocks in seo are not indexed in the block index

Copy of vivid-planet/comet-starter#34
thomasdax98 and others added 21 commits November 16, 2023 22:13
Add changesets for PR #1011
This PR adds a final form save button, which should be used in the
future instead of the FinalFormSaveSplitButton.
This pull request changes the page tree loading behavior. Instead of
displaying a CircularProgress continuously during focus polling, it now
shows a LinearProgress after the initial loading of the page tree.
Add support for TypeScript paths (e.g., `@src/`) by using the project's
TSConfig.

---------

Co-authored-by: Johannes Obermair <48853629+johnnyomair@users.noreply.github.com>
…g an object (#1390)

Also don't use the old getOptionSelected that got removed in #1099 in
Demo products form. This fixes the buggy form.

---------

Co-authored-by: Johannes Obermair <48853629+johnnyomair@users.noreply.github.com>
Add correct @comet/create-app command to docs
Co-authored-by: Johannes Obermair <48853629+johnnyomair@users.noreply.github.com>
@thomasdax98 thomasdax98 self-assigned this Nov 21, 2023
Copy link

netlify bot commented Nov 21, 2023

Deploy Preview for comet-admin ready!

Name Link
🔨 Latest commit 27d1a2d
🔍 Latest deploy log https://app.netlify.com/sites/comet-admin/deploys/655caaeef1900300083ea2fc
😎 Deploy Preview https://deploy-preview-1416--comet-admin.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 21, 2023

Deploy Preview for comet-dxp-docs ready!

Name Link
🔨 Latest commit 27d1a2d
🔍 Latest deploy log https://app.netlify.com/sites/comet-dxp-docs/deploys/655caaee11364b00088dfb15
😎 Deploy Preview https://deploy-preview-1416--comet-dxp-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants