Esportare il nome delle sessioni nell’API pubblica del calendario lauree
还没有人认领这个 Issue。
评估
调研方向
Find the handler for GET /api/v1/degree_sessions/schedule/{day} and read how it builds the response’s data array from DegreeSession records. Add documented metadata that preserves the names when one or several sessions appear on the same date. Add tests for one session, multiple sessions, and an empty calendar; done when all three pass and the existing room and event array remains compatible.
由索引模型根据 Issue 内容生成。
描述
L’endpoint pubblico GET /api/v1/degree_sessions/schedule/{day} restituisce il calendario delle discussioni raggruppato per aula, ma non include il nome delle sessioni di laurea, disponibile nel campo DegreeSession.name.
Il monitor del dipartimento (Unipisa/dm-monitor) usa questo endpoint per mostrare le lauree della giornata. Esportare anche il nome consentirebbe di costruire il titolo della pagina usando i dati di CAPS, senza configurarlo manualmente.
Si richiede di includere nella risposta pubblica i nomi delle sessioni rappresentate nel calendario, mantenendo compatibile l’attuale array data di aule ed eventi. La risposta dovrebbe gestire anche più sessioni nello stesso giorno (ad esempio triennale e magistrale), senza perdere i rispettivi nomi.
Verificare con test il caso di una sola sessione, quello di più sessioni nella stessa data e quello di un calendario vuoto, documentando la struttura dei nuovi metadati.
- 主要语言
- PHP
- 星标
- 4
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Unipisa/caps 的其他 Issue
-
Cannot access未关闭
难度 4/5 3-5 天 新手友好度 15/100
-
Visual feedback when saving.可能重新可做 @robol 于 526 天前认领,目前没有进行中的 PR。 未关闭
-
creare dashboard可能重新可做 @robol 于 696 天前认领,目前没有进行中的 PR。 未关闭
-
edit degrees可能重新可做 @paolini 于 696 天前认领,目前没有进行中的 PR。 未关闭
-
Esplicitare la dimensione massima degli allegati可能重新可做 @robol 于 788 天前认领,目前没有进行中的 PR。 未关闭
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
unopim/shopify-connector#55 ·
-
14.3.x
难度 2/5 1-3 小时 新手友好度 65/100
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
-
CMS video element: "CmsVideoPlugin" sets `volume = 0`, so videos cannot be unmuted on Android Chrome未关闭needs-triage Platform(Default)
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
PrestaShop/ps_googleanalytics#187 ·