<![CDATA[Prayash’s Notes - Medium]]> https://notes.prayashm.com?source=rss----74e456326b22---4 https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png Prayash’s Notes - Medium https://notes.prayashm.com?source=rss----74e456326b22---4 Medium Tue, 28 Apr 2026 03:06:44 GMT <![CDATA[Marching Ahead]]> https://notes.prayashm.com/marching-ahead-547e28d06418?source=rss----74e456326b22---4 https://medium.com/p/547e28d06418 Fri, 24 Jun 2016 10:31:11 GMT 2016-06-24T10:31:10.980Z Last two weeks have been great. I am finally enjoying both reading and writing code. I realise that most of the problems, I had when I was stuck could be solved after a taking a break and reading the code calmly. There were times, I just sat back opened two panes, one of the left and one on the right, and just read the code over and over again, till I got what I was doing wrong.

These two weeks I have been working on completing the views for the web client and made the action buttons functional. Keeping the code similar to GTK client. Discussed which CSV parsing library to use for sao. Ended up choosing PapaParse, and later I tried PapaParse to support custom quote character, which is a feature we support in the GTK Client. And the contribution was merged upstream :D

Did some refactoring, which I previously felt wasn’t necessary. Re-implemented some parts of the views in a better manner. And the best thing I learnt during all this, was using Chrome Dev Tools to map the source files so that I don’t have to Refresh followed by 9 clicks, every time I make some change, to just 3 Clicks! And am also using breakpoints to see the values floating around the function.

CSV Import dialog on the Tryton Web Client (sao)

This is what I have achieved so far. Currently working on the auto-detection of multi-level field names from an import file.


Marching Ahead was originally published in Prayash’s Notes on Medium, where people are continuing the conversation by highlighting and responding to this story.

]]>
<![CDATA[Doing CSV Import]]> https://notes.prayashm.com/doing-csv-import-8d705969d95?source=rss----74e456326b22---4 https://medium.com/p/8d705969d95 Tue, 14 Jun 2016 19:28:01 GMT 2016-06-14T19:28:07.444Z

So this is the view I am trying to replicate on Sao.

As per the plan, this week’s goals were to get familiar with the source code of Sao and Tryton in order to figure out how to make the views and plugin in the code for import/export functionality.

This would be the only way to understand how Sao works as there isn’t much documentation on it. However, doc.tryton.org provides some basic insight into what are some of the things are e.g. Window and Form views.

I will be using http://github.com/prayashm/sao to get my work reviewed before submitting it to rietveld codereview.

About making the views, I read through the code for same in tryton client and added the corresponding elements into sao which uses bootstrap. I am a bit stuck at making the tree views work for the All Fields section and CSV Parameters section. Looking into it.

While writing this I realise I might not be the best choice for a blogger :) Have to try harder next time. If you happen to drop by this post, do comment on what you wanna read. Till then, happy coding.


Doing CSV Import was originally published in Prayash’s Notes on Medium, where people are continuing the conversation by highlighting and responding to this story.

]]>
<![CDATA[Hello Fellow Developers around the World!]]> https://notes.prayashm.com/hello-fellow-developers-around-the-world-afa8d7dcc541?source=rss----74e456326b22---4 https://medium.com/p/afa8d7dcc541 Tue, 07 Jun 2016 03:36:16 GMT 2016-06-07T03:36:16.321Z I spent the time fixing some more easy issues. By now I am pretty confident about navigating through the codebase for fixing the bugs (grep -rl to the rescue!). As I have already posted, my project is about Porting the CSV Import/Export module from GTK Client (Tryton) to the Web Client (SAO). I am trying to make sense of problems faced by people when they post on mailing lists and mentors always there replying. Then again it feels good that real people whom I may have never known are using a project where I will be contributing.

Honestly, I could have spent more time in community bonding period. Just waiting for my semester exams to end.


Hello Fellow Developers around the World! was originally published in Prayash’s Notes on Medium, where people are continuing the conversation by highlighting and responding to this story.

]]>
<![CDATA[Accepted into GSoC 2016!]]> https://notes.prayashm.com/accepted-into-gsoc-2016-5332ccb7823d?source=rss----74e456326b22---4 https://medium.com/p/5332ccb7823d Tue, 07 Jun 2016 03:34:20 GMT 2016-06-07T03:33:28.518Z I am accepted into Google Summer of Code 2016. Will be working on Tryton (under Python Software Foundation). I will be developing the CSV Import/Export feature for their Web Client codenamed SAO. I am very enthusiastic about this as I could finally write a proposal for GSoC after failing to do so for two years in a row.

Would be working mostly in JavaScript and the many tools that come with it. Would be working from home this summer. Really wanted to visit another city. Just waiting for the semester examinations to end.

~Try Miracle


Accepted into GSoC 2016! was originally published in Prayash’s Notes on Medium, where people are continuing the conversation by highlighting and responding to this story.

]]>