Hide or neutralise the "Ingest Queued" button when nothing is queued
還沒有人認領這個 Issue。
評估
研究方向
從 gknowledge/ui/window.py 中的 _update_ingest_button() 開始,檢查它如何設定按鈕的可見性、靈敏度和 suggested-action 樣式。執行 make start 開啟示範專案,接著觀察佇列為空時以及新增來源後的按鈕。完成標準是:佇列為空時按鈕隱藏或呈中性狀態,有來源加入佇列後按鈕重新出現。
由索引模型根據 Issue 內容生成。
描述
When the queue is empty the button is disabled but still orange, which looks like an error.
Where to look: _update_ingest_button() in gknowledge/ui/window.py.
Done when: with an empty queue the button is hidden (or neutral, without suggested-action), and it reappears when sources are queued.
New here? Run make start to open a demo project that restarts on every save, and make test for the core tests. See CONTRIBUTING.md. Comment below to claim the issue.
- 主要語言
- Python
- 星號
- 13
- 分支
- 0
- 平均合併
- 17 分鐘
- 30 天內合併 PR
- 4
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
openapi/gknowledge 的其他 Issue
-
area: docs good first issue translation
難度 2/5 半天 新手友好度 62/100
openapi/gknowledge#40 ·
-
area: docs good first issue translation
難度 2/5 1-2 天 新手友好度 62/100
openapi/gknowledge#39 ·
-
area: docs good first issue translation
難度 2/5 1-3 小時 新手友好度 62/100
openapi/gknowledge#37 ·
-
area: docs good first issue translation
難度 2/5 半天 新手友好度 70/100
openapi/gknowledge#36 ·
-
area: docs good first issue translation
難度 2/5 1-3 小時 新手友好度 62/100
openapi/gknowledge#35 ·
查看 openapi/gknowledge 的全部 Issue
相似的 Issue
-
Questions crashes on a real SQuAD2 no-answer prediction可能已有人在做 @HuaTNA 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
GST is read as Gulf Standard Time (UTC+4) instead of Guam Standard Time (UTC+10)可能已有人在做 @yang00333 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
DOI-USGS/dataretrieval-python#454 ·
維護者通常 4 天內回覆
-
area:core-platform effort:S priority:P3 status:in-review type:test
難度 2/5 1 小時以內 新手友好度 80/100
randomparity/kdive#3246 · 1 則留言 ·
維護者通常 1 天內回覆
-
Requantification library converts m/z to mass with the hydrogen-atom mass instead of the proton mass未關閉bug
難度 1/5 1 小時以內 新手友好度 85/100
nf-core/metaboigniter#130 ·
維護者通常 1 天內回覆
-
netbox status: needs owner type: documentation
難度 1/5 1 小時以內 新手友好度 75/100
netbox-community/netbox#23412 · 1 個 reaction ·
維護者通常 1 天內回覆