ZIm/crates/collab/src/db/tables
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
..
access_token.rs For impersonating access tokens, store impersonatee in the new column 2024-01-17 18:06:16 -08:00
buffer.rs WIP 2023-08-23 18:34:43 -07:00
buffer_operation.rs Simplify buffer_operations schema 2023-08-23 18:37:01 -07:00
buffer_snapshot.rs Snapshot channel notes buffers when everyone leaves 2023-08-23 18:37:01 -07:00
channel.rs Fix slow query for fetching descendants of channels (#7008) 2024-01-29 13:24:59 -08:00
channel_buffer_collaborator.rs WIP 2023-08-23 18:34:43 -07:00
channel_chat_participant.rs Start work on restoring server-side code for chat messages 2023-09-07 16:32:49 -07:00
channel_member.rs Ignore old admin column 2023-10-13 14:08:40 -06:00
channel_message.rs Add the ability to reply to a message (#7170) 2024-02-06 13:22:54 -07:00
channel_message_mention.rs Persist chat mentions 2023-10-18 16:56:03 -07:00
contact.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
contributor.rs Add REST APIs for getting and adding contributors 2024-01-22 10:48:33 -08:00
feature_flag.rs Update database and RPC to provide configured feature flags 2023-08-25 14:34:32 -07:00
follower.rs Undo making project optional on stored follower states 2023-09-28 14:21:44 -07:00
language_server.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
notification.rs Generalize notifications' actor id to entity id 2023-10-17 10:34:50 -07:00
notification_kind.rs Make notification db representation more flexible 2023-10-12 17:42:32 -07:00
observed_buffer_edits.rs Avoid N+1 query for channels with notes changes 2023-10-02 15:58:34 -07:00
observed_channel_messages.rs Add database implementation of channel message change tracking 2023-10-01 22:32:11 -07:00
project.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
project_collaborator.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
room.rs enviroment -> environment 2024-01-10 22:57:58 -08:00
room_participant.rs Plumbing to pass role for room participants 2024-01-03 19:30:32 -07:00
server.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
signup.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
user.rs Exclude staff from CLA check 2024-01-23 11:31:55 -08:00
user_feature.rs Update database and RPC to provide configured feature flags 2023-08-25 14:34:32 -07:00
worktree.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
worktree_diagnostic_summary.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
worktree_entry.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
worktree_repository.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
worktree_repository_statuses.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
worktree_settings_file.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00