Remove widget render-time dependency on Organization
Maintainer thường phản hồi trong vòng 1 ngày
@Tirth00000 đang làm issue này rồi.
Từ ngày 8/11/2026.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
- Lĩnh vực
- backend
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- JavaScript
- Star
- 73
- Fork
- 38
- Merge trung bình
- 14 giờ 53 phút
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GSA/touchpoints
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
GSA/touchpoints#2154 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
digital-registry
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
GSA/touchpoints#2130 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
digital-registry
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
GSA/touchpoints#2111 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
GSA/touchpoints#2038 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
GSA/touchpoints#2036 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GSA/touchpoints
Issue tương tự
-
ISA Builder: the Configuration tab has no tabpanel, so both tabs' aria-controls point at a missing elementCó thể đã có người làm @vikash2006-dot đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
riscv/riscv-isa-explorer#725 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates onCó thể đã có người làm @yadavraj2001 đã nhận hôm nay. Đang mởdocumentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
juandresrodca/AdminForge#73 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows 内置更新报“更新进程启动确认超时”:Explorer ShellExecute 冗余的 -WindowStyle Hidden + -EncodedCommand 触发卡巴斯基挂起Đang mởbug status/needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
WhiteBr1ck/agy-powertools#397 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Icon submission] file-pdfĐang mởicon submission
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
kubai087/kubai-icons#203 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: Don de Dieu TVĐang mởchannels:add check:passed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 2 ngày