[feature]: Page comments in the public API

Abierto
#10,422 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
django, python
Área
api

Línea de trabajo

Start with apps/api/plane/app/urls/page.py and apps/api/plane/db/models/page.py, which the issue identifies as the page routes and models; compare the work item comment endpoints to understand the requested pattern. The issue also reports that page comment requests currently return 404. Done means adding list, retrieve, create, update, and delete page comment API operations with comment_html and access.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Is there an existing issue for this?
  • I have searched the existing issues
Summary

Pages are the only major resource without a comment API. The public REST API supports comments on work items and on release changelogs, but a page exposes only get/update/archive/delete, description, versions, duplicate, lock and attachment operations. Please add a page comment resource — list, retrieve, create, update, delete under .../pages/<page_id>/comments/, with comment_html and an access field, mirroring the work item comment endpoints.

Why should this be worked on?

Pages hold the artifacts that get reviewed — PRDs, HLDs, specs — and review feedback has nowhere to go through the API. Today a reviewer either edits the page body (destroying history and the document) or opens a separate work item that then drifts from the page it comments on.

Verified on preview:

  • apps/api/plane/app/urls/page.py registers pages, favorite, archive/unarchive, lock/unlock, access, description, versions, duplicate and live-access routes. There is no comments route.
  • apps/api/plane/db/models/page.py defines Page, PageLog, PageLabel, ProjectPage and PageVersion. There is no comment model, so there is nothing for an endpoint to serve.
  • GET/POST .../pages/<page_id>/comments/ returns 404 on both v1 and v2, with and without a trailing slash, at project and workspace scope. The web app's own API path is session-cookie authenticated and cannot be reached with an X-API-Key.
Lenguaje dominante
TypeScript
Estrellas
63k
Forks
6.5k
Merge medio
2 d 16 h
PR fusionados (30 d)
70

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de makeplane/plane

Todos los issues de makeplane/plane

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.