Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-9559

[Spike] Explore Backend API Capabilities for Chat Management

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • 1.9.0
    • None
    • Lightspeed, UI
    • None
    • RHDH F&UI plugins 3283

      Story

      Investigate existing Lightspeed or backend APIs to confirm available endpoints and required enhancements for the following chat operations:

      • Renaming a chat
        • The API exists, refer to the doc specified in the end
      • Adding a chat to favorite chats or removing it from favorite chats
        • The “Add to Favorites” action should move a chat from the “Recent” section to the “Favorites” section, removing its entry from the Recent list.
        • Investigate whether this behavior can be managed within the UI component. When a chat is added to Favorites, an entry should also be stored in the user settings. The UI should then filter out favorite chats from the Recent list, displaying only the remaining conversations there.
      • Deleting a chat
        • The API exists, refer to the doc specified in the end
      • Server-side sorting of chats based on Name (A-Z), Name (Z-A), Date (Newest first), and Date (Oldest first)
        • Investigate if we can handle the sorting in the frontend. If the API returns all the conversations at once, then we should be able to sort them with the sorting logic and not rely on the API to do this

      Background

      Dependencies and Blockers

      QE impacted work

      Documentation impacted work

      Acceptance Criteria

      • Document the available APIs with the usage and response, and the gaps
      • Create a backend ticket under RHDHPAI for new endpoints(if needed)

       

      refer backend doc

              dsantra12 Debsmita Santra
              dsantra12 Debsmita Santra
              RHDH Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: