Our favorite job!

InputTokens
It turned out we were not done with the input tokens after all. Today changed the script/style a little and the tokens are now added to the input search field instead of being listed above. We also added the ability to delete tokens using backspace.

Favorites.js and style
Yesterday we started implementing the possibility to add a post as a favorite by clicking a little heart icon. The icon is light grey by default, but changes to red when you add it to your favorites list. For displaying our heart icon we are using Font Awesome that makes it easy to change the style of the icon instead of using image files. Font Awesome is free, open source and can be found here.

Refactoring favorite feature
We already had the possibility to favorite without being logged in, but with the changes to our implementation we had to refactor our code a little.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: