Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to return to an uncreated DM #23196

Open
robintown opened this issue Sep 2, 2022 · 5 comments
Open

No way to return to an uncreated DM #23196

robintown opened this issue Sep 2, 2022 · 5 comments
Labels
A-DMs O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Regression

Comments

@robintown
Copy link
Member

Steps to reproduce

  1. Open a DM with someone
  2. Start writing a message
  3. Switch to another room

Outcome

What did you expect?

I should be able to switch back to the DM, either from the room list or the search dialog, and continue drafting my message.

What happened instead?

The DM is nowhere to be found in the room list or the search dialog, and so the message I was writing is lost.

Operating system

NixOS unstable

Browser information

Firefox 104.0

URL for webapp

develop.element.io

Application version

Element version: 143632a-react-219f4fae3d97-js-e87ce873b028 Olm version: 3.2.12

Homeserver

Synapse 1.66.0

Will you send logs?

No

@robintown robintown added T-Defect X-Regression S-Major Severely degrades major functionality or product features, with no satisfactory workaround A-DMs O-Occasional Affects or can be seen by some users regularly or most users rarely labels Sep 2, 2022
@weeman1337
Copy link
Contributor

This behaviour is sub-optimal and I understand the issue. But it works as planned.

I talked with @giomfo about it and we are planning to continue working on DM issues with lower priority. So this may be planned at some point in the future.

@t3chguy
Copy link
Member

t3chguy commented Sep 5, 2022

Maybe as a stopgap we should warn when trying to leave the room that data loss will occur (if the user has a composer draft)

@giomfo
Copy link
Member

giomfo commented Sep 12, 2022

@gaelledel I think we would need a design for this use case

I was suggesting to store the pending message to display it in the composer if the same matrixId is selected again to start a DM.
We have to decide if we want to support the case where multiple contacts have been selected.
I'm not fan to keep the local (uncreated) room in the room list

@gaelledel
Copy link

gaelledel commented Sep 12, 2022

Thanks for your suggestions. I would recommend as per Giom's suggestion above. No message warning upon navigating in another room > the room is not created > Simply keep the message data if the user starts the DM flow again. This is not a Major regression

@richvdh
Copy link
Member

richvdh commented Aug 29, 2024

This is infuriating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-DMs O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Regression
Projects
None yet
Development

No branches or pull requests

6 participants