[GH-ISSUE #300] Feature Request: Quick replying to the message / 功能需求:快捷回应 #262

Closed
opened 2026-03-03 11:42:02 +03:00 by kerem · 2 comments
Owner

Originally created by @ahu on GitHub (Apr 18, 2025).
Original GitHub issue: https://github.com/Finb/Bark/issues/300

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

Originally created by @ahu on GitHub (Apr 18, 2025). Original GitHub issue: https://github.com/Finb/Bark/issues/300 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](https://github.com/user-attachments/assets/4bcf993f-5eb7-46b7-8b57-028e4a6f509a) ![Image](https://github.com/user-attachments/assets/a9d415c2-c5f4-4422-a0a1-3f46b00935dc)
kerem closed this issue 2026-03-03 11:42:02 +03:00
Author
Owner

@ahu commented on GitHub (Apr 18, 2025):

点击发送按钮后,最好显示一个提示用来标识是发送成功还是失败了。技术上可以定义一个简单规范如:请求该 url 后返回 200 响应或返回 json 串:

{
  "errcode":0,
  "errmsg":"ok"
}
<!-- gh-comment-id:2814714387 --> @ahu commented on GitHub (Apr 18, 2025): 点击`发送`按钮后,最好显示一个提示用来标识是发送成功还是失败了。技术上可以定义一个简单规范如:请求该 url 后返回 200 响应或返回 json 串: ``` { "errcode":0, "errmsg":"ok" } ```
Author
Owner

@Finb commented on GitHub (Apr 28, 2025):

感谢建议,应该暂时不会增加
如果这个功能是刚需建议暴露一个操作网页,再将网页推送过来,然后操作就点击跳转到网页里去操作吧

<!-- gh-comment-id:2833773738 --> @Finb commented on GitHub (Apr 28, 2025): 感谢建议,应该暂时不会增加 如果这个功能是刚需建议暴露一个操作网页,再将网页推送过来,然后操作就点击跳转到网页里去操作吧
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Bark#262
No description provided.