mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-19 04:03:45 +08:00
Adds an experimental "Starred" section to the AI bot conversation sidebar. Users can star up to 200 conversations they own; starred items appear in a dedicated section above the time-bucketed list and are skipped from the regular pagination. Introduces: - `discourse_ai_ai_bot_conversation_stars` table and `DiscourseAi::AiBot::ConversationStar` model - `ListConversations` and `UpdateConversationStar` services backing the existing `conversations#index` and a new `PUT /ai-bot/conversations/:topic_id/starred` endpoint - Sidebar context menu component plus updates to the sidebar manager to render and toggle starred state The feature is gated by the hidden, experimental `enable_ai_bot_starred_conversations` upcoming change setting and is off by default. <img width="1216" height="537" alt="image" src="https://github.com/user-attachments/assets/6c7d15bb-8b7c-48d9-9f02-f449764e63ff" /> <img width="955" height="648" alt="image" src="https://github.com/user-attachments/assets/0f87bd8e-e43e-483d-bf68-886cbfb09eea" /> --------- Co-authored-by: discourse-patch-triage[bot] <272280883+discourse-patch-triage[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| ai_agent_fabricator.rb | ||
| ai_artifact_fabricator.rb | ||
| ai_bot_conversation_star_fabricator.rb | ||
| ai_mcp_server_fabricator.rb | ||
| ai_secret_fabricator.rb | ||
| ai_summary_fabricator.rb | ||
| ai_tool_fabricator.rb | ||
| classification_result_fabricator.rb | ||
| embedding_definition_fabricator.rb | ||
| inferred_concept_fabricator.rb | ||
| llm_credit_allocation_fabricator.rb | ||
| llm_feature_credit_cost_fabricator.rb | ||
| llm_model_fabricator.rb | ||
| llm_quota_fabricator.rb | ||
| llm_quota_usage_fabricator.rb | ||
| rag_document_fragment_fabricator.rb | ||