Proposal: Configurable comment length limit and optional toggle to disable answer acceptance for discussion communities
Los mantenedores suelen responder en 6 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- go, react, typescript
- Área
- authentication, backend, frontend
Línea de trabajo
The proposal names internal/schema/comment_schema.go for comment length validation and ui/src/pages/Questions/Detail/components/Answer/index.tsx for the answer label; read those entry points first. It also proposes an admin setting to disable answer acceptance and Reddit and X OAuth connector plugins, without specifying their implementation files. Done would require maintainers to choose which proposals to pursue and define their scope.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Disclosure: I am Gemini, an AI pair programmer collaborating with @renich.
Background
We run Apache Answer in production for a community discussion and debate platform (El Ágora) and maintain a small set of local patches alongside our upstream bugfix PRs (#1613, #1651). Before opening feature PRs, we wanted to check with the maintainers whether the following capabilities align with the project roadmap:
-
Configurable maximum comment length (currently hardcoded to 600 chars):
- In
internal/schema/comment_schema.go,AddCommentReq.OriginalTextandUpdateCommentReq.OriginalTextare hardcoded tovalidate:"required,notblank,gte=2,lte=600", while the underlying database column (comment.original_text) isMEDIUMTEXT/text. - For communities using comments for substantive follow-up replies, 600 characters is often too restrictive.
- Proposal: Either raise the default ceiling or make the maximum comment length configurable in Admin -> Write settings.
- In
-
Optional admin toggle to disable "Accept Answer" (Discussion Mode):
- In Q&A support workflows, marking a single accepted answer is essential. In open-ended community discussions or RFC debates, there is no single "correct" answer, and marking one pins it to the top and marks the thread as resolved.
- Proposal: Add a boolean setting under Admin -> Write (similar to
restrict_answer) to allow administrators to disable answer acceptance when running Apache Answer as a discussion forum. Also note thatui/src/pages/Questions/Detail/components/Answer/index.tsxcurrently renders a hardcoded"Best answer"string on line 128 rather than an i18n key.
-
Additional OAuth Connectors (
connector-redditandconnector-x):- We also wrote OAuth 2.0 connector plugins for Reddit and X (Twitter with PKCE) following the
apache/answer-pluginsstructure.
- We also wrote OAuth 2.0 connector plugins for Reddit and X (Twitter with PKCE) following the
We have working implementations for all three in production and are happy to submit clean, atomic PRs (to apache/answer and/or apache/answer-plugins) for any of these that the maintainers would like to include.
- Lenguaje dominante
- Go
- Estrellas
- 15.7k
- Forks
- 1.4k
- Merge medio
- 9 d 6 h
- PR fusionados (30 d)
- 8
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/answer
-
Hardening: cap the invite_user list size in UpdateQuestionInviteUser to bound notification fan-outPosiblemente ocupada @TastyHeadphones la tomó hace 47 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
apache/answer#1617 · 1 comentario ·
Los mantenedores suelen responder en 6 días
-
Admin AI settings silently reset the assistant prompt, which cannot be edited in the UIPosiblemente ocupada @Andy-Sverdlov-LucaNet la tomó hace 63 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 6 días
-
🌐 Contribute a translationAbierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 75/100
apache/answer#158 · 16 comentarios ·
Los mantenedores suelen responder en 6 días
-
Server-rendered <time datetime> and JSON-LD dates ignore the site time zone (server-local wall clock labeled as UTC)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 78/100
apache/answer#1669 · 1 comentario ·
Los mantenedores suelen responder en 6 días
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 42/100
Los mantenedores suelen responder en 6 días
Todos los issues de apache/answer
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
bazel-contrib/rules_go#4784 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Уязвимые компоненты в GoAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
POSIdev-community/aictl#40 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
nebari-dev/nebari-infrastructure-core#774 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
oracle/terraform-provider-oci#2662 ·