Removed achievements count from stats table, added activities count and likes count instead
created controllers and models for each - inner join galore
fixed error where empty password and security answer were not being allowed to be posted when update was clicked on admin panel
made the likes count update as soon as like button is pressed on a trip (if thats the logged in users trip) - targetted trip count update only instead of the whole stats call
edited login screen message color to red for incorrect credentials and black for success; removed tripframe event listener check for clicked button which was preventing user from clicking on add trip when they had another option selected on the side panel
Since add trip creates a trip immediately, made it so that as soon as user presses on any other side panel buttons, the stats update (as trip is +1'd each time)
Added modal popups if user tries to like or dislike trips when they are not logged in - this modal gives an option to close and also to go to login page with transition; fixed the white bar of death error that used to show up on top of the homepage image when not logged in
Final changes -
Removed achievements count from stats table, added activities count and likes count instead
created controllers and models for each - inner join galore
fixed error where empty password and security answer were not being allowed to be posted when update was clicked on admin panel
made the likes count update as soon as like button is pressed on a trip (if thats the logged in users trip) - targetted trip count update only instead of the whole stats call
edited login screen message color to red for incorrect credentials and black for success; removed tripframe event listener check for clicked button which was preventing user from clicking on add trip when they had another option selected on the side panel
Since add trip creates a trip immediately, made it so that as soon as user presses on any other side panel buttons, the stats update (as trip is +1'd each time)
Added modal popups if user tries to like or dislike trips when they are not logged in - this modal gives an option to close and also to go to login page with transition; fixed the white bar of death error that used to show up on top of the homepage image when not logged in