Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] - Make AI Text Block Production-ready #26504

Closed
4 tasks done
Tracked by #26495
oidacra opened this issue Oct 24, 2023 · 3 comments
Closed
4 tasks done
Tracked by #26495

[UI] - Make AI Text Block Production-ready #26504

oidacra opened this issue Oct 24, 2023 · 3 comments

Comments

@oidacra
Copy link
Member

oidacra commented Oct 24, 2023

Parent Issue

#26495

User Story

As a user of the Block Editor, I want to have an AI Content Prompt Extension so that I can efficiently and effectively generate and create content with AI suggestions.

Endpoint: /api/v1/ai/text/generate

Acceptance Criteria

  • The Block Editor should have an "AI Content " command in the list
  • Users should be able to activate the AI suggestions with a single click or command.
  • Users should have the option to accept, modify, or reject AI suggestions.
  • Error handling of the AI endpoints are not in the scope of this task.

dotCMS Version

master

Proposed Objective

User Experience

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

Command Menu
Screenshot 2023-10-24 at 11 32 21 AM

Prompt Input
Screenshot 2023-10-24 at 11 32 28 AM
Screenshot 2023-10-24 at 11 32 34 AM

Content Generated
Screenshot 2023-10-24 at 11 32 45 AM

Assumptions & Initiation Needs

  • Assuming the AI Image Prompt Extension has the necessary APIs and SDKs for integration.
  • Users have a basic understanding of the Block Editor functionalities.

Quality Assurance Notes & Workarounds

  • Ensure that the AI suggestions do not interfere with the normal functioning of the Block Editor.

Tasks

  1. Merged QA : Not Needed Team : Falcon Type : Task dotCMS : AI
    hmoreras
  2. Merged QA : Not Needed Team : Falcon Type : Defect dotCMS : AI
    hmoreras
  3. Merged Team : Falcon Type : Defect dotCMS : AI
    hmoreras
  4. QA : Approved QA : Passed Internal Release : 23.12.21 Team : Falcon Type : Defect dotCMS : AI
@john-thomas-dotcms john-thomas-dotcms changed the title [UI] - Create an AI Content Prompt Extension [UI] - Make AI Content Prompt Extension Production-ready Nov 16, 2023
@john-thomas-dotcms john-thomas-dotcms changed the title [UI] - Make AI Content Prompt Extension Production-ready [UI] - Make AI Text Block Production-ready Nov 16, 2023
@hmoreras
Copy link
Contributor

hmoreras commented Jan 4, 2024

QA notes:

  1. Add the package com.barchart.udt in the Exported Packages button in the plugin portlet.
  2. Install the last version of the AI plugin.
  3. Add the token key in the apps configuration portlet.
  4. Create a content that has a block editor on it, or use one that already have it like BLOG.
  5. In the Editor type /ai, select the AI Content.
  6. Type a prompt and hit enter, wait for the response.
  7. Once the response is done, text should added to the editor, and a context menu should show.
  8. All functions of the context menu should work.

Use the images in the description as reference.

@dsilvam dsilvam self-assigned this Jan 4, 2024
@dsilvam
Copy link
Contributor

dsilvam commented Jan 4, 2024

Passed Internal QA: Working as described in the QA Notes. Used token key provided by @hmoreras and the three options in the context menu working as expected.

@josemejias11
Copy link

Approved: Tested on master_5973727, Docker, macOS 13.0, FF v121.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants