Skip to content

Redesign PDF export navigation with dedicated screens#44

Merged
fkischewski99 merged 9 commits intomainfrom
feature/pdf-export-navigation
Mar 1, 2026
Merged

Redesign PDF export navigation with dedicated screens#44
fkischewski99 merged 9 commits intomainfrom
feature/pdf-export-navigation

Conversation

@fkischewski99
Copy link
Copy Markdown
Owner

Summary

  • Removed 3 top bar icon buttons (ShoppingCart, RestaurantMenu, Save/Share) from NewEventPage
  • Added 3 prominent navigation buttons at bottom: Einkaufsliste, Materialliste, Rezeptplan
  • Created new RecipePlanScreen to display meals grouped by date with recipe details
  • Added PDF export buttons to top bar of all three list screens (Shopping List, Material List, Recipe Plan)

Changes

UI/Navigation

  • NewEventPage: Removed top bar actions, updated bottom buttons to navigate instead of directly exporting
  • New RecipePlanScreen: Shows event meals organized by date with recipe selections and person counts
  • Consistent Pattern: All three list screens now have PDF export in top bar (Share icon on mobile, Save icon on desktop)

Backend/Logic

  • Extended EditShoppingListActions and EditMaterialListActions with ExportPdf action
  • Updated CategorizedShoppingListViewModel and MaterialListViewModel to inject PdfServiceModule and handle PDF export
  • Added Routes.RecipePlan navigation route
  • Updated dependency injection in ViewModelModules

Test plan

  • Build succeeds (./gradlew :composeApp:desktopJar)
  • Navigate to event edit screen
  • Verify top bar no longer has 3 icon buttons
  • Verify bottom has 3 buttons with icons and labels
  • Click "Einkaufsliste" → navigates to shopping list screen
  • Verify shopping list has PDF export button in top bar
  • Click PDF export → generates Einkaufsliste.pdf
  • Go back, click "Materialliste" → navigates to material list screen
  • Verify material list has PDF export button in top bar
  • Click PDF export → generates PDF with materials
  • Go back, click "Rezeptplan" → navigates to recipe plan screen
  • Verify recipe plan displays meals grouped by date
  • Verify recipe plan has PDF export button in top bar
  • Click PDF export → generates Wochenplan.pdf

Fixes #42

🤖 Generated with Claude Code

fkischewski99 and others added 9 commits March 1, 2026 18:56
Replaced top bar icon buttons with three prominent bottom buttons and added dedicated screens for each export type.

Changes:
- Removed 3 icon buttons from NewEventPage top bar (ShoppingCart, RestaurantMenu, Save/Share)
- Updated bottom section with 3 navigation buttons: Einkaufsliste, Materialliste, Rezeptplan
- Created new RecipePlanScreen with meal display grouped by date
- Added PDF export buttons to top bar of all three list screens (Shopping, Material, Recipe Plan)
- Extended action interfaces with ExportPdf actions
- Updated ViewModels to inject PdfServiceModule and handle PDF export
- Added RecipePlan route to navigation

All list screens now follow consistent pattern: navigate to view, then export PDF from top bar action button.

Fixes #42

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Resolved Firebase dependency issues and updated Android SDK versions to fix failing tests.

Changes:
- Upgraded gitlive firebase from 2.1.0 to 2.4.0 to resolve Firebase KTX dependency conflicts
- Updated compileSdk from 35 to 36 to satisfy androidx.activity 1.11.0 requirements
- Updated targetSdk from 35 to 36
- Added explicit Firebase dependencies in android block to ensure proper resolution with BOM

Background:
Firebase deprecated KTX modules starting with BOM v32.5.0 (April 2024). The gitlive 2.1.0 library
was requesting firebase-auth-ktx and firebase-common-ktx which are no longer included in Firebase
BOM 34.3.0. Upgrading to gitlive 2.4.0 resolves this issue as it no longer depends on deprecated
KTX modules.

Test Results:
- Desktop tests: ✅ 41 tests passing
- Android unit tests: ✅ All tests passing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The Gradle cache was not being invalidated when libs.versions.toml changed, causing
CI to use stale dependency versions. Added libs.versions.toml to the cache key hash
to ensure dependencies are updated when version catalog changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fkischewski99 fkischewski99 merged commit 65787be into main Mar 1, 2026
1 of 2 checks passed
@fkischewski99 fkischewski99 deleted the feature/pdf-export-navigation branch March 1, 2026 20:13
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.

PDF teilen

1 participant