discourse-ai/spec/system
Sam 8b1b6811f4
FEATURE: add support for uploads when starting a convo (#1301)
This commit introduces file upload capabilities to the AI Bot conversations interface and improves the overall dedicated UX experience. It also changes the experimental setting to a more permanent one.

## Key changes:

- **File upload support**:
  - Integrates UppyUpload for handling file uploads in conversations
  - Adds UI for uploading, displaying, and managing attachments
  - Supports drag & drop, clipboard paste, and manual file selection
  - Shows upload progress indicators for in-progress uploads
  - Appends uploaded file markdown to message content

- **Renamed setting**:
  - Changed `ai_enable_experimental_bot_ux` to `ai_bot_enable_dedicated_ux`
  - Updated setting description to be clearer
  - Changed default value to `true` as this is now a stable feature
  - Added migration to handle the setting name change in database

- **UI improvements**:
  - Enhanced input area with better focus states
  - Improved layout and styling for conversations page
  - Added visual feedback for upload states
  - Better error handling for uploads in progress

- **Code organization**:
  - Refactored message submission logic to handle attachments
  - Updated DOM element IDs for consistency
  - Fixed focus management after submission

- **Added tests**:
  - Tests for file upload functionality
  - Tests for removing uploads before submission
  - Updated existing tests to work with the renamed setting


---------

Co-authored-by: awesomerobot <kris.aubuchon@discourse.org>
2025-05-01 12:21:07 +10:00
..
ai_bot FEATURE: add support for uploads when starting a convo (#1301) 2025-05-01 12:21:07 +10:00
ai_helper DEV: Update spec for topic tag suggester (#1269) 2025-04-17 14:06:45 +10:00
ai_moderation FEATURE: Add AI-powered spam detection for new user posts (#1004) 2024-12-12 09:17:25 +11:00
embeddings REFACTOR: update embeddings to formkit (#1188) 2025-03-13 11:27:38 -04:00
llms FEATURE: Enhance LLM context window settings (#1271) 2025-04-17 14:44:15 -07:00
page_objects UX: Empty state for AI conversations sidebar & btn changes (#1297) 2025-04-30 11:33:41 -05:00
summarization FEATURE: Personas powered summaries. (#1232) 2025-04-02 12:54:47 -03:00
admin_ai_features_spec.rb FEATURE: Configure persona backed features in admin panel (#1245) 2025-04-10 08:16:31 -07:00
admin_ai_persona_spec.rb FEATURE: display more places where AI is used / Chat streamer (#1278) 2025-04-24 16:22:19 +10:00
admin_dashboard_spec.rb FEATURE: Add links to filtered emotion view on emotion dashboard table (#953) 2024-11-25 15:51:01 -03:00
core_features_spec.rb DEV: Add system spec to check core features are working fine 2025-04-08 17:04:20 +02:00