Remove widget render-time dependency on Organization
メンテナーはふだん 1 日以内に返信
@Tirth00000 がすでに取り組んでいます。
2026年11月8日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript
- 領域
- backend
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- JavaScript
- スター
- 73
- フォーク
- 38
- 平均マージ
- 14時間 53分
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GSA/touchpoints のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
GSA/touchpoints#2154 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
digital-registry
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
GSA/touchpoints#2130 ·
メンテナーはふだん 1 日以内に返信
-
digital-registry
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
GSA/touchpoints#2111 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
GSA/touchpoints#2038 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
GSA/touchpoints#2036 ·
メンテナーはふだん 1 日以内に返信
GSA/touchpoints の issue をすべて見る
似ている issue
-
ISA Builder: the Configuration tab has no tabpanel, so both tabs' aria-controls point at a missing element対応中かも @vikash2006-dot が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
riscv/riscv-isa-explorer#725 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
CONTRIBUTING rules Node out in step 0, then tells client-side contributors to run node --test, which is what CI gates on対応中かも @yadavraj2001 が今日担当しました。 オープンdocumentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
juandresrodca/AdminForge#73 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Windows 内置更新报“更新进程启动确认超时”:Explorer ShellExecute 冗余的 -WindowStyle Hidden + -EncodedCommand 触发卡巴斯基挂起オープンbug status/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
WhiteBr1ck/agy-powertools#397 ·
メンテナーはふだん 1 日以内に返信
-
icon submission
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
kubai087/kubai-icons#203 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Add: Don de Dieu TVオープンchannels:add check:passed
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 2 日以内に返信