The gateway still confirms a remote submission with a corner toast
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
Start in apps/gateway/src/Root.tsx, where notifications.addNotification({ type: 'success' }) shows the corner toast, and compare with apps/web, which passes savesSubmissions to InstrumentRenderer. The copy lives in packages/react-core/src/components/InstrumentRenderer/SubmissionSavedNotice.tsx. Done means the gateway passes savesSubmissions so the save is confirmed on the instrument, with the toast removed or kept as the maintainers decide, and the copy question settled.
索引モデルが issue の本文から書いたものです。
説明
A remote subject who submits an assignment is told it worked by a toast in the bottom-left corner of the viewport (apps/gateway/src/Root.tsx, notifications.addNotification({ type: 'success' })), away from the instrument they were reading.
apps/web no longer does this: InstrumentRenderer now takes savesSubmissions, and the renderers confirm the save on the instrument itself — above the scalar summary, between the items of a series, and on a series' completion screen. The gateway persists every submission (it PATCHes /api/assignments/:id) but does not pass the prop, so it is the one host still on the toast, and it is the host whose reader is the person whose results they are.
Two things to settle when this is picked up:
- The copy in
packages/react-core/src/components/InstrumentRenderer/SubmissionSavedNotice.tsxis second person ("Your Results Have Been Saved"), which reads correctly for a subject and loosely for a clinician recording someone else's results. Either leave it, or make it host-supplied asLocalizedTextthe waysubmitButtonLabelis. - Whether the gateway's toast comes off entirely, or stays as well.
- 主要言語
- TypeScript
- スター
- 119
- フォーク
- 19
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 60
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DouglasNeuroInformatics/OpenDataCapture のほかの issue
-
A docs change can fail pnpm check, because outreach lint and gen:types both write .astro/ at once対応中かも @2389400626lh-ops が今日担当しました。 オープンArea: Infrastructure Area: Outreach Bug Difficulty: Low Good First Issue Priority: Low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DouglasNeuroInformatics/OpenDataCapture#1956 ·
メンテナーはふだん 1 日以内に返信
-
Area: Infrastructure Chore Difficulty: Low Priority: Low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DouglasNeuroInformatics/OpenDataCapture#1948 ·
メンテナーはふだん 1 日以内に返信
-
apps/web preview overwrites newly built dist/index.html with stale dist/index.html.bak across buildsオープンArea: Infrastructure Area: Web Bug Difficulty: Low Priority: Medium
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
DouglasNeuroInformatics/OpenDataCapture#1938 ·
メンテナーはふだん 1 日以内に返信
-
Area: API Bug Difficulty: Low Priority: Low
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
DouglasNeuroInformatics/OpenDataCapture#1937 ·
メンテナーはふだん 1 日以内に返信
-
Area: Infrastructure Bug Difficulty: Low Priority: Medium Security
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DouglasNeuroInformatics/OpenDataCapture#1916 ·
メンテナーはふだん 1 日以内に返信
DouglasNeuroInformatics/OpenDataCapture の issue をすべて見る
似ている issue
-
Resources: New templates of Beijing Subway対応中かも @rmt-svc が今日担当しました。 オープンresources
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
railmapgen/rmg-templates#2726 ·
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
homarr-labs/homarr#7729 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Buzzpy/Dev-Encyclopedia#218 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
prio:low status:done type:content
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
davidsneighbour/samui-samui.de#1925 ·