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

added support for nested module on the dashboard #2547

Merged
merged 1 commit into from May 24, 2024

Conversation

zeezo887
Copy link
Collaborator

Description

This allows nested modules to appear in the activities, drafts, count, and search sections of the dashboard.

Usage:

Add the module to the dashboard.modules array of twill/config.php. e.g.

\App\Models\IssueArticle::class => [
    'name' => 'issues.articles',
    'label' => 'Articles',
    'label_singular' => 'Article',
    'count' => true,
    'activity' => true,
    'draft' => true,
    'search' => true,
    'search_fields' => ['title', 'description'],
    'parentRelationship' => 'issue'
]

Related Issues

Fixes #1697

@zeezo887 zeezo887 changed the title fix: added support for nested module on the dashboard added support for nested module on the dashboard Mar 18, 2024
@ifox ifox merged commit 486e7e6 into area17:3.x May 24, 2024
11 checks passed
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.

Display nested modules (children) on the dashboard
2 participants