dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
864 stars 468 forks source link

UVE: Code button not displaying in Headless #29854

Closed valentinogiardino closed 1 month ago

valentinogiardino commented 2 months ago

Parent Issue

No response

Problem Statement

The code icon/button is not displayed in headless mode, preventing users from editing .vtl code directly.

https://github.com/user-attachments/assets/c4cdb646-1c24-4940-87b0-d59a62c305bc

Steps to Reproduce

Prerequisites

  1. Edit any page.
  2. Hover over a contentlet with .vtl code.
  3. See that the code button is not displayed

Acceptance Criteria

  1. A code button should be displayed when hovering over a contentlet with .vtl code.
  2. A dialog should open to edit the content for the .vtl code.
  3. Users should be able to make any changes and save them.
  4. After closing the dialog, the .vtl code changes should be reflected on the page.

dotCMS Version

Tested on qa master server. Docker image[dotcms/dotcms:trunk_fbad538]

Proposed Objective

User Experience

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

nollymar commented 1 month ago

Note to QA: Please, additionally test case # 5 of the Regression Tests spreadsheet

fmontes commented 1 month ago

Code buttons not shows in headless because it links to vtl file and there is not such thing in headless.