Closed elbotho closed 3 years ago
(not sure if this is a api or serlo.org issue)
(not sure if this is a api or serlo.org issue)
Both. At legacy serlo.org this property needs to be added to /api/uuid
and here it needs to be added to the Page
type.
I noticed that comments are only enabled in few static pages -> I want to ask whether this feature is really needed or whether can can delete it and do not enable discussion at any static pages.
@kulla Thanks for checking. This is what we did in the frontend for now. Do you know what pages it affects? @yolo-bird or @kathongi do you have an opinion here?
Our favourite solution is to ignore this feature and remove it in the future. There are other ways (we could add a static list of pages that support threads to the api) so if someone argues we need this feature, please reopen.
There is a setting "discussionsEnabled" on static pages. Threads should only be returned if this is set to true.
(https://github.com/serlo/frontend/issues/709)