Monday 30 June 2014

GSoC Update: June 30 2014

Since last 10-12 days I have been working on adding some more features to +tickets view and also improve the UI of ticket items.
Features Added to +tickets view:
  • Added XStatic-JQuery.TableSorter 2.14.5.1 plugin. Now sorting can be done according to columns of table showing the list of tickets. Also added generic css for class table-sorter-header so that if this plugin is used somewhere else then there is no need to define separate css for it.
  • Now user can filter tickets according to the tags. User can filter tickets by selecting multiple tags.
  • Now sorting can also be done on the basis of modified time (Recently modified and least recently modified)
UI of ticket items: As decided in the plan in order to improve UI of ticket items I defined css for radio-buttons, select-lists, text-inputs and submit buttons. I defined the css in a way that it is compatible with all the themes. Here is the screenshot

Also added tag suggestions in ticket submit and modify view.

Also I passed the Mid-Term Evaluation that took place last week. I would like to thank my project mentors - dimazest, Thomas Waldmann and RogerHaase for their constant support.



Tuesday 17 June 2014

GSoC Update: Finalized /+tickets view with some more features

This week I worked on adding more features to the basic /+tickets view that was made last week.
Following are the features that are in this view

  •  Now there is a search bar in this view by which user can search for text in comments, summary, itemid and tags. 
  • There is also a filter option by which user can filter the results by priority, effort, severity and difficulty. User can click on any td element and the table gets filtered according to the value in that column. 
  • I have also added buttons for viewing only Open, Closed or All tickets. by default only Open Tickets are being shown. 

Here is the screenshot of +tickets view.


Here is the codereview and commit for my changes.
Now I need to write tests for this view.

Tuesday 10 June 2014

GSoC Update: June 10 2014

Last week I worked on adding /+tickets view having a list of tickets in a tabular form. It contains important meta data information of tickets and also the links to tickets.
I also added a search option in which user can search in comments, summary, itemid and tags. 
Here is the screenshot of +tickets view.



Also made summary, Effort, Difficulty, Severity and Priority necessary fields.
Here is the codereview for this change.

During this week I found one bug - Nameless items could not be downloaded in modernized theme so I made a small change in order to make it work. Here is the codereview for my change. 



Monday 2 June 2014

GSoC Update: June 2 2014

Well, this post came a bit late as I was busy with my coding stuff.
The coding period started almost 2 weeks ago and in these 2 weeks I mainly worked on making ticket update work properly and also work on some GUI part of tickets. During this I came to know that this update problem is not only with the ticket items but all items which do not have any name. Also there was a failing unit test due to this. The problem was that the notification module was dependent on name and as items may not have any name so the error was raised whenever such an item was modified. For solving this I passed fqname instead of item_name to Notification module and also to logging signals and used this fqname to fetch the item's  information and send notification mail. Here is the codereview and commit to my repo.

There was also one specific problem with tickets that for the fields "Depends On" and "Superseded By" it was earlier trying to fetch the names of other tickets and tickets do not have any name so an error was raised. For this problem I made it fetch only some initials of itemid and also summary of the ticket items. Now in these fields the drop-down list shows this itemid initials and summary. Here is the codereview for my change. I am yet to commit it to my repo.

Also during this time Ajitesh (:randomax) reminded me of this bug regarding the dislocation of search box which I solved earlier but didn't commit. So I committed that also to my repo. Here is the codereview and commit to my repo.