Remove widget render-time dependency on Organization
Los mantenedores suelen responder en 1 día
@Tirth00000 ya está trabajando en esto.
Desde el 8/11/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript
- Área
- backend
Línea de trabajo
Read the widget rendering code that supplies the default logo_alt_text and the cache invalidation code in organization.rb. Trace how organization names populate logo alt text and how organization changes invalidate form widget caches; decide whether a data migration is needed for existing null values. Done means rendering no longer depends on Organization and the organization cache invalidation code is removed.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
https://github.com/GSA/touchpoints/pull/2165 introduces caching of rendered widget JS code. To simplify the cache invalidation logic and reduce the frequency of invalidations, we'd like the rendered widget to depend on as few model objects as possible. Currently, it depends on:
- Form
- FormSection
- Question
- QuestionOption
- Organization
The Organization dependency is expensive since, if an Org changes, we have to invalidate the cache for all forms associated with the Org. It's also probably unnecessary, since it's only used to provide a default alt text for forms with a logo. We should:
- Remove the render-time default value for
logo_alt_text. - Possibly do a data migration to fill any null
logo_alt_textcolumns with the Org name.
Then, we can remove the cache invalidation code from organization.rb.
- Lenguaje dominante
- JavaScript
- Estrellas
- 73
- Forks
- 38
- Merge medio
- 14 h 53 min
- PR fusionados (30 d)
- 12
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin 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 GSA/touchpoints
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
GSA/touchpoints#2154 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
digital-registry
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
GSA/touchpoints#2130 ·
Los mantenedores suelen responder en 1 día
-
digital-registry
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
GSA/touchpoints#2111 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
GSA/touchpoints#2038 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
GSA/touchpoints#2036 ·
Los mantenedores suelen responder en 1 día
Todos los issues de GSA/touchpoints
Issues similares
-
ISA Builder: the Configuration tab has no tabpanel, so both tabs' aria-controls point at a missing elementPosiblemente ocupada @vikash2006-dot la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
riscv/riscv-isa-explorer#725 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates onPosiblemente ocupada @yadavraj2001 la tomó hoy. Abiertodocumentation good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
juandresrodca/AdminForge#73 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Windows 内置更新报“更新进程启动确认超时”:Explorer ShellExecute 冗余的 -WindowStyle Hidden + -EncodedCommand 触发卡巴斯基挂起Abiertobug status/needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
WhiteBr1ck/agy-powertools#397 ·
Los mantenedores suelen responder en 1 día
-
[Icon submission] file-pdfAbiertoicon submission
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
kubai087/kubai-icons#203 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Add: Don de Dieu TVAbiertochannels:add check:passed
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 2 días