element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.23k stars 2k forks source link

Ability to Close Chat View on Element Web/Desktop like Intuitively on Android/iOS #16691

Open toymil opened 3 years ago

toymil commented 3 years ago

On Android/iOS user can ‘go back’ from the chat view to close it, on Web/Desktop there seems to be no obvious way1.

The reason user might want to do this is to avoid ‘reading’ new messages whenever they open the window (see also: #16703).

Something like a close (X) or go back (←) button in the chat view title bar would be nice.


Footnote 1: Currently there is a keyboard shortcut only action “Go to Home View” (Ctrl + Alt + H) which can serve the purpose of close chat view, but it is by no means obvious to normal users, and a keyboard shortcut may not always work (#16692).

t3chguy commented 3 years ago

On instances with a defined Home Page there is such a button

image

toymil commented 3 years ago

Ok, but close chat should be a function available in all circumstances, so some sort of ‘close chat’ button should exist: a) in the chat view; b) for all chat views.
‘go to home’ just seems to be the suitable action for this job (given my limited knowledge), there might be a better way to do this. The intention is just to have the ability to exit a chat view.

t3chguy commented 3 years ago

so some sort of ‘close chat’ button should exist

What other apps have this? I don't see it in Discord or Slack

toymil commented 3 years ago

so some sort of ‘close chat’ button should exist

What other apps have this? I don't see it in Discord or Slack

  1. In Discord, a well placed, obvious ‘Home’ button exist:
    Snipaste_2021-03-17_06-05-50
  2. In Telegram Desktop, press Esc will exit chat view and back to chat list.

Even if no other apps do this (which is not the case), such function still make sense for the reason described above:

to avoid ‘reading’ new messages whenever they open the window.

t3chguy commented 3 years ago

In Discord, a well placed, obvious ‘Home’ button exist:

That home button just takes you to your most recent DM, ftr Element will have a very similar behaviour with the ongoing Spaces work.

image

toymil commented 3 years ago

That home button just takes you to your most recent DM

🤔 You are right. I didn’t use Discord that much.
How about click ‘Home’ then click ‘Friends’ on the right?

Anyway, on Element Android/iOS you can always close chat view by ‘going back’ from it, I am just seeking the same function on Element Web/Desktop.

DantrazTrev commented 3 years ago

In Discord, a well placed, obvious ‘Home’ button exist:

That home button just takes you to your most recent DM, ftr Element will have a very similar behaviour with the ongoing Spaces work.

image

The add + communities button has a similar feature that takes you to add communities page , but it has a certain bug I think is unintentional, if you click the + (communities) button it switches between the community and recent room , however the actual group tab just enables and disable the filters

toymil commented 3 years ago

That is still just a workaround.

jwsp1 commented 3 years ago

This might be related to #5057

afranke commented 3 years ago

FWIW going to https://app.element.io/#/home (or the equivalent for your instance) will bring you back to that view. Sadly, no UI is available to go there without having to mess with the URL.