What problem does it solve?
The admin-tools-page skill addresses the complexities of building, managing, and maintaining admin pages in keystone.guru by providing a standardized set of conventions and tools for developers.
Core Features & Use Cases
- Standardized Conventions: Offers a set of guidelines for routing, controllers, blade views, and admin UI elements to ensure consistency across all admin pages.
- Routing: Provides a structured approach to define admin routes with clear naming conventions and middleware for security and authorization.
- Controllers: Includes best practices for controller implementation, JSON endpoints, and session flash messaging.
- Views: Offers a framework for creating views that integrate with the layout, utilize DataTables, and implement small inline scripts for modals and JSON calls.
- Discoverability: Assists in maintaining a user-friendly tools landing page and admin navigation dropdown.
- Translating: Guidelines for updating language files and managing controller and view translations.
- Data Management: Specific considerations for handling combat-log connections and data isolation.
Quick Start
To create a new admin page for managing user reports, run the command 'php artisan admin-tools-page create --model UserReport'.