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: H5端与iOS端,实现先获取焦点,再输入文本的能力,对齐Android端 #255

Merged
merged 3 commits into from Jun 4, 2023

Conversation

caofengbin
Copy link
Member

@caofengbin caofengbin commented Jun 2, 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

Agent端MR 配套的前端UI修改

@@ -1901,7 +1909,7 @@ onMounted(() => {

<div
v-if="
step.stepType === 'sendKeys' || step.stepType === 'webViewSendKeys'
step.stepType === 'sendKeys' || step.stepType === 'webViewSendKeys' || step.stepType === 'webViewSendKeysByActions'
"
Copy link
Member

Choose a reason for hiding this comment

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

这里是不是错了

Copy link
Member

Choose a reason for hiding this comment

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

sendKeysByActions 应该跟这里一样?

Copy link
Member Author

Choose a reason for hiding this comment

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

嗯,native 侧的 sendKeysByActions 那里多了一个 提示alert

<el-alert
          show-icon
          style="margin-bottom: 10px"
          close-text="Get!"
          type="info"
        >
          <template #title>
            <div>
              TIPS: 使用Android Driver在Flutter页面输入文本时使用此方式。
            </div>
            <div>需要临时变量或全局变量时,可以添加{{ 变量名 }}的形式。</div>
          </template>
        </el-alert>

别的都是一样的。感觉可以复用成一个,是否展示el-alert 用个方法单独判断一下就好了。

@ZhouYixun ZhouYixun changed the title H5端与iOS端,实现先获取焦点,再输入文本的能力,对齐Android端 feat: H5端与iOS端,实现先获取焦点,再输入文本的能力,对齐Android端 Jun 3, 2023
@prlabeler prlabeler bot added the feature label Jun 3, 2023
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 71b2840 into SonicCloudOrg:main Jun 4, 2023
3 checks passed
@caofengbin caofengbin deleted the feature/input_method branch June 4, 2023 10:09
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.

None yet

2 participants