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 1343 customise sources default view mode #15824

Merged

Conversation

i-just
Copy link
Contributor

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

Description

Adds “Default View Mode” dropdown field to the customise sources modal and to the Matrix field settings (when View Mode is set to element index and “Inlude Table View” is on). This way, admins can choose which view mode sources should be shown in by default.

  • adds src/base/ElementInterface::indexViewModes()
  • adds src/services/ElementSources->getSourceViewModes()
  • adds src/fields/Matrix->$defaultIndexViewMode
Screenshot 2024-10-02 at 14 19 24 Screenshot 2024-10-02 at 14 17 28

Related issues

cms-1343

Copy link

linear bot commented Oct 2, 2024

@brandonkelly brandonkelly merged commit 4abab45 into 5.5 Nov 4, 2024
@brandonkelly brandonkelly deleted the feature/cms-1343-customise-sources-default-view-mode branch November 4, 2024 22:25
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