Skip to content

Conversation

@brichet
Copy link
Collaborator

@brichet brichet commented Dec 8, 2025

This PR adds an setting to show the deleted message in the chat.

It also restores a minimal header of the current user's messages, to display the time of the message and the deleted status.

Part of #303

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

Binder 👈 Launch a Binder on branch brichet/jupyter-chat/option_to_show_deleted_messages

@brichet brichet added the enhancement New feature or request label Dec 8, 2025
@brichet brichet self-assigned this Dec 8, 2025
@jtpio
Copy link
Member

jtpio commented Dec 8, 2025

Trying this PR on Binder, should there be some text to indicate a message has been deleted?

image

@brichet
Copy link
Collaborator Author

brichet commented Dec 8, 2025

Thanks for looking the PR @jtpio

You're right, actually I tested it only with a collaborator, and we can see the message in this case.
image

The message deleted and edited are added to the header, which is not displayed anymore for the current user, only for collaborators, after #298.

I'll think about it, because with the current state we also loose the time and the edited information for the current user (the message edition is not restored yet, though).

@brichet brichet marked this pull request as draft December 8, 2025 22:17
@brichet brichet marked this pull request as ready for review December 9, 2025 11:00
@brichet brichet changed the title Option to show deleted messages Restore time for current user's messages, and allow showing deleted messages Dec 9, 2025
@brichet
Copy link
Collaborator Author

brichet commented Dec 9, 2025

Trying this PR on Binder, should there be some text to indicate a message has been deleted?

It should be fixed now.

Copy link
Member

@jtpio jtpio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@brichet brichet merged commit 6981efc into jupyterlab:main Dec 9, 2025
14 checks passed
@brichet brichet deleted the option_to_show_deleted_messages branch December 9, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants