the-djmaze / snappymail

Simple, modern & fast web-based email client
https://snappymail.eu
GNU Affero General Public License v3.0
1.01k stars 122 forks source link

Allow users to choose how to open messages on double-click #1791

Open eriksid opened 2 weeks ago

eriksid commented 2 weeks ago

Is your feature request related to a problem? Please describe.

Yes, the current behavior of double-clicking opens the system in full screen, which might not be the desired action for all users. This lack of flexibility can be frustrating for users who prefer different behaviors.

Describe the solution you'd like

I propose adding a configuration option to customize the double-click behavior. This would allow users to choose from several options:

Describe alternatives you've considered

N/A (This section is best used if there were other potential solutions considered but ultimately rejected)

Additional context

This feature would improve user experience by providing flexibility and customization for how users interact with messages.

Here are mockups to illustrate the proposed "Open without split" and "Open in a new tab" functionalities:

I am enthusiastic about this feature and would be happy to develop and submit a Pull Request for its implementation if there's interest from the development team.

the-djmaze commented 2 weeks ago

There are someissues with your request.

  1. Current behavior

    • When a message is part of a thread, double click opens the thread.
    • When a message is NOT part of a thread, double click opens it full-screen due to #1787
  2. Open without split is not possible due to the layout setting afbeelding

  3. Options have no effect in mobile view

  4. Open in a new tab not possible as it has no interaction options

These must be solved first, before it is even optional