As discussed in my previous blog, there was a change in the way we were to implement the notification count update using polling. Now, we are using the existing MVC structure to update the notification count.
Some advancements were made in the project in the past two weeks. On discussion with the mentors, this functionality was made feature flagged i.e. polling can now be started by admins when the entire functionality is complete. This was important so that the functionality can be properly tested before release and other tasks can be completed side by side before it was released.
After following the reviews of mentors and fixing some minor glitches, the patch was finally merged in the codebase. So, now notification count on header icons can be updated by polling mechanism given the feature flag is set properly.
Next part of the project was providing a visual cue that the count was updated. For this, we agreed upon showing the total notification count(alert + messages) in the browser title as is shown in facebook, twitter, etc. We had a lot of discussions on various ways of implementing this feature. Finally, we came up with the idea of listening to event countChange emitted by the setCount method and using this updating the count value. I am currently working on it. You can review the changes here.
Also, we had our first evaluation of the Google Summer of Code which I passed successfully. Thanks to my mentors Kosta Harlan and Roan Kattouw for their feedback. I would definitely work on improving the description of commit messages. The project can be tracked here. Stay tuned for more details on this project.