Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

博客功能的重构与改善(讨论) #92

Closed
Jiyuan-Yang opened this issue May 16, 2020 · 7 comments
Closed

博客功能的重构与改善(讨论) #92

Jiyuan-Yang opened this issue May 16, 2020 · 7 comments
Assignees
Labels
beta help wanted Extra attention is needed size 5 week1 所属阶段的第1周
Milestone

Comments

@Jiyuan-Yang
Copy link
Owner

当前博客功能不利于后期引入评分系统,需要:

  • 将博客按钮放到导航栏
  • 实现博客的打分模版,并设计方便使用的打分界面
    需要进一步讨论
@Jiyuan-Yang Jiyuan-Yang added help wanted Extra attention is needed week1 所属阶段的第1周 size 3 beta labels May 16, 2020
@Jiyuan-Yang Jiyuan-Yang added this to the β版本 milestone May 16, 2020
@804035184
Copy link
Collaborator

完成博客按钮放到导航栏的功能
用户可以从导航栏的博客按钮选择进入所在班级的博客界面
对应commit
338a0a88f4680de4a7b86806bf77cde8bff39a00

@804035184
Copy link
Collaborator

关于博客的储存位置
若弄到一个学生都有权限的仓库,安全性无法得到保证,一个学生可以轻易更改其他人的博客是不合理的,或许保留目前的博客结构,每个人只能看见自己的,老师可以看见所有的比较合理
但有一个问题,对于团队博客,应该团队内部成员都能看见,这可能需要进一步讨论或设计
关于博客的打分
初步设想是在博客的界面右侧弄一个侧边栏,显示各项分数,老师可以更改分数,分数在数据库中存储
学生也可以查看分数,但没有修改权限

@804035184
Copy link
Collaborator

修复了admin创建团队项目失败的问题
修复了由于去掉了学生端查看所有人博客按钮所带来的问题
对应commit
338a0a88f4680de4a7b86806bf77cde8bff39a00

@804035184
Copy link
Collaborator

目前想尝试将查看所有人博客的功能改为查看自己有权限的仓库的博客
目前处在
得到 了user
得到了所有博客所对应的project_id 对这些id根据user进行筛选
目前还没有发现直接的user根project_id 的对应
虽目测需要调api或调整数据库

@804035184
Copy link
Collaborator

将学生查看所有人的博客调整为查看所有有权限的仓库的博客
即包含自己的,结对的和团队的
对应commit
537aad97f46663bb4fc432582725219a1c941742

@804035184
Copy link
Collaborator

评分系统需要一个对前段熟悉的老哥帮忙 我实在是搞不定0.0

@804035184 804035184 added size 5 and removed size 3 labels May 20, 2020
@804035184
Copy link
Collaborator

博客评分的基本功能实现完成
在查看博客的时候左侧有一条显示评分信息,目前过于丑陋,之后慢慢改
教师端有更改评分的按钮,点击跳转到更改评分的界面(展示博客的界面学长写的我实在是加不进去东西,干脆换了个界面
评分项的名字和数目是硬编码上去的,之后会参考之前的博客作业的条目修改
关于评分的合法性检测目前只限制了两位数,之后会根据评分细则修改
对应commit e6af7df282b2a73b70d1d164469b1877d8a97f9f

我 太 菜 了 嘤
最后,祝haml早日成为历史

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta help wanted Extra attention is needed size 5 week1 所属阶段的第1周
Projects
None yet
Development

No branches or pull requests

2 participants