-
Notifications
You must be signed in to change notification settings - Fork 16
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-6566: As a Editor I'd like to get content type suggestions while creating content in given location #906
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
511ce42
to
4ff99fa
Compare
@adamwojs in Admin->Corporate when there are added companies (by Customers->Companies), it is displayed in the suggestions, but from here there is no option to add a company |
I found one small inconsistency, but I'm not sure if we can do anything about it. When removing content via the sub-item list, the given content type is still visible in the suggestions (probably because the page is not automatically reloaded). When manually reloaded, the suggestion disappears. See https://recordit.co/VubVIvEysN |
Agreed with @NataliaBecla that it would be nice to have it also in COFT content type picker to maintain consistency 🙂 |
…creating content in given location (engine)
…creating content in given location (rendering)
… while creating content in given location (engine)
…creating content in given location (tests)
4ff99fa
to
ec8056d
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Yes, page reload is necessary to update the content create form. IMHO we can skip this edge case as we don't take it into account in case of other UI elements. |
@GrabowskiM Could you please help me apply this comment ? |
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.
Tested with solr and Elasticsearch. Missing suggestions in COFT reported separately https://issues.ibexa.co/browse/IBX-7271
It's very common to have items of the same or very limited number of types inside single container. For example:
/Media/Images
/Media/Files
/Forms
/Users
/Users/**/
This PR adds content type suggestions to content creation form
and reduce time needed to finding appropriate content type on the list.
Implementation
Suggestions are computed using
AIAggregation API asn
most frequently used content types in given location.Checklist:
$ composer fix-cs
)