Displaying Required Trainings instead of Program Trainings in the User's Profile

未关闭
#1,833 0 条评论 0 个 reaction 已指派 2 人 在 GitHub 查看

@ArtemKurasov 已经在做这个了。

开始于 2026年10月22日。

评估

这个 Issue 还没有评估数据。

描述

enhancement

Issue Description

Since we are stepping away from program trainings in favor of required trainings, we should have required trainings displayed on the user's profile instead of program trainings.

Important Note

This issue is a logical follow-up to the following PR: #1604

Image

What Will This Replacement Change?

We need to replace program trainings with required trainings, since required trainings reflect the choices an admin makes when creating events (if you look at the Create Event page, you will see a list of training options the admin chooses from).

Meanwhile, program trainings just assume that the user needs certain trainings, and it displays all of them in a form of a potentially long list, which is not that practical, considering that the user doesn't have to attend all the listed trainings to be qualified for an event.

What are the Changes supposed to Be Made to?

  1. Go to My Profile, which you can find on the sidebar
  2. Select the Programs tab
  3. If you hover your mouse over a View link for any of the listed programs, you will see Program Trainings. However, with the introduction of required trainings, it should display required trainings instead.

Some of Our Thoughts

Because every event in a program can have different required trainings, it should display required trainings based on what each event in this program requires. Alternatively, it can just display all potentially required trainings, but even if displays everything, it should only be one or two items displayed in the hover message, similar to how required trainings are done in the event view.

主要语言
Python
星标
1
派生
16
平均合并
1 小时 1 分钟
30 天内合并 PR
1

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

BCStudentSoftwareDevTeam/celts 的其他 Issue

查看 BCStudentSoftwareDevTeam/celts 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。