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

Add and handle enableComments field in callouts API #4826

Open
3 tasks
ccanos opened this issue Jan 8, 2025 · 0 comments
Open
3 tasks

Add and handle enableComments field in callouts API #4826

ccanos opened this issue Jan 8, 2025 · 0 comments

Comments

@ccanos
Copy link
Contributor

ccanos commented Jan 8, 2025

As an Alkemio user I want to be able to enable comments separately on each callout

Current implementation

  • Only type POST callouts can have comments
  • Comments is an entity linked from callout
  • When creating a Post callout, the API receives the enableComments flag, but there's no such flag on UpdateCallout mutation, so once created a callout without comments it will never have comments

Acceptance criteria

  • All callout types can have comments, enabled or disabled
  • Update Callout mutation can enable comments (create the comments entity, matrix room, etc...)
  • Disabling comments doesn't destroy the matrix room, it just disables the comments but we don't want to lose them [??]

Additional Context

Areas that will be affected

Callouts

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

No branches or pull requests

1 participant