[Block Editor]: dotAI generate AI content dialog doesn't default the cursor to the prompt area when launched from the block editor
User Story
The generate content dotAI screen in the block editor has a big textarea box that you can't type in (not for your prompt) that gets the initial focus when you open the modal. We should at least put cursor focus in the prompt input and ideally make that initial big text area just an instruction label so it is not as prominent.
Acceptance Criteria
UX hierarchy for this dialog is fixed. We default the cursor to the prompt area for efficiency.
Proposed Objective
Core Features
Proposed Priority
Priority 3 - Average
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
No response
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
PRs:
- https://github.com/dotCMS/core/pull/32732
Passed IQA
Tested in main: 0e875a1
Note: I see that the textarea size is a bit large when there isn't much content, but I understand that this is to avoid gaps between the skeleton and the final result, and it looks fine, so all good!
https://github.com/user-attachments/assets/9c368daa-542e-4805-8f5e-10c75ebe6f81