ZIm/crates/collab/src
Remco Smits 6c4b96ec76
Add the ability to reply to a message (#7170)
Feature
- [x] Allow to click on reply to go to the real message
    - [x] In chat
- [x] Show only a part of the message that you reply to
    - [x] In chat
    - [x] In reply preview

TODO’s
- [x] Fix migration
    - [x] timestamp(in filename)
    - [x] remove the reference to the reply_message_id
- [x] Fix markdown cache for reply message
- [x] Fix spacing when first message is a reply to you and you want to
reply to that message.
- [x] Fetch message that you replied to
    - [x] allow fetching messages that are not inside the current view 
- [x] When message is deleted, we should show a text like `message
deleted` or something
    - [x] Show correct GitHub username + icon after `Replied to: `
    - [x] Show correct message(now it's hard-coded)
- [x] Add icon to reply + add the onClick logic
- [x] Show message that you want to reply to
  - [x] Allow to click away the message that you want to reply to
  - [x] Fix hard-coded GitHub user + icon after `Reply tp:`
  - [x] Add tests

<img width="242" alt="Screenshot 2024-02-06 at 20 51 40"
src="https://github.com/zed-industries/zed/assets/62463826/a7a5f3e0-dee3-4d38-95db-258b169e4498">
<img width="240" alt="Screenshot 2024-02-06 at 20 52 02"
src="https://github.com/zed-industries/zed/assets/62463826/3e136de3-4135-4c07-bd43-30089b677c0a">


Release Notes:

- Added the ability to reply to a message.
- Added highlight message when you click on mention notifications or a
reply message.

---------

Co-authored-by: Bennet Bo Fenner <53836821+bennetbo@users.noreply.github.com>
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2024-02-06 13:22:54 -07:00
..
bin Add requires_zed_cla column to channels table 2024-01-22 16:41:24 -08:00
db Add the ability to reply to a message (#7170) 2024-02-06 13:22:54 -07:00
rpc Use a synchronous mutex for ConnectionPool 2022-12-13 13:50:51 +01:00
tests Add the ability to reply to a message (#7170) 2024-02-06 13:22:54 -07:00
api.rs Add requires_zed_cla column to channels table 2024-01-22 16:41:24 -08:00
auth.rs Update verify_access_token doc comment 2024-01-17 18:06:16 -08:00
db.rs Aggressively simplify channel permissions: 2024-01-25 23:26:32 -07:00
env.rs Rename zed-server to collab 2022-04-09 08:30:42 -06:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs Remove 2 suffix for collab, rope, settings, menu 2024-01-03 12:29:16 -08:00
lib.rs Fix merge conflict 2024-01-09 09:44:22 -07:00
main.rs Deploy collab like nightly (#7174) 2024-02-01 11:54:49 -07:00
rpc.rs Add the ability to reply to a message (#7170) 2024-02-06 13:22:54 -07:00
tests.rs Start work on read-only project access for channel guests 2024-01-03 19:30:32 -07:00