-
Notifications
You must be signed in to change notification settings - Fork 62
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
IBX-792: Implemented Field Types Palette #1835
Conversation
450a659
to
f12c85d
Compare
d631715
to
beccc48
Compare
3ce1f89
to
f00c6bd
Compare
9128305
to
6f29170
Compare
@adamwojs there seems to be a problem with notifications regarding CT creation; when a new CT is created (with its own custom name) successfully, then notification appears but with default CT name. |
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content_type/field_definition_placeholder.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content_type/part/field_definition_form.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content_type/part/field_definition_form.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content_type/part/field_definition_form.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/img/empty-field-definition-group.svg
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/ui/component/collapse.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content_type/field_definitions.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content_type/field_definitions.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content_type/edit_base.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content_type/create.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.relation.default.location.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content/edit_base.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content_type/available_field_types.html.twig
Outdated
Show resolved
Hide resolved
src/bundle/Resources/views/themes/admin/content_type/field_definitions_empty_group.html.twig
Outdated
Show resolved
Hide resolved
1e238f7
to
e3876bb
Compare
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/admin.contenttype.edit.js
Outdated
Show resolved
Hide resolved
217d1c3
to
c6fc4a5
Compare
composer.json
Outdated
"psr-4": { "EzSystems\\EzPlatformAdminUi\\Tests\\": "src/lib/Tests" } | ||
"psr-4": { | ||
"EzSystems\\EzPlatformAdminUi\\Tests\\": "src/lib/Tests", | ||
"Ibexa\\AdminUi\\Tests\\": "src/lib/Tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not follow package structure requirements.
"Ibexa\\AdminUi\\Tests\\": "src/lib/Tests" | |
"Ibexa\\Tests\\AdminUi\\": "tests/lib" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in ae4faf3.
Includes added tests directory to code style configuration & phpunit.xml adjustment.
EDIT: Also btw, the previous exclusion was not working at all :P
@@ -1,7 +1,7 @@ | |||
services: | |||
EzSystems\EzPlatformAdminUiBundle\Controller\: | |||
resource: "../../Controller/*" | |||
exclude: "../../Controller/{Controller}" | |||
exclude: "../../Controller/{FieldDefinitionController.php}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I don't like this workaround. I'd rather go for expanding this definition into specific services. It feels like explicitness is more clear and understandable.
This is remark rather for the future, for now let's leave as-is, since it was given as one of the options.
cc @Nattfarinn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, but the PR is big as it is, and from what I've seen I'd need to add most of the classes that reside in the subdirectory, which is around ~30 I believe?
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@ViniTou new namespaces have been introduced. You'd like to review the code again, or should I dismiss your review? |
REST endpoints for content type editing
TBD.
ibexa_field_group_name
filteribexa_field_group_name
filter allows to render human readable name of given field group. UsageTODO:
Checklist:
$ composer fix-cs
)