BradleyCai / ucr-schedule-visualizer

Generates an hour by hour view and shows the locations of all the classes from a raw class list from GROWL.
https://waa.ai/ucrsv
MIT License
5 stars 2 forks source link

Refactor all the Javascript #85

Open emmiegit opened 8 years ago

emmiegit commented 8 years ago

There was a design meeting where the new structure for UCR-SV was discussed. The goals are modularity, ease of implementation and maintenance, and simple design.

The "main" javascript code will be moved directly to the HTML, and will invoke all the other JS sources in a library-like fashion. Each file will be self-contained and perform one and only function. The currently planned modules are:

The general flowchart of the application is that input will be given, be passed to the parser to generate course objects, which is used to generate a schedule object. Any hooks or errors along the way will be dealt with, and then all parts of the result are rendered. Also included is a new side panel to add more actions other than just "save to an image".

emmiegit commented 8 years ago

We should also add a different kind of notification for news items. Stuff like "what's new in version x.xx" in the top left corner that goes away when clicked.