core icon indicating copy to clipboard operation
core copied to clipboard

Implement New Content Creation Flow in Relationship Field

Open oidacra opened this issue 1 year ago • 1 comments

Parent Issue

#30495

User Story

As a content editor, I want to create new content directly from the Relationship Field and have it automatically related to my current content.

Acceptance Criteria

  1. Sidebar Implementation

    • Create new content sidebar
    • Implement back button navigation
    • Add proper form loading
    • Handle form submission
    • Show loading states
    • Implement proper error handling
  2. Content Creation Flow

    • Open sidebar with empty contentlet
    • Support all content types
    • Validate before saving
    • Auto-select created content
    • Close sidebar after successful save
    • Show error messages on failure
  3. UX Requirements

    • Smooth sidebar transitions
    • Clear loading indicators
    • Proper form validation feedback
    • Confirmation messages
    • Back button warning if unsaved changes

CleanShot 2024-10-30 at 14 55 47@2x

CleanShot 2024-10-30 at 14 55 40@2x

Proposed Objective

Technical User Experience

Proposed Priority

Priority 2 - Important

oidacra avatar Oct 30 '24 18:10 oidacra

PRs:

  • https://github.com/dotCMS/core/pull/32424

github-actions[bot] avatar Jun 13 '25 22:06 github-actions[bot]

Note to QA:

  • This cover the scenario for the new edit content and not for the legacy edit content (will be worked in other card )

https://github.com/user-attachments/assets/cf47a9f6-bfce-47d6-9da6-870126ea9025

hmoreras avatar Jul 04 '25 14:07 hmoreras

This card has passed QA 🎉

https://github.com/user-attachments/assets/29ee0a65-b302-4425-88d9-bd3ceae3f61e

nicobytes avatar Jul 09 '25 14:07 nicobytes