Tuesday 12 August 2014

Stage#2 Commit#1



It has been really long since my last blog post and I was terribly ill for a long long time. I have shared my problems and concerns with the community people and my mentors. Thanks a lot for being so supportive and helping me get back on track when I had minimal hope left.

I feel somewhat better now and tried my level best to reflect changes. I started with adding languages to user preferences for the filtration purpose. After some discussion with mentors and Diaspora people the following tasks are completed :-

1)  Added the User interface for selecting or deselecting multiple languages in the getting started page        for new users using standard rails tag and conventions. I then linked the interface to a new model          for preferred languages via the getting_started controller.

Getting Started New UI

2)  The languages are stored in this model along with the ISO codes as specified in the                              locale_settings.yml

3)  Rails association table is used to link them to user model . Followed all the rails conventions and          had to use some additional validations to carry it out.

4)  A new controller for the preferred languages has been written so as to handle creation, editing,            deletion or any such related requests in the forthcoming part.

I am currently cleaning up the code part till Mid evaluation (storing the languages as ISO codes, writing separate functions in models for auto detection etc). Can create the filter as soon as that's done.

No comments:

Post a Comment