This repository contains optional features for SimpleStrichliste.
Each feature is described by a feature.json file in the feature root. This file is the manifest and should follow the existing feature structure.
name: technical feature nameversion: feature versionminCoreVersion: minimum supported core versionnavbar: optional navigation entryadminCard: admin dashboard cardlocalsMap: locale groups loaded per routedb: SQL migrations and optional seeds
- Create a new feature folder.
- Add
feature.jsonas the manifest. - Store routes, views, libs, templates, and migrations inside the feature folder.
- Keep all paths in
feature.jsonrelative to the feature root. - If the feature needs configuration, ship a default config file so the core can copy it on first start.
- Bump the manifest version whenever feature behavior changes.
- Only register locale groups in
localsMapthat a route actually needs. - Prefer additive migrations instead of rewriting existing history.
- Ship default config files and let runtime code create the live config from them.