-
Notifications
You must be signed in to change notification settings - Fork 1
feat: implement MonthCalendar component and change home screen banner to image #305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The head ref may contain hidden characters: "297-feature-home-\uCE98\uB9B0\uB354-\uC218\uC815"
Conversation
- Introduced a new MonthCalendar component to manage monthly schedules. - Replaced the previous inline calendar implementation in HomeScreenTmp with the new MonthCalendar for better modularity and maintainability. - Added widgetbook use cases for MonthCalendar and TodaysScheduleTile to facilitate UI testing and documentation.
|
Visit the preview URL for this PR (updated for commit 104d1dc): https://ontime-c63f1--pr305-297-feature-home-cfjjufcw.web.app (expires Mon, 08 Sep 2025 10:06:24 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 7d60a2eae4c4a5839220ed6a57552a3b61cce5a3 |
|
Visit the preview URL for this PR (updated for commit 104d1dc): https://on-time-front-widgetbook--pr305-297-feature-home-c7fld8e0.web.app (expires Mon, 08 Sep 2025 10:06:50 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: e53128a376fed0209d449279de9c0d94c83cdd8b |
… in WidgetbookApp - Added dependency injection setup by calling `configureDependencies()` in the main function. - Enhanced the background builder in WidgetbookApp to handle MediaQuery, ensuring proper padding adjustments for child widgets.
- Introduced a new home banner image asset to enhance the visual appeal of the application.
- Added an initial timer to synchronize with minute boundaries, improving the accuracy of scheduled events. - Implemented checks to ensure events are only added if the bloc is active, preventing potential errors. - Updated the close method to cancel the initial timer when the bloc is closed, ensuring proper resource management.
…tent - Changed HomeScreenTmp from StatefulWidget to StatelessWidget for improved performance and simplicity. - Extracted home screen content into a new HomeScreenContent widget for better modularity and testability. - Introduced a separate _TodaysScheduleOverlay widget to enhance code organization and readability. - Updated the layout to utilize the new home banner image asset.
- Introduced a new file `home_screen_tmp.dart` containing mock data helper functions for `PlaceEntity` and `ScheduleEntity`. - Created multiple use cases for `HomeScreenContent` to demonstrate various states: with schedules, empty state, loading state, and today-only schedule. - Enhanced testing and documentation capabilities for the home screen component in Widgetbook.
Describe your changes
Introduced a new MonthCalendar component to manage monthly schedules.
Replaced the previous inline calendar implementation in HomeScreenTmp with the new MonthCalendar for better modularity and maintainability.
Added widgetbook use cases for MonthCalendar and TodaysScheduleTile to facilitate UI testing and documentation.
Replace HomeScreen banner with png image
Added widgetbook for HomeScreen
Issue ticket number and link
Closes #297 #295