discourse/plugins/chat/spec/system
Joffrey JAFFEUX 52e8d57293
FEATURE: implements last read message for threads (#26702)
This commit will now allow us to track read position in a thread and returns to this position when you open the thread.

Note this commit is also extracting the following components to make it possible:
- `<ChatMessagesScroller />`
- `<ChatMessagesContainer />`

The `UpdateUserThreadLastRead` has been updated to allow this.

Various refactorings have also been done to the code and specs to improve the support of last read.
2024-04-25 10:47:54 +02:00
..
admin DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
chat/composer DEV: Remove unnecessary `js: true` options from specs (#24463) 2023-11-20 17:22:14 +01:00
chat_message PERF: cook message in background (#24227) 2023-11-06 15:45:30 +01:00
drawer FIX: instantly removes group message when leaving (#25961) 2024-02-29 23:49:01 +01:00
list_channels FEATURE: introduces chat_preferred_mobile_index setting (#25927) 2024-02-28 12:05:05 +01:00
page_objects FEATURE: implements last read message for threads (#26702) 2024-04-25 10:47:54 +02:00
reply_to_message DEV: rely on default session in smoke spec (#26054) 2024-03-06 21:08:06 +08:00
select_message
shortcuts
thread_list FIX: do not show threads with no replies (#26033) 2024-03-05 20:26:35 +01:00
thread_tracking DEV: skip two flakey specs (#24965) 2023-12-19 09:27:09 +01:00
user_menu_notifications DEV: Remove the use of `Capybara::Session#quit` (#24978) 2023-12-20 13:20:14 +08:00
user_status DEV: Remove assertion causing test to be flaky (#25069) 2023-12-29 13:23:16 +08:00
admin_sidebar_navigation_spec.rb FEATURE: the ability to expand/collapse all admin sections (#26358) 2024-03-27 14:42:06 +11:00
anonymous_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
archive_channel_spec.rb PERF: cook message in background (#24227) 2023-11-06 15:45:30 +01:00
bookmark_message_spec.rb
browse_page_spec.rb FIX: set channels tab as default on mobile chat footer (#25296) 2024-01-17 17:12:55 +08:00
channel_members_page_spec.rb FIX: correctly shows as disabled a user who can't chat (#26010) 2024-03-05 09:13:42 +01:00
channel_message_upload_spec.rb DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
channel_settings_page_spec.rb UX: Chat browse redesign (#25698) 2024-02-15 18:00:22 +01:00
channel_thread_message_echoing_spec.rb
chat_channel_spec.rb FEATURE: implements last read message for threads (#26702) 2024-04-25 10:47:54 +02:00
chat_composer_draft_spec.rb DEV: Fix random typos (#25957) 2024-02-29 12:24:37 +01:00
chat_composer_spec.rb
chat_footer_spec.rb FIX: Conditionally hide 'My Threads' on mobile (#25494) 2024-01-31 09:09:04 -03:00
chat_message_creator_spec.rb UX: chat message creator scss cleanup + design tweak to username display (#25928) 2024-03-05 12:49:29 +01:00
chat_message_onebox_spec.rb
chat_new_message_spec.rb PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00
chat_summarization_spec.rb DEV: Remove unnecessary `js: true` options from specs (#24463) 2023-11-20 17:22:14 +01:00
closed_channel_spec.rb
create_channel_spec.rb
dates_separators_spec.rb DEV: Remove the use of `Capybara::Session#quit` (#24978) 2023-12-20 13:20:14 +08:00
deleted_channel_spec.rb PERF: cook message in background (#24227) 2023-11-06 15:45:30 +01:00
deleted_message_spec.rb DEV: Remove the use of `Capybara::Session#quit` (#24978) 2023-12-20 13:20:14 +08:00
document_title_spec.rb DEV: Fix flaky system test (#26479) 2024-04-03 10:04:48 +08:00
drawer_spec.rb PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00
edited_message_spec.rb DEV: Remove the use of `Capybara::Session#quit` (#24978) 2023-12-20 13:20:14 +08:00
flag_message_spec.rb UX: enhances chat copy features (#23770) 2023-10-04 16:14:37 +02:00
hashtag_autocomplete_spec.rb FEATURE: Async load of category and chat hashtags (#25526) 2024-02-12 12:07:14 +02:00
invite_users_to_channel_spec.rb FIX: ensures users can open channel invites (#24067) 2023-10-24 18:51:33 +02:00
kick_user_from_channel_spec.rb
mention_warnings_spec.rb PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00
message_errors_spec.rb DEV: ensures we have error message before message check (#24647) 2023-11-30 10:55:05 +01:00
message_notifications_mobile_spec.rb FIX: chat channel row indicator should only show urgent count (#25458) 2024-01-31 16:47:54 +08:00
message_notifications_with_sidebar_spec.rb PERF: cook message in background (#24227) 2023-11-06 15:45:30 +01:00
message_thread_indicator_spec.rb DEV: improves reliability of delete/restore/update specs (#24265) 2023-11-07 11:34:35 +01:00
message_user_info_spec.rb DEV: Fix RSpec/SpecFilePathSuffix / enable 3 chat spec files (#24750) 2023-12-06 22:25:11 +01:00
move_message_to_channel_spec.rb DEV: Fix flaky test when moving threads (#26590) 2024-04-10 22:10:35 -03:00
navigation_spec.rb DEV: correctly check for latest (#26603) 2024-04-11 14:23:07 +02:00
react_to_message_spec.rb DEV: Remove the use of `Capybara::Session#quit` (#24978) 2023-12-20 13:20:14 +08:00
read_only_spec.rb
removing_channel_spec.rb PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00
restore_message_spec.rb DEV: Remove the use of `Capybara::Session#quit` (#24978) 2023-12-20 13:20:14 +08:00
reviewables_spec.rb FIX: 500 error when reviewable has a missing message (#25113) 2024-01-03 11:49:54 -03:00
send_message_spec.rb DEV: Remove the use of `Capybara::Session#quit` (#24978) 2023-12-20 13:20:14 +08:00
separate_sidebar_mode_spec.rb FIX: Save previous chat state when navigating with the sidebar (#25537) 2024-02-06 13:11:12 -03:00
sidebar_navigation_menu_spec.rb DEV: correctly uses link to message endpoint in spec (#24652) 2023-11-30 19:33:41 +01:00
sidebars_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
silenced_user_spec.rb
single_thread_spec.rb FEATURE: implements last read message for threads (#26702) 2024-04-25 10:47:54 +02:00
thread_preview_spec.rb DEV: prevents flakey spec (#25855) 2024-02-26 09:43:29 +01:00
transcript_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
unfollow_dm_channel_spec.rb DEV: Remove the use of `Capybara::Session#quit` (#24978) 2023-12-20 13:20:14 +08:00
update_last_read_spec.rb FEATURE: implements last read message for threads (#26702) 2024-04-25 10:47:54 +02:00
uploads_spec.rb DEV: skip flaky upload spec for large image thumbnails (#24745) 2023-12-06 19:08:56 +08:00
user_card_spec.rb FEATURE: add chat direct message button to user profile (#26135) 2024-03-18 11:17:37 +08:00
user_chat_preferences_spec.rb
user_profile_spec.rb FEATURE: add chat direct message button to user profile (#26135) 2024-03-18 11:17:37 +08:00
user_threads_spec.rb UX: remove last reply from My Threads preview + restyle (#25568) 2024-03-11 17:59:40 +08:00
visit_channel_spec.rb DEV: adds a has-preloaded-chat-channels body-class (#26394) 2024-03-27 10:39:07 +01:00