codecombat/app/models
phoenixeliot 8223122a6b Refactor and update teacher-dashboard
This updates TeacherClassView and ActivateLicensesModal to use the
new state-based rendering system, making it much snappier and less clunky
feeling, and improving data consistency.

Features also included in this:
- Hover details for progress dots in TeacherClassView
- ActivateLicensesModal has an "All Students" option and better handling
  when you switch classrooms in the dropdown
- Unenrolled/Unassigned students are shown separately in Course Progress and
  can be enrolled/assigned from there.

Add Back to Classes button on demo-request submitted view

Delete temporary patch file

Show unenrolled students separately in Course Progress (incomplete)

Migrate TeacherClassView to use orchestrator-style events, add unassigned students section, replace bootstrap tabs with state-based tabs

Convert missed instance variables to be in @state

Fix merge errors

(in progress) Convert a bunch of stuff to use state and events (removing student needs fixing)

Fix up modal interactions, some bugs

Switch state to be a Model, sync up course dropdowns

Convert student sorting to use state model

Add hover tooltips to TeacherClassView Students tab

Don't keep tooltip open when you mouse into it

Add dateFirstCompleted and Course Progress tooltips

Course Overview progress tooltips

Refactor ActivateLicensesModal

Refactors:
Uses state object for view state
Passes back the updated users in 'redeem-users' event instead of modifying given collection

Features:
Add 'All Students' dropdown option
Don't forget checked students if you change classroom from dropdown,
  but only enroll the ones visible when you click "Enroll (n) Students"

Separate enrolled students; improve style

Rearrange error text

Disable enroll-students button when none are selected

Remove console.logs

Move style-flat variables to another file

This prevents .style-flat from being copied in multiple times to the resulting CSS.

Show Unarchive button when on the page for an archived class

Move text to en.coffee

Only sort students on first classroom sync

Fix merge error

Handle sessions missing completion date in view logic instead of migration script

Listen to classroom sync more than once in case it gets unarchived
2016-05-06 13:13:11 -07:00
..
Achievement.coffee Added a new 'artisan' permission, which can edit most of the things admins can, but with less uncomfortable ultimate power. 2015-02-25 18:41:39 -08:00
AnalyticsLogEvent.coffee Log analytics events internally 2014-12-15 11:45:12 -08:00
AnalyticsStripeInvoice.coffee Subs dashboard perf 2015-07-31 16:19:40 -07:00
Article.coffee Added a new 'artisan' permission, which can edit most of the things admins can, but with less uncomfortable ultimate power. 2015-02-25 18:41:39 -08:00
Campaign.coffee Lock course content to classrooms 2016-04-27 09:58:04 -07:00
Clan.coffee Create and list clans 2015-04-01 11:56:48 -07:00
Classroom.coffee Fix last level text and continue button 2016-04-28 16:14:19 -07:00
CocoModel.coffee Refactor client tests to use factories instead of fixtures 2016-05-05 11:24:29 -07:00
CodeLog.coffee Implements the SPADE logger into the SpellView 2016-04-26 09:56:30 -07:00
Course.coffee Initial courses object model 2015-08-29 07:15:39 -07:00
CourseInstance.coffee Refactor and update teacher-dashboard 2016-05-06 13:13:11 -07:00
EarnedAchievement.coffee Tweaked achievement notification handling, also disabling an endless loop of achievement fetching. 2015-01-09 12:38:00 -08:00
File.coffee Clean up mixed quotes 2014-07-01 12:23:22 +08:00
Level.coffee Fix teacher sessionless play; uses default campaign levels 2016-04-28 12:46:09 -07:00
LevelComponent.coffee Added a new 'artisan' permission, which can edit most of the things admins can, but with less uncomfortable ultimate power. 2015-02-25 18:41:39 -08:00
LevelFeedback.coffee Clean up mixed quotes 2014-07-01 12:23:22 +08:00
LevelSession.coffee Fix #3484 2016-03-23 15:56:45 -07:00
LevelSystem.coffee Added a new 'artisan' permission, which can edit most of the things admins can, but with less uncomfortable ultimate power. 2015-02-25 18:41:39 -08:00
Mandate.coffee Add Mandate for modifying simulation throughput on the fly, other things later 2015-12-16 16:39:45 -08:00
Patch.coffee Clean up mixed quotes 2014-07-01 12:23:22 +08:00
Payment.coffee Added a simple payments page. 2014-11-25 11:09:29 -08:00
Poll.coffee Added admin/pending-patches view. Fixed accepting several kinds of patches. Added keyboard shortcuts for accepting (a) and rejecting (r) patches. Fixed #2490. Fixed #2515. Fixed #2304. 2015-03-28 13:54:44 -07:00
Prepaid.coffee Update teacher surveys 2015-11-24 10:32:19 -08:00
Product.coffee Move product information to the db 2015-12-14 11:10:50 -08:00
Purchase.coffee Implementation of Heald's design of the PlayItemsModal. Added purchasing logic to the server to support it. Refactored header font from Bangers to Open Sans Condensed. 2014-11-03 20:48:59 -08:00
RealTimeModel.coffee PVP waiting screen in real-time view 2014-08-29 21:46:26 -07:00
State.coffee Refactor and update teacher-dashboard 2016-05-06 13:13:11 -07:00
SuperModel.coffee Lock course content to classrooms 2016-04-27 09:58:04 -07:00
ThangType.coffee Fix isSilhouettedItem 2016-01-02 16:10:03 -08:00
TrialRequest.coffee Replace TeachersFreeTrialView with RequestQuoteView 2016-01-28 17:21:36 -08:00
User.coffee Escape inputs for name conflict checks 2016-05-03 14:47:39 -07:00
UserCodeProblem.coffee Instrument user code problems 2014-08-14 13:32:00 -07:00
UserPollsRecord.coffee Polls! 2015-03-08 16:36:17 -07:00