Skip to content

Feature Request: Quick replying to the message / 功能需求:快捷回应 #300

@ahu

Description

@ahu

Sometimes, when we receive a message, we may want to quickly respond with a simple reply. Wouldn’t it be great if there were a quick reply input box and a send button right below the message? When clicked, the content entered could be submitted immediately. In terms of implementation, since passing in a URL is already supported, we could add a parameter (e.g., reply=yes). When this parameter is present, the input box and send button would be displayed. Clicking the button would then append a GET parameter like ?msg=your input to the URL (e.g., http://website/reply ) and send a request to that URL in the background, thereby enabling quick replies.

有时候当我们收到消息时可能需要做出一下简单回复(回应),如果能在消息下方有一个快捷回复输入框及发送按钮,点击后就可以把要回复的内容提交出去,岂不美哉?具体实现上,Bark不是支持传入链接吗?可以加一个参数(例如:reply=yes) 用来标识这个消息并不是显示该链接而是显示回复输入框和发送按钮,然后点击按钮后向链接(例如:http://website/reply )追加 GET 参数 ?msg=输入框内容,并在后台请求这个 URL,从而实现快捷回应。简单做了两个 DEMO 示意图如下:

Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions