[GSoC 2017] Calendar Application: Weekly Report 4
It has been three weeks since my last blog post. In this post I would update you with the current progress on the Calendar Application.
I have been working on the following since the past three weeks:
- Writing the Event and Category class.
- Working on UI of Event Manager.
- Working on UI of Category Manager and Category Edit Window.
- Working on a pop-up Calendar control to select event start and end date.
- Working on the Calendar View class to highlight the current system date.
- Fixing bugs in the existing code and improvements.
- Working on Add/Modify/Delete events functionality.
- Exploring existing Haiku applications to look for widgets, trying to implement new ones(For e.g DateTimeEdit - to select calendar start and end date)
Basic Add/Modify/Delete events functionality is complete now. There has been a little change from the initial mockups. Instead of switching views(I thought of using the BCardLayout initially to switch been Day View and Add Event section) and showing the Add Event section in the MainWindow, there will be a separate Event Manager window for it. Event details such as Event's name, place, description, start and end date/time can be filled. Also an event can be made an all day event which will make it appear on the top of the Day View. Event recurrence is not implemented currently and event category is not complete so it's disabled for now. Because of not having a DateTimeEdit currently there's just a text control that shows the date selected in Calendar View and a dummy time. Also the calendar pop-up control is under work which would be a part of DateTimeEdit. Currently, for storing purposes I am using BMessage and flat files.
Highlight the current system date in the Calendar View.
In BCalendarView presently, there is no notion of a current date and the current date is not highlighted. So in the deskbar tray calendar which uses BCalendarView, we cannot know the current date once we change the selected day. Also, in the Calendar app where the same BCalendarView is used, not having the current day highlighted doesn't make it intuitive. I worked on it. Made the BCalendarView accept pulse messages, check for system date with every pulse message and update the current date accordingly. Highlight the current date by rendering its day number text in a different color (keyboard_navigation_color).
A preview of the current state of the application.
- Setting reminder and generating notification for events.
- Month View
Github Repo: AkshayAgarwal007/Calendar
Thanks for reading.
- [GSoC 2017] Calendar Application: Weekly Report 5
- Bug: XHCI (usb 3.0) issues
- [GSoC 2017] 3D Hardware Acceleration - Weekly Report 4
- [GSOC 2017] TCP optimization Report 4
- [GSoC 2017] Preferences GUI Refactoring - Weekly Report 4
- [GSoC 2017] Porting Swift to Haiku - Week #6 #7
- [GSoC 2017] Calendar Application: Weekly Report 4
- [GSoC 2017 - BTRFS Write Supports] Week #6 #7 #8
- Haiku monthly activity report - 06/2017