-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Add warning banner if moving topic or multiple messages to a pre-existing conversation. #31151
Comments
@zulipbot claim |
Yes, that's right. We sometimes show banners in the invitations modal, in case that's also a helpful reference. |
Screen.Recording.2024-08-04.at.2.43.34.PM.movScreen.Recording.2024-08-04.at.2.43.58.PM.movThis is what I have now. For moving messages, technically "Move all" and "Move this and the following" can move only one message based on the topic or the position in the thread for the selected message. Do we need to worry about this corner case? |
@heyiming - I'd recommend opening a pull request with your changes, and asking questions like this on the linked CZO (chat.zulip.org) thread in the issue description above. It can be hard to understand exactly the corner case you're asking about from looking at screencasts on GitHub, while it can be easier to have an interactive conversation about them on CZO. One thing I did notice in your screencasts is that the topic name set in the modal for the change, "old wifi isn't compilin", isn't in the left sidebar for the #devel channel. We only want to show these warning banners in the case that the channel/topic where the messages would be moved to isn't empty (i.e., the topic already exists in that channel). If that topic in that channel doesn't exist, then we don't need to show the banner. |
…ting conversation. zulip#31151 Only show the warning banner if submit button is enabled and the number of messages being moved are more than one.
…ting conversation. zulip#31151 Only show the warning banner if submit button is enabled and the number of messages being moved are more than one. Fixes: zulip#31151
…sting conversation Only show the warning banner if submit button is enabled and the number of messages being moved are more than one. Fixes: zulip#31151
The warning banner only shows when 1) submit button is NOT disabled, and 2) target topic is an existing topic, and 3) propagate_mode is NOT change_one Fixes: zulip#31151
…sting conversation Only show the warning banner if submit button is enabled and the number of messages being moved are more than one. Fixes: zulip#31151
…sting conversation Only show the warning banner if submit button is enabled and the number of messages being moved are more than one. Fixes: zulip#31151
Only show the warning banner if submit button is enabled and the number of messages being moved are more than one. Fixes: zulip#31151
Only show the warning banner if submit button is enabled and the number of messages being moved are more than one. Fixes: zulip#31151
Only show the warning banner if submit button is enabled and the number of messages being moved are more than one. Fixes: zulip#31151
Only show the warning banner if submit button is enabled and the number of messages being moved are more than one. Fixes: zulip#31151
Only show the warning banner if submit button is enabled and the number of messages being moved are more than one. Fixes: zulip#31151
Only show the warning banner if submit button is enabled and the number of messages being moved are more than one. Fixes: zulip#31151
Moving messages is a powerful tool that helps organize conversations and keep them in place. However, moving messages to an existing topic can be messy and create a confusing flow of conversation which is difficult to undo. We should warn users before moving a topic. Fixes: zulip#31151. Co-authored-by: heyiming
Moving messages is a powerful tool that helps organize conversations and keep them in place. However, moving messages to an existing topic can be messy and create a confusing flow of conversation which is difficult to undo. We should warn users before moving a topic. Fixes: zulip#31151. Co-authored-by: heyiming
Moving messages is a powerful tool that helps organize conversations and keep them in place. However, moving messages to an existing topic can be messy and create a confusing flow of conversation which is difficult to undo. We should warn users before moving a topic. Fixes: zulip#31151. Co-authored-by: heyiming
In #28254, we added a confirmation modal if a topic was being renamed to a pre-existing topic via the topic header bar.
We should give a similar warning in:
The warning should be shown when moving messages to any other pre-existing conversation (topic only moves and topic/channel moves).
In particular, the following yellow banner should appear at the top of the modal:
Notes:
screenshot of move messages modal
CZO thread
The text was updated successfully, but these errors were encountered: