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

BUGFIX: CreationDialog hideable elements #4297

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

mhsdesign
Copy link
Member

@mhsdesign mhsdesign commented May 28, 2023

closes cross repo issue: neos/neos-ui#3483

In the UI it will be once neos/neos-ui#3507 is merged possible to use the hidden property in the node creation dialog

ui:
  creationDialog:
    elements:
      hiddenProperty:
        type: string
        ui:
          hidden: true

This change adjusts neos creationDialogPostprocessor so that creationDialog items that are generated from properties via showInCreationDialog will have the hidden property copied

properties:
  hiddenProperty:
    type: string
    ui:
      showInCreationDialog: true
      inspector:
        hidden: true

Upgrade instructions

Review instructions

Checklist

  • Code follows the PSR-2 coding style
  • Tests have been created, run and adjusted as needed
  • The PR is created against the lowest maintained branch
  • Reviewer - PR Title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • Reviewer - The first section explains the change briefly for change-logs
  • Reviewer - Breaking Changes are marked with !!! and have upgrade-instructions

In the UI it will be once neos/neos-ui#3507 is merged possible to use the `hidden` property in the node creation dialog

```yaml
ui:
  creationDialog:
    elements:
      hiddenProperty:
        type: string
        ui:
          hidden: true
```

This change adjusts neos creationDialogPostprocessor so that creationDialog items that are generated from properties via `showInCreationDialog` will have the hidden property copied

```yaml
properties:
  hiddenProperty:
    type: string
    ui:
      showInCreationDialog: true
      inspector:
        hidden: true
```
@crydotsnake
Copy link
Member

Can you check the StyleCI issue? @mhsdesign

@crydotsnake crydotsnake self-assigned this Jun 1, 2023
@mhsdesign
Copy link
Member Author

nope i cant the style ci is just running maniac. i dindt touch the files.

@crydotsnake
Copy link
Member

crydotsnake commented Jun 1, 2023

nope i cant the style ci is just running maniac. i dindt touch the files.

You can fix the issue anyway?

@mhsdesign
Copy link
Member Author

nope that will cause a lot of issues if its done as bugfix into 7.3

imo someone should just reconfigure the style ci. it should not be part of this pr.

@crydotsnake crydotsnake removed their assignment Jun 2, 2023
@crydotsnake crydotsnake self-requested a review June 5, 2023 12:18
Copy link
Member

@crydotsnake crydotsnake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in combination with neos/neos-ui#3507 and works as expected!

@crydotsnake crydotsnake requested a review from Sebobo June 5, 2023 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants