The code has now been documented. I'm working on the README file for our module which will walk the user through the steps necessary to get the gCalendar module operational. We implemented a Promise feature to hopefully solve the async issue, but this caused yet another issue where we are only retrieving the calendar once, so while running if the user adds events to the calendar they don't show. I'm working on a new callback function, but the async problem is still an issue, but this is letting the calendar update as expected.
We got together Thursday and worked on and fixed an issue where when the project was pulled from the repository it was broken. We also talked about some plans on what's coming up as well as where we are on the project. Once we fix the asynchronous issue, the project should be completed. We also had the code review...we need to add documentation to the code, which will be completed soon.
Made progress with the code. Reverted to original idea of building a dictionary in the quickstart.js script and just retrieving it in the calendar fetcher. The calendar events are now being retrieved and they just need to be broadcasted.
Last week I accidentally pushed a bunch of node modules to my repository branch, ultimately messing everything up. I removed that branch and was able to get the code back to where it was (I learned quite a bit about .gitignore files this week!). Some additional progress has been made with the gCalendar module, and I've learned a bunch more about node and JavaScript and sending notifications between scripts. Our initial idea of just using Google's quickstart within our module may not be feasible, however the code can just be placed within existing files and can be made useful. We are making significant progress.
Began implementing planned code in new gCalendar module. We were able to connect to Google Calendar API and get returned calendar information. Next we just need to get Google Calendar events integrated with the default ICal events and have them broadcasted correctly. Once this is complete, we will be ready to begin testing.
We gave our presentation, which went pretty well. We have a fair understanding of our requirements and what needs to be done, we just need to get the actual coding done. Over spring break I did spend several hours looking at Google API documentation. I was also able to get the group Google Calendar to display by placing a private link into the config file, but seeing that this does not meet our requirements exactly, this is not the method we will be using, but it did help me understand that editing the calendarfetcher.js script is where the work needs to be done.
Finished the design document and our presentation slides. We all went to Presentation U and ran through our presentation that we will be giving later in the week. That went really well. We received some notes and will make some minor adjustments to the slides based on the notes.
We had our weekly group meeting where we went through the existing codebase and learned more about how it works through doing some experimentation. We scheduled our Presentation U appointment and discussed our design and presentation. Began work on the design.
Spent more time learning JavaScript and git. We had a team meeting, as we will every week, on Thursday. We investigated the use of a Google sign-in manager, but I was unable to get it installed on my machine properly.
This week I spent time just gathering the tools necessary for this project. This included installing git (for version control as well as allowing us all to work on the project concurrently), installing Node.js (the framework for which the original Magic Mirror code is written) and npm (a package manager for node.js). I spent some time learning git and Javascript (the language used for the Node.js framework). I began to try to familiarize myself with the existing code, but there is more of it than anticipated; this will take more time than I initially expected. I also helped with the website.
Finished the design document and our presentation slides. We all went to Presentation U and ran through our presentation that we will be giving later in the week. That went really well. We received some notes and will make some minor adjustments to the slides based on the notes.