#23: GSoC with KDE Now- 2

Hey ! I’m making KDE Now, an application for the Plasma Desktop. It would help the user see important stuff from his email, on a plasmoid. It’s similar to what Google Now does on Android. To know more, click here

 

Just an update on what I’ve planned for the coming weeks. Also, I don’t think I’ll be able to do anything else for the next two weeks, since my final semester exams start from 18th of this month, and last till 28th. So, this blog post seems to be the last one for this month.

About two weeks remain, until formal coding period begins. And my fingers are itching for it.

I got in touch with VDG, and Andy will be giving me mockups. I’m really really thankful to him for it. I don’t know how much my mockups would have sucked, had I made them. Hahaha

My proposal had some changes in between. Originally, I had proposed to use Akonadi for fetching the emails. After submitting the proposal, my mentor got in touch with me and said it would be better to use KImap library. What this means for me, is that I’m gonna have to implement an Imap client (not so trivial), but where’s the fun, if it were easy ;). KImap makes this task easier. Unfortunately, I won’t have any time, to write some test applications for getting familiar with it’s API. I think, I’ll just have to dive in.

Vishesh had written an early prototype for KDE Now. So, to start with, I’ll be working on his code. He had used KImap to fetch emails. However, it did not update the email cache. That’s what I’ll be doing first. I’ll store UID of the last fetched email in a file. And when I get the notification that a new email has arrived, I’ll fetch new emails based on the UID’s larger than the one I stored in the file. This should work, since in IMAP, UID’s are incremental in nature.

I also went through D-Bus concepts. I’ll be using it to tell the plasmoid, that “Hey, I have new mails. Check !”.

<< Off Topic >>

I download free cover music from Youtube, using youtube-dl. I was bored while I was studying for my semesters yesterday. So I wrote this script yesterday to download songs from youtube. It’s really a no brainer,  not a big deal, but have a look and let me know if there are some bugs. It can be found here.

See you later

Thanks for reading !

#22: GSoC with KDE Now – 1

Hey ! I’m making KDE Now, an application for the Plasma Desktop. It would help the user see important stuff from his email, on a plasmoid. It’s similar to what Google Now does on Android. To know more, click here

 

As I said, in my last post, I am one of the student developers for KDE this year during this Google Summer of Code. I’ll be working on a project related to Plasma. I’ll go through the details, as I progress with my project.

It’s currently community bonding period, and we are expected to bond with the community and get to know the people. I’ve been hanging around IRC as usual. I recently only joined the telegram group kde-soc, and it’s pretty helpful for those with University blocked ports.

Also, I’ve been working withe the KDE VDG Group for coming up with some cool UI’s for my project. I plan to have a plasmoid, which will have different cards. This plasmoid will be scrollable, so we can scroll cards on it. Each card will display some important information pertaining to a user’s Flight, Hotel, Event or Restaurant reservation. Few days back, I created some basic parts in Inkscape, and sent it to the good folks at VDG. Andres Betts was quick to respond with his views on it, and asked me, how would they would look on a proper desktop.

Here are the Inkscape mockups I came up with. (The flight one is actually Vishesh’s 😉  )

 

He told me to, make these in QML and see, exactly how would they look on a Plasma Desktop.

 

They seemed good, and he said, he would come up with some mockups for the same. Also, the typeface needs to be made good. Personally, I also think the cliparts could be better. I used these, since I couldn’t find anything better from Google Images.

Things that still need to be done, as for the UIs is to find a way, to make these different cards uniform and aligned. Also, I plan to show just a small abstract of the information on the Plasmoid Card. When the user clicks on it, then the card would expand.

I have set up a scratch repository here. Also, I maintain a github mirror, for those who prefer github. It’s good, that I set up everything and pushed some code beforehand, since I won’t be able to actually code until a week later, after the formal coding period begins. (Courtesy of final University Exams -_- ).

Your valuable opinions and suggestions are welcome.

Cheers.