Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Question in a relevant repeat isn't displayed in edit if it wasn't relevant in the submission

オープン
#904 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
frontend

調査の方向性

添付された relevant_repeat_group.xlsx.txt から始め、staging submissions URL で編集フローを再現します。option 2 で送信し、submission を編集してから、option 1 を選択します。編集時の repeat group の relevance と rendering を追跡します。option 1 の選択後にテキスト質問と repeat を追加するコントロールが表示され、Enketo と一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Observed Behaviour

It seems that the question in a relevant repeat isn't displayed in edits (if it wasn't relevant in the submission).
In the form (screenshot 1 below) the relevant repeat appears after selecting option 1.
The issue occurs in edit when in the submission the relevant question didn't appear (option 2 or 3 was selected).

  1. The relevant repeat group in a new submission (text question + add repeat button):
Image
  1. The relevant repeat group in an edit ( no text question, just the add repeat button):
Image

In Enketo in edits the question and add repeat button appear.

Reproduction Steps

relevant_repeat_group.xlsx.txt

Steps:

  1. Open and new submission in https://staging.getodk.cloud/projects/235/forms/repeat_group_relevant/submissions
  2. Select option 2 and send the submission.
  3. Go to the submissions table and edit the submission.
  4. Select option 1 and check the relevant repeat text question.
Screenshots or Videos

https://jam.dev/c/b0feb2e6-de40-49a6-b445-7acea4595941

Environment
  • Browser: Chrome, Firefox
  • Web Forms version: 1.0.3
主要言語
TypeScript
スター
38
フォーク
22
平均マージ
14時間 13分
マージ済み PR(30日)
1

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getodk/web-forms のほかの issue

getodk/web-forms の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。