Added Favorites component type to WordPress
Manage favorites collection routes: add an item to it and display the list with archive template
Add favorites to globals at app sync
Implement favorite removing function
Refactor adding and removing functions
Refresh current screen after updating favorites list
Remove specific route used for favorites, as there is no need to display a new page; rework add/remove link management; add comments
Let the theme decides of the class to include into the link, just add the action performed for a styling purpose
Remove getFavoriteButton template tag and let the theme displays its own buttons, just add a new isFavorite template tag for the theme to know what to show (add or remove)
Simplify favorites management from theme point of view: only post id should be passed through the add/remove link and ThemeApp functions
Remove unused action parameter from getFavoriteData template tag
Rename getFavoriteData into a more generic getPostDataAttributes template tag
Make post data attributes filterable
Add a callback to addToFavorites and removeFromFavorites functions, and remove current view re-rendering
Bugfix: properly destroy a model when it's removed from the collection
Bugfix: correctly set add_date at each model addition into the collection, and remove unnecessary parameters
Sort favorites with the reverse addition date to see last added first into the list
Add a new themeApp.resetFavorites() to reset favorites list
Add a new view to handle favorites list: template name is 'archive-favorites'
Add post id into addToFavorites and removeFromFavorites callback arguments so that theme can know which post has been updated