This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Papa-Kind-Treff – Project Context
|
||||
|
||||
Updated: 2026-08-04
|
||||
Updated: 2026-08-05
|
||||
|
||||
## Summary
|
||||
Papa-Kind-Treff is a PHP-based platform for fathers. Core areas are local events, appointments, and meetups, a community forum, member profiles with optional child information, and a moderation/admin area.
|
||||
@@ -16,17 +16,16 @@ Papa-Kind-Treff is a PHP-based platform for fathers. Core areas are local events
|
||||
- Site admins get a dedicated system section for global operating and service flags.
|
||||
|
||||
## Account / Member Area
|
||||
- Profile menu currently contains `Profile`, `Children`, `Events`, `Community`, `Settings`, `Logout`.
|
||||
- Profile menu currently contains `Profile`, `Children`, `Events`, `Outings`, `Community`, `Settings`, `Logout`.
|
||||
- Children can be created, edited, and deleted.
|
||||
- If a birth date is set, age is calculated automatically and updated later when needed.
|
||||
- Account email is encrypted application-side and addressed through a separate HMAC lookup hash.
|
||||
- Profile address can be completed via address search or browser-based location import.
|
||||
- The `Events` area now distinguishes between own events, places, and other time-limited event entries.
|
||||
- The `Events` input flow should stay as simple as possible and therefore shows required fields first.
|
||||
- Categories in the member area are no longer chosen via select only, but via a search input with existing suggestions and automatic creation when needed.
|
||||
- Own events support category, optional image, a clear `with children` yes/no field, optional capacity, and visibility.
|
||||
- `Place` uses the same address flow as the profile, hides the event date, and instead supports flexible opening/time slots, optional contact data, and flexible pricing rules.
|
||||
- `Other Event` also uses the profile-style address flow, supports recurrence, a required `valid until` field, flexible pricing rules, image upload, and a `with children` flag.
|
||||
- The `Events` area is limited again to real own events and event participations.
|
||||
- Places and event-like outing targets were moved for now into a separate member-area section `Outings`.
|
||||
- The `Events` input flow should stay as simple as possible and therefore only shows fields relevant for real scheduled events.
|
||||
- Categories in the member area are handled via a search input with existing suggestions and automatic creation when needed.
|
||||
- Own events support category, optional image, a clear `with children` yes/no field, optional capacity, and direct map/address synchronization.
|
||||
|
||||
## Technical Frame
|
||||
- custom front controller in `public/index.php`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Papa-Kind-Treff – Project Structure
|
||||
|
||||
Updated: 2026-08-04
|
||||
Updated: 2026-08-05
|
||||
|
||||
## Main Directories
|
||||
- `config/`: configuration, including `prod/` and `staging/`
|
||||
@@ -14,12 +14,12 @@ Updated: 2026-08-04
|
||||
## Current Structure Notes
|
||||
- avatar management: `src/App/Avatar/AvatarManager.php`
|
||||
- active avatar styles: `src/App/Avatar/Lorelei.php`, `src/App/Avatar/Croodles.php`
|
||||
- profile/children/event logic inside member area: `partials/landing/account/dashboard.php`
|
||||
- profile/children/event/outing logic inside member area: `partials/landing/account/dashboard.php`
|
||||
- consent and legal texts: `public/page/datenschutz.php`
|
||||
- system settings: `src/App/SystemSettings.php`
|
||||
- new listing/place base: `src/App/ListingCatalog.php`
|
||||
- entry type selector UI in member area: `partials/landing/account/dashboard.php`
|
||||
- pricing, recurrence, image upload, and place/address input for new listing types: `partials/landing/account/dashboard.php` with persistence in `src/App/ListingCatalog.php`
|
||||
- separated `Events` and `Outings` UI in member area: `partials/landing/account/dashboard.php`
|
||||
- pricing, image upload, and place/address input for outings plus a reduced own-event form: `partials/landing/account/dashboard.php` with persistence in `src/App/ListingCatalog.php`
|
||||
- legacy own events were extended in `src/App/AccountPages.php` and `schema.sql` with category and image fields
|
||||
|
||||
## Documentation Rule
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Papa-Kind-Treff
|
||||
|
||||
Updated: 2026-08-04
|
||||
Updated: 2026-08-05
|
||||
|
||||
Papa-Kind-Treff is a PHP-based platform for fathers focused on local events, appointments, and meetups, community exchange, and a protected member area.
|
||||
|
||||
@@ -16,15 +16,15 @@ Papa-Kind-Treff is a PHP-based platform for fathers focused on local events, app
|
||||
- community admin area for applications, reports, roles, and migrations
|
||||
- location-based ordering for the newest events
|
||||
- member area with left-side section navigation
|
||||
- profile menu with `Profile`, `Children`, `Events`, `Community`, `Settings`
|
||||
- profile menu with `Profile`, `Children`, `Events`, `Outings`, `Community`, `Settings`
|
||||
- account emails and sensitive profile fields are stored encrypted application-side
|
||||
- children can be created, edited, and deleted
|
||||
- profile address supports encrypted street/house number, address search, browser import, and validation
|
||||
- system section for site admins with maintenance and service toggles
|
||||
- new data foundation prepared for a broader event, place, and listing system
|
||||
- member area `Events` now supports three creation types: `Own Event`, `Place`, and `Other Event`
|
||||
- own events now include category, optional image, explicit child suitability, optional capacity, and server-side validated address data
|
||||
- places and other events now use adaptive forms with place lookup, browser address pickup, server-side address validation, flexible pricing rules, flexible opening/time slots, and image upload
|
||||
- member area `Events` is now limited again to real own events and event participations
|
||||
- own events now include category, optional image, explicit child suitability, optional capacity, and more direct map/address synchronization
|
||||
- places and other events were moved for now into a separate member-area section `Outings`
|
||||
- the member-area entry forms now follow a progressive approach: required fields first, optional data inside collapsible sections
|
||||
- categories now use a search input with existing suggestions; new categories are created automatically and can be merged by site admins in the system area
|
||||
|
||||
|
||||
Reference in New Issue
Block a user