discourse/spec/requests/api/schemas/json
Gabriel Grubba a88d8a0393
FEATURE: prioritize the user who is getting the reply in the autocomplete (#32086)
When replying to a post, the user who is getting the reply should be
prioritized in the autocomplete

- Added in composer a getter for getting `.replyingToUser`
- Added in d-editor the reference to the user that is getting the
reply(`this.composer.replyingToUser`)
- Passed along the reference to the user that is getting the reply to
the user-search service as `replyingToUser`
- Controller `users_controller.rb` was modified to accept the `user_id`
parameter and pass it to the `UserSearch` model
- The `UserSearch` model was modified to accept the `user_id` parameter
and use it to prioritize the user that is getting the reply in the
autocomplete on the first time you call the autocomplete service and
while the username is included in the searched term
- Had to update the serializer to pass the id of the `replyingToUser`
from the post
2025-04-04 10:11:37 -03:00
..
admin_user_list_response.json DEV: Deprecate defunct User#flag_level column (#24134) 2023-10-27 17:27:04 +08:00
admin_user_response.json FEATURE: Allow admins to export users (#30918) 2025-01-24 08:13:25 +11:00
backups_create_request.json
backups_list_response.json
badge_create_request.json
badge_create_response.json FEATURE: Show when a badge has been granted for a post (#29696) 2024-12-03 13:43:27 +11:00
badge_list_response.json FEATURE: Show when a badge has been granted for a post (#29696) 2024-12-03 13:43:27 +11:00
badge_update_request.json
badge_update_response.json FEATURE: Show when a badge has been granted for a post (#29696) 2024-12-03 13:43:27 +11:00
category_create_request.json FEATURE: add icons and emojis to category (#31795) 2025-03-26 09:46:17 +04:00
category_create_response.json FEATURE: add icons and emojis to category (#31795) 2025-03-26 09:46:17 +04:00
category_list_response.json FEATURE: add icons and emojis to category (#31795) 2025-03-26 09:46:17 +04:00
category_topics_response.json FIX: update id types in API docs to integers (#27412) 2024-06-26 20:44:39 -06:00
category_update_response.json FEATURE: add icons and emojis to category (#31795) 2025-03-26 09:46:17 +04:00
group_add_members_request.json
group_add_members_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
group_create_request.json DEV: Document create group api params (#18736) 2022-10-24 18:55:51 -06:00
group_create_response.json FEATURE: Allow group owners promote more owners (#19768) 2023-01-11 16:43:18 +08:00
group_members_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
group_remove_members_request.json
group_remove_members_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
group_response.json UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
groups_list_response.json FEATURE: Allow group owners promote more owners (#19768) 2023-01-11 16:43:18 +08:00
post_delete_request.json
post_replies_response.json FEATURE: prioritize the user who is getting the reply in the autocomplete (#32086) 2025-04-04 10:11:37 -03:00
post_show_response.json DEV: Adopt post list component and new posts route front-end (#30604) 2025-01-23 10:20:45 -08:00
post_update_request.json DEV: Add fetching likes info to api docs (#21028) 2023-04-10 09:07:10 -06:00
post_update_response.json DEV: Adopt post list component and new posts route front-end (#30604) 2025-01-23 10:20:45 -08:00
search_response.json FIX: Load categories with search topic results (#25700) 2024-02-21 17:29:47 +02:00
site_basic_info_response.json DEV: Refactor discover setting reporting (#26706) 2024-04-23 09:52:01 -04:00
site_response.json FEATURE: add icons and emojis to category (#31795) 2025-03-26 09:46:17 +04:00
success_ok_response.json
tag_group_create_request.json
tag_group_create_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
topic_create_request.json DEV: Added a missing parameter to Discourse API Docs (#21085) 2023-04-24 15:44:09 +10:00
topic_create_response.json DEV: Adopt post list component and new posts route front-end (#30604) 2025-01-23 10:20:45 -08:00
topic_show_response.json DEV: Remove summarization code (#27373) 2024-07-02 08:51:47 -07:00
upload_abort_multipart_request.json
upload_batch_presign_multipart_parts_request.json
upload_batch_presign_multipart_parts_response.json
upload_complete_external_upload_request.json
upload_complete_multipart_request.json
upload_create_multipart_request.json
upload_create_multipart_response.json
upload_create_request.json
upload_create_response.json DEV: serialize image upload thumbnail (#29276) 2024-10-18 12:55:14 +04:00
upload_generate_presigned_put_request.json
upload_generate_presigned_put_response.json DEV: Add S3 upload system specs using minio (#22975) 2023-08-23 11:18:33 +10:00
user_actions_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
user_anonymize_response.json
user_badges_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
user_create_request.json DEV: Correct users create API docs (#31578) 2025-03-03 16:42:46 +08:00
user_create_response.json
user_delete_request.json
user_delete_response.json
user_emails_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
user_get_response.json UX: Split hide_profile_and_presence user option (#29632) 2024-11-12 22:22:58 -03:00
user_password_change_request.json
user_password_reset_request.json
user_password_reset_response.json
user_refresh_gravatar_response.json
user_silence_request.json DEV: Use Service::Base for suspend and silence actions (#28459) 2024-08-22 14:38:56 +03:00
user_silence_response.json FIX: Show suspended by user (#16927) 2022-06-01 14:54:23 +02:00
user_suspend_request.json
user_suspend_response.json FIX: Show suspended by user (#16927) 2022-06-01 14:54:23 +02:00
user_update_avatar_request.json
user_update_email_request.json
user_update_request.json DEV: Fix user update api docs (#23047) 2023-08-09 16:56:10 -06:00
user_update_response.json
user_update_username_request.json
users_public_list_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00