mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 10:55:01 +08:00
187b59d376
This commit implements all the necessary logic to create thread seamlessly. For this it relies on the same logic used for messages and generates a `staged-id`(using the format: `staged-thread-CHANNEL_ID-MESSAGE_ID` which is used to re-conciliate state client sides once the thread has been persisted on the backend. Part of this change the client side is now always using real thread and channel objects instead of sometimes relying on a flat `threadId` or `channelId`. This PR also brings three UX changes: - thread starts from top - number of buttons on message actions is dependent of the width of the enclosing container - <kbd>shift + ArrowUp</kbd> will reply to the last message |
||
---|---|---|
.. | ||
chat_composer_spec.rb | ||
drawer_spec.rb | ||
full_page_spec.rb | ||
mark_all_read_spec.rb | ||
sidebar_spec.rb |