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

fix(portal): 作业提交页面修复并优化模板时间应用 #1302

Merged
merged 9 commits into from
Jun 20, 2024

Conversation

cuvalign
Copy link
Contributor

@cuvalign cuvalign commented Jun 18, 2024

image

要修复问题

1.从模板值中获取到的时间无法填入
2.因为新增了时间单位,模板文件中保存的只有分钟所以无法换算回分钟以外的单位
1d0a79840fb94fee37610e85dc107bc
3.最长运行时间为空时,提示不随中英文切换变动

修复方法

1.增加最长运行时间的时间单位
image
2.最长运行时间为空时,提示随中英文切换变动
image

Copy link

changeset-bot bot commented Jun 18, 2024

🦋 Changeset detected

Latest commit: 80dfd36

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@scow/portal-server Patch
@scow/portal-web Patch
@scow/grpc-api Minor
@scow/protos Patch
@scow/lib-hook Patch
@scow/lib-operation-log Patch
@scow/lib-scheduler-adapter Patch
@scow/lib-server Patch
@scow/lib-web Patch
@scow/audit-server Patch
@scow/mis-server Patch
@scow/mis-web Patch
@scow/ai Patch
@scow/auth Patch
@scow/gateway Patch
@scow/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkuhpc-review-bot pkuhpc-review-bot bot added the Code-ReviewRequested Code Review Requested label Jun 18, 2024
@pkuhpc-review-bot pkuhpc-review-bot bot requested a review from ddadaal June 18, 2024 09:19
@cuvalign cuvalign requested a review from piccaSun June 18, 2024 09:21
protos/portal/job.proto Outdated Show resolved Hide resolved
apps/portal-web/src/pages/api/job/getJobTemplate.ts Outdated Show resolved Hide resolved
@pkuhpc-review-bot pkuhpc-review-bot bot added Code-ChangeRequested and removed Code-ReviewRequested Code Review Requested labels Jun 18, 2024
@pkuhpc-review-bot pkuhpc-review-bot bot added Code-Approved Code Review approved ReadyForMerge Ready for merge and removed Code-ChangeRequested labels Jun 20, 2024
Copy link
Member

@ddadaal ddadaal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改完注释直接合并

@ddadaal ddadaal merged commit 3558bd4 into master Jun 20, 2024
9 checks passed
@ddadaal ddadaal deleted the fix-optimize-assignment-submission-page branch June 20, 2024 13:19
OYX-1 pushed a commit that referenced this pull request Jul 4, 2024
![image](https://github.com/PKUHPC/SCOW/assets/78541912/8b9ac8ed-6020-4a6c-8526-47b8d1296073)
### 要修复问题
1.从模板值中获取到的时间无法填入
2.因为新增了时间单位,模板文件中保存的只有分钟所以无法换算回分钟以外的单位
<img width="302" alt="1d0a79840fb94fee37610e85dc107bc"
src="https://github.com/PKUHPC/SCOW/assets/78541912/0f47fec2-a763-4c91-81a1-dbbe1d67a4ce">
3.最长运行时间为空时,提示不随中英文切换变动
### 修复方法
1.增加最长运行时间的时间单位

![image](https://github.com/PKUHPC/SCOW/assets/78541912/c180c218-ddcb-4f9a-8fa9-d138e077f0f2)
2.最长运行时间为空时,提示随中英文切换变动

![image](https://github.com/PKUHPC/SCOW/assets/78541912/5e740f49-51d8-4ee5-ad18-59d6fe55a33c)

---------

Co-authored-by: Chen Junda <ddadaal@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code-Approved Code Review approved ReadyForMerge Ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants