GSoC 2015: Coding Period (25th May – 7th June)
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 view has 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 🙂</div>