Open jgallen23 opened 9 years ago
@Belelros how is this going?
Getting started. Created a branch already and will push there periodically
Let me know when you're around and have time to chat and let's have a quick catch up on this. Just want to make sure I make sensible changes.
let me know when this is ready to review
can you explain the main things you changed? I see swapping out stuff for moment, but there still seems to be a tight couple between the logic and the template. It would also be nice to incorporate mobile into the main lib so you can just pass in a different template for mobile and the backend is the same
Sure, this is what I did (or thought I did)
The mobile step was the next one I wanted to make. Just wanted to see if this was "enough" or if you wanted to do something else.
Currently we do a lot of date manipulation ourselves. I think we can simplify the library quite a bit by swapping all the date logic with moment. We should also remove all of the timezone stuff and use moment timezone instead. We could also look into separating out the rendering from the logic, that way the angular plugin could use the native angular template rendering. Maybe have a weekly-base repo that handles the logic and puts a big json object together for the views to render. Just a thought.
@Belelros would be great for you to take a deep dive and look how we can make the library a little more modular and clean it up.