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

feat:支持从任意行添加或复制步骤 #379

Conversation

caofengbin
Copy link
Contributor

@caofengbin caofengbin commented Sep 4, 2023

Whether this PR is eventually merged or not, Sonic will thank you very much for your contribution.

无论此PR最终是否合并,Sonic组织都非常感谢您的贡献。

Checklist

  • The title starts with fix, fea, or doc. | 标题为fix、feat或doc开头。
  • I have checked that there are no duplicate pull requests with this request. | 我已检查没有与此请求重复的拉取请求。
  • I have considered and confirmed that this submission is valuable to others. | 我已经考虑过,并确认这份呈件对其他人很有价值。
  • I accept that this submission may not be used. | 我接受此提交可能不会被使用。

Description

需求背景:当前在sonic中新增步骤,或者复制步骤,默认都是添加到最后一步,再通过拖动的方式放到指定的目标位置。当用例本身比较长时,交互上会比较繁琐。

本次mr支持在复制步骤时,选取复制步骤到当前行或者用例最后一行:

image

已经在指定的用例步骤的上方或者下方新增加步骤:

image

主要改动点是实现了后端接口,复用了之前的排序接口,改为在新增步骤完成后,自定进行排序到指定行

Copy link
Member

@ZhouYixun ZhouYixun left a comment

Choose a reason for hiding this comment

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

mg

@ZhouYixun ZhouYixun merged commit 51e7d7e into SonicCloudOrg:main Sep 4, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants