dify icon indicating copy to clipboard operation
dify copied to clipboard

[Feature Request] Display buttons for functions that does not have an equivalent input command on mobile browsers

Open Emasoft opened this issue 1 year ago • 3 comments

Self Checks

  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Dify can be used from any mobile device, but there are some annoying issues. On mobile browsers (like iOS Safari for example) there are some input commands that are not available:

  • Mouse right-click (to open contextual menus)
  • Ctrl key (for many commands like Ctrl-a to select-all, Ctrl-c and Ctrl-v for copy and paste, etc.)
  • Cmd key (for opening the commands palette)
  • Function keys (for many functions)
  • Alt/Option key (for shortcuts)
  • PageUp/PageDown/End/Home keys (to quickly move through the text document)
  • Holding down the Shift key (to quickly select to the end of line, or of page, or shift-tab to decrease indentation of code)
  • The arrow keys (to go up in the terminal buffer, or scroll a menu without selecting the wrong menu entry because of the touch response).

PROPOSED SOLUTION:
To be mobile-friendly Dify should adopt a simple UI design rule:

"Every Dify command that requires the above inputs should be provided also as a button."

Following the above rule in the UI design all the troubles of Dify with the mobile browser should be solved.

EXAMPLE: in every block editor there should be a toolbar with the buttons for Undo, Redo, Cut, Copy, Paste, Select All, Find & Replace, Back-tick character (hard to find on european keyboards), increase indent, decrease indent, etc. Currently only the "Copy All" button is provided.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • [ ] I am interested in contributing to this feature.

Emasoft avatar Oct 10 '24 01:10 Emasoft

Hi, @Emasoft. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Feature request to improve Dify's usability on mobile browsers.
  • Suggestion to add buttons for functions requiring right-click, Ctrl/Cmd keys, and function keys.
  • Aim to enhance accessibility and functionality for mobile users.
  • No comments or further developments on this issue yet.

Next Steps:

  • Please let me know if this issue is still relevant to the latest version of Dify by commenting here.
  • If there is no further activity, I will automatically close this issue in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Nov 10 '24 16:11 dosubot[bot]

Sorry for the late answer. Yes, this is still VERY relevant. Please implement this change. Thank you.

Emasoft avatar Jan 22 '25 03:01 Emasoft

@takatost, the user Emasoft has indicated that this issue is still VERY relevant and has requested the implementation of the change. Could you please assist them with this? Thank you!

dosubot[bot] avatar Jan 22 '25 03:01 dosubot[bot]