Skip to content

v2.0.2

Latest

Choose a tag to compare

@Jaguar000212 Jaguar000212 released this 28 Jun 10:17
729204c

🍋 Little Lemon - Version 2.0.2 (Major Feature Expansion)

The journey continues! Little Lemon now moves beyond a simple menu app into a full-fledged restaurant platform, bringing admins and richer user experiences under one elegant umbrella.


✨ What’s New in This Release

  • 🛠️ Admin Panel [PR #11]
    Restaurant staff can now manage dishes directly from within the app. This includes:

    • Adding new dishes with images, descriptions, categories, and calorie counts.
    • Editing or removing existing dishes.
    • Real-time updates via Firestore instantly reflect changes for all users.
  • 🔍 Search & Filter Functionality [PR #12]
    Users can now search for dishes by name and filter by categories, making it easy to discover favorites.
    Powered by reactive Firestore queries tied to Jetpack Compose state.

  • 📦 Image Upload to Firebase Storage [PR #11]
    Admins can upload dish images, which are securely stored in Firebase Storage. Image URLs are automatically linked to Firestore dish documents.

  • ⚙️ Role-Based Access Control (RBAC)
    Ensured only authenticated admins can access panel operations by extending Firestore security rules and local access guards.

  • 🚀 Massive UI Polish & Performance Optimizations [PR #13]

    • Integrated lazy loading for images and lists using LazyColumn & Coil.
    • Cleaner Compose state management with StateFlow & snapshot flows, reducing recompositions.

🔧 Technical Highlights & New Tech Stack Additions

  • Firebase Storage: For secure, scalable image management tied to dish data.
  • Firestore Query Filters: For category-specific filtering and optimized search.
  • Coil: Lightweight image loading with Compose integration, improves UI responsiveness and caching.
  • Advanced Firestore Security Rules: Now enforce user roles (admin vs. regular users) and stricter read/write conditions.
  • Composable Dialogs & Dynamic Forms: Allowing admins to create/edit dish data seamlessly with input validation.
  • Comprehensive StateFlow Architecture: Ensures UI remains perfectly in sync with Firestore data streams.

🚧 Roadmap Ahead

  • 📅 Table Reservation: Still on the list — aiming to let customers book tables in upcoming iterations.
  • 📊 Order Management & History: For both users and admins.
  • 🔔 Push Notifications: Stay updated on new dishes and special events.

🔗 Resources


Summary:
This update turns Little Lemon into a serious, production-ready app with real admin operations, secure image-backed menus, powerful search & filter capabilities, and a robust role-based system. A strong foundation for future reservation and order modules.