In the 3rd week of the coding period, I worked on file upload feature, to upload files in the ticket create and modify view. Now one can up...

Monday, June 22, 2015

In the 3rd week of the coding period, I worked on file upload feature, to upload files in the ticket create and modify view. Now one can upload any patch file, media file or screenshots.CR (for file upload feature) : https://codereview.appspot.com/246020043/ We had a meeting over our IRC channel where I discussed about my work and cleared few doubts with my mentors.

I also worked on improving the UI of ticket create and modify views and made it look more consistent in both basic and modernized themes.

The coding period started 2 weeks ago, from 25th May. In these two weeks I worked according to the timeline which I created during the com...

Sunday, June 07, 2015

The coding period started 2 weeks ago, from 25th May. In these two weeks I worked according to the timeline which I created during the community bonding period.

I worked on implementing Ajax based searching of duplicate tickets feature. Initially, I thought that it has to be created using Whoosh and JQuery from scratch but it turned out that something similar was implemented in /+search view. The /+search viewhas an Ajax based search form which displays content suggestions of various contenttypes, name term suggestions and content term suggestions along with informations like revision id, size, date of creation and file type. So, I used the code of /+search view for implementing duplicate ticket search. I made some changes in the existing code to allow it to search tickets and added few lines of code in ajaxsearch.html template to render duplicate ticket suggestions as the /+search view displayed some results which were not necessary as suggestions for duplicate tickets. Just a few lines of CSS were only required to keep the rendered result tidy.

Obviously, I was not able to code it in one go as I don't have much experience in working on large codebase. But my mentors were very helpful. They guided me, reviewed my code and gave me suggestion on how to reduce few redundant code segments. Their advice was really helpful as I reduced a lot of redundant code and now it looks pretty.
Codereview: https://codereview.appspot.com/236490043

This is how it looks:

I am currently working on file upload feature so that a user can upload any patch file, media or screenshot. I've implemented it by creating a new item for every file uploaded. I've few issues regarding how to deal with item_name and itemids which I am discussing with my mentor and I hope that I'll figure it out very soon :)