Admin landing page + sidebar menu host for authenticated users of a simple_module app. Renders /dashboard, collects menu entries registered by every other installed module, and provides the primary Inertia layout.
Pre-wired into any app scaffolded with smpy new.
pip install simple_module_dashboard/dashboardInertia view, a single entry point for logged-in users.- Global sidebar renderer — aggregates
register_menu_items()calls from all modules into one tree. - Breadcrumb + page-title provider used by downstream module pages.
Install the module in a host, and any other module can register a menu entry:
# modules/orders/orders/module.py
from simple_module_core import ModuleBase, ModuleMeta
from simple_module_core.menu import MenuItem, MenuRegistry
class OrdersModule(ModuleBase):
meta = ModuleMeta(name="orders")
def register_menu_items(self, registry: MenuRegistry) -> None:
registry.add(MenuItem(label="Orders", url="/orders", icon="shopping-bag"))The dashboard sidebar picks it up automatically.
simple_module_core,simple_module_db,simple_module_hostingsimple_module_users(user counts shown on the default layout)
MIT — see LICENSE.