Skip to content

Implement an OCP API for Context Chat #52852

@edward-ly

Description

@edward-ly

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.

The context_chat app PHP classes in the OCA\ContextChat\Public namespace as well as the ContentProviderRegisterEvent event are supposedly available for other apps to use. But since they are still under the app's private namespace, this is not exactly best practice and may cause dependency problems later down the road, when more and more apps will be implemented as context chat providers.

Describe the solution you'd like

Move the aforementioned classes to the server repository under the OCP\ContextChat namespace instead, and update the developer documentation accordingly.

Describe alternatives you've considered

(none)

Additional context

Some initial work was done for the Mail app but needs significant changes (note the UndefinedClass errors from Psalm):
nextcloud/mail#11150

cc @kyteinsky @marcelklehr @ChristophWurst

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapenhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions