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

Feature/cms 1274 UI attributes for element index cards view #15283

Open
wants to merge 54 commits into
base: 5.5
Choose a base branch
from

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Jul 2, 2024

Description

Adds the ability to add attributes to the element card view and specify the order in which all the selected fields and attributes should appear.

  • added src/base/ElementInterface::cardAttributes()
  • added src/base/ElementInterface::defaultCardAttributes()
  • added src/events/RegisterElementCardAttributesEvent
  • added src/events/RegisterElementDefaultCardAttributesEvent
  • added src/helpers/Cp::cardViewDesignerHtml()
  • added src/models/FieldLayout->getCardView()
  • added src/models/FieldLayout->setCardView()
  • added src/models/FieldLayout->getCardBodyAttributes()
  • added src/models/FieldLayout->getCardBodyElements()
Screenshot 2024-07-02 at 16 37 24 Screenshot 2024-07-02 at 16 37 47

Related issues

CMS-1274

Copy link

linear bot commented Jul 2, 2024

@i-just i-just requested a review from brandonkelly July 2, 2024 15:03
@brandonkelly brandonkelly changed the base branch from 5.3 to 5.4 August 7, 2024 13:31
@brandonkelly brandonkelly changed the base branch from 5.4 to 5.5 September 3, 2024 17:47
Copy link
Contributor

@gcamacho079 gcamacho079 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@i-just I’ve added some items to the Notion page we used for the previous review.

@i-just
Copy link
Contributor Author

i-just commented Sep 25, 2024

Thanks @gcamacho079! That’s all actioned now.

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

Successfully merging this pull request may close these issues.

2 participants