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

✏️ Edit message - Overview #11203

Closed
4 of 24 tasks
nickvergessen opened this issue Dec 12, 2023 · 8 comments
Closed
4 of 24 tasks

✏️ Edit message - Overview #11203

nickvergessen opened this issue Dec 12, 2023 · 8 comments

Comments

@nickvergessen
Copy link
Member

nickvergessen commented Dec 12, 2023

Subtickets


MVP

  • Edit in default input showing the original content as a "quote"
    • Don't allow changing from message to caption and vice-versa
    • Don't allow to toggle silent send on
  • System message hidden like with delete?
  • Visible indicator a message was edited (and by whom/when)?
    • Amend to the author name (edited) / (edited by moderator-name)
    • Editor+Time in Message menu as subline of timestamp
  • Time limitation like for delete?
    • Limit editing to X hours (draft 24 hours, check what others do and discuss again)
    • Set the limit on deletion to infinite
  • What to do about mention notifications (added a mention, removed a mention)?
    • Should indicate in the UI what happens (only when affected)
    • Make sure people don't get 1 for the message and 2 for followup edits
  • What about bots?
    • Can not edit bot messages, moderators can
    • Bots will not get explicitly notified about previous edits (only with the default system message)?
    • If a message triggered a bot already it's yolo and will not be retriggered with the new content automatically (bot can do based on the system message?)
      • Should indicate in the UI what happens (only when affected)

Followups

  • Revisions?
    • If so, also need to be able to delete/hide revisions (similarly to github) then to remove passwords
@SystemKeeper
Copy link
Contributor

  • Amend to the author name (edited) / (edited by moderator-name)

This could be tricky on phones, I can see that most of the time the moderator name will be truncated. Still okay or is wrapping mandatory in this case? (Wrapping the author label would be more work, at least on iOS).

Set the limit on deletion to infinite

That means deletion is always possible or editing a deleted message is always possible?

@Ivansss
Copy link
Member

Ivansss commented Dec 13, 2023

This could be tricky on phones, I can see that most of the time the moderator name will be truncated. Still okay or is wrapping mandatory in this case? (Wrapping the author label would be more work, at least on iOS).

Agree, we might need to find a better place for mobile devices.

That means deletion is always possible or editing a deleted message is always possible?

We will remove the limit to message deletion, so deleting a message will be always possible.

@SystemKeeper
Copy link
Contributor

Agree, we might need to find a better place for mobile devices.

Maybe we could add a pencil to the message to indicate it was edited and show a „edited by/at“ when opening the context menu? (Thinking of phones here)

@SystemKeeper
Copy link
Contributor

Some quick implementation on iOS.

Indicator in the chat (before/after the authors name):
Bildschirmfoto 2024-01-07 um 19 42 59
Bildschirmfoto 2024-01-07 um 19 42 37

Details when opening the context menu:
Bildschirmfoto 2024-01-07 um 19 59 55

What do you think? :)
CC @nextcloud/designers

@nickvergessen
Copy link
Member Author

I think it looks good, but would prefer the icon after the name

@marcoambrosini
Copy link
Member

I think that whenever there's space available, we should show the label edited together with the icon.

@jancborchardt
Copy link
Member

I’d also say after the name. And I would even say no icon and just text, also because the icon is not really so understandable (very thin). Since something is edited it also warrants using text rather than just an icon.

The original spec above says this, let’s do it like that:

Amend to the author name (edited) / (edited by moderator-name)

@NoahDar
Copy link

NoahDar commented Jan 19, 2024

Looking forward seeing this get added to talk. Keep up the great work guys! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Archived in project
Development

No branches or pull requests

6 participants