Allow task assignment from new task page
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- frontend
调研方向
从 component #1172 及其组件测试开始,然后检查 project/tasks/task/new.hbs 和 new-task route/controller,尤其是现有的 skill-assignment 流程。实现 subtasks 中描述的 assignment UI 和保存行为,更新组件测试,并验证 sidebar 样式和 task 保存路径。
由索引模型根据 Issue 内容生成。
描述
Problem
Users which are allowed to do so should be able to assign tasks from the new task page. We should use the component extracted in #1172 to achieve this, so this will be marked as blocked until we're ready for that.
Since this is for a new task, it should be implemented similarly to skill assignments. Instead of immediately creating a userTask record as soon as the user makes a dropdown selection, we should assign the selected user to a controller/route property. Once the user then saves the task, we should create and save the userTask record automatically.
This means that the component defined in #1172 might have to be modified to allow external assignment of the user, and tests would have to be updated to support this.
Subtasks
- Include component from #1172 in
project/tasks/task/new.hbs - [ ] Modify component so it allows external assignment of the assigned user. This should be relatively simple and be just a matter of overwriting the component property.
- Update component tests so they cover this case
- [ ] Handle
onChangeaction correctly in route/controller. It should work similarly to how skill assignment works. - Modify task save action on route/controller to also create a
userTaskonce saving is done - Fix any styling issues that might occur from using the component in the sidebar instead of the task card.
- 主要语言
- JavaScript
- 星标
- 120
- 派生
- 75
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
code-corps/code-corps-ember 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
code-corps/code-corps-ember#1616 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
code-corps/code-corps-ember#1613 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
code-corps/code-corps-ember#1612 ·
-
Difficulty: Medium Skill: ember-cli-page-object
难度 2/5 1-3 小时 新手友好度 62/100
code-corps/code-corps-ember#1063 · 1 个 reaction ·
-
greenkeeper
难度 3/5 1-2 天 新手友好度 25/100
code-corps/code-corps-ember#1765 · 1 条评论 ·
查看 code-corps/code-corps-ember 的全部 Issue
相似的 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
难度 2/5 1-3 小时 新手友好度 90/100
-
Add: BuyPass TV 未关闭channels:add check:passed
难度 2/5 1-3 小时 新手友好度 75/100
-
S: triage
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 1/5 1 小时以内 新手友好度 78/100