Scott Erickson
d4c5d418ff
Improve CampaignEditor saving, particularly level order
...
* Do not cache campaign
* Instead have an on leave message if there are unsaved changes
* Propagate campaignIndex values to campaign and levels so that they signal a change in order
The save modal seems to have a lot of issues with identifying what models have
changed. I tried using different methods, but none were consistent. Moving on
to other bugs.
2016-05-31 15:09:26 -07:00
Imperadeiro98
92dc72cce1
Remove name from loadModel
2016-02-18 16:44:40 +00:00
Imperadeiro98
b7ba677b00
Use view in template
2015-12-26 14:21:06 +00:00
Nick Winter
71fc8d5230
Don't risk destruction of level unlock links
2015-12-23 12:08:09 -08:00
Nick Winter
ec7f17a149
Show level indexes in courses
2015-11-24 08:56:28 -08:00
Nick Winter
fe05e66458
Give Campaigns types so that course campaigns can share hero levels
2015-11-12 10:25:25 -08:00
Nick Winter
5f8ab8a212
Added support for test campaigns that don't save their levels/achievements
2015-10-16 16:06:53 -07:00
Nick Winter
0b1bb6a4aa
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
Nick Winter
32a95afbd0
Allowing reordering of levels in Campaign. Reversing CampaignEditor levels before save so that when the save magically reverses them again, the order is preserved.
2015-02-26 11:33:07 -08:00
Nick Winter
4d35c2cefc
Merged.
2015-02-23 15:05:54 -08:00
divyanshu013
5ad23fc354
Fix for Campaign editor login not working for #2082
...
Overiding the login and signup listener clicks in CampaignEditorView so that
the child can call them.
2015-02-23 01:34:33 +05:30
Aman Kumar
7f442a32a3
Issue #2082 : Campaign editor login fixed
2015-02-22 20:26:13 +05:30
Nick Winter
57d12c199e
Tweaks to campaign status view. Hooking up i18n for Campaigns, but it doesn't work yet.
2015-01-29 09:07:25 -08:00
Matt Lott
d51eddef29
Update campaign editor analytics
...
Double-click level row in overview to open level details view.
2015-01-20 15:02:24 -08:00
Matt Lott
d532d9fe6e
Add date picker to campaign editor analytics
...
Only for overall campaign editor analytics. Still need to add date
pickers to individual level views.
Moving campaign editor analytics to its own modal to support reloading
with new dates.
The date picker widget works poorly, but you can type in dates if
necessary.
Also moving analytics button up into the top right header, with a
little stats glyph icon.
2015-01-16 15:44:28 -08:00
Matt Lott
770d3f5229
Add playtimes to overall campaign editor analytics
2015-01-15 16:07:26 -08:00
Matt Lott
e67532cf5d
Mark top3 and bottom3 levels in campaign analytics
2015-01-15 15:19:16 -08:00
Matt Lott
3fd5f49220
Analytics data revamp
...
Add analytics per-day aggregation collection.
Add analytics strings collection.
Add per-day aggregation mongo insertion script.
Update campaign editor to use aggregation collection.
Update queries to use _id instead of created field.
2015-01-14 11:09:01 -08:00
Nick Winter
778647bf19
Fixed layout of non-short item detail property labels. Commented out campaign editor analytics load for now to not kill things.
2015-01-11 10:04:24 -08:00
Matt Lott
c54fea929e
Update campaign editor analytics
...
Optimize analytics.log.event user event data find() to use stream()
instead of exec(), which is better for large result sets
Fix startDay formatting bug
Per-level recent sessions to 100
2015-01-07 14:49:24 -08:00
Matt Lott
61180c640d
Add completion % to campaign analytics
2015-01-05 10:28:56 -08:00
Matt Lott
b5969e0abc
Update campaign analytics level ordering
...
Reading campaign levels from database. Assumes database order is
roughly progression order.
2015-01-02 13:31:50 -08:00
Nick Winter
f66afa1dc0
Trying latest sass-brunch (which happened to alphabetize our devDependencies.) Fixed bug with required/restricted items not showing up properly. Added quick links to open level editors from campaign editor.
2015-01-02 12:40:17 -08:00
Matt Lott
e65887ec79
Add campaign drop-offs analytics to editor
2015-01-01 12:01:51 -08:00
Nick Winter
c13922a2d8
Transferring voice range from Hero Placeholder to heroes.
2014-12-29 20:06:27 -08:00
Nick Winter
a5b5bb1085
Ctrl/cmd+click a level in campign editor to open level editor in new tab.
2014-12-29 13:22:35 -08:00
Nick Winter
1440584633
Added tasks to campaign editor; fixed/added campaign editor level click/double-click handling; improved campaign editor level Treema status view formatting.
2014-12-29 12:47:53 -08:00
Nick Winter
744d30737e
Merged in campaign editor and campaign view. Destroyed WorldMapView, CampaignOptions, and LevelOptions. Lots of stuff is now stored in the database instead of code. Cleaned up a few unneeded old features. Fixed some problems with checking permissions on first rather than latest versions of documents.
2014-12-28 13:25:20 -08:00
Scott Erickson
96c8e035cf
Added a CampaignLevelView stub that appears when you double click a level node or one of its children on the treema.
2014-12-23 09:42:24 -05:00
Scott Erickson
0bdec68cfc
Set up a save button.
2014-12-22 16:21:57 -05:00
Scott Erickson
0d45e4a889
Set up the CampaignEditorView to trigger the CampaignView to re-render when things change.
2014-12-22 12:06:17 -05:00
Scott Erickson
1db8284236
When you select a level on the CampaignView while in edit mode, it selects the level in the CampaignEditView.
2014-12-22 11:09:58 -05:00
Scott Erickson
a31b385a4d
Moving levels and adjacent campaign links around in the CampaignView saves the new position to the CampaignEditorView.
2014-12-22 10:54:07 -05:00
Scott Erickson
efc83b88d0
Hooked up the CampaignView to show adjacent campaigns based on the data.
2014-12-22 10:29:29 -05:00
Scott Erickson
0cd85d7aba
Got the CampaignView mostly off the hardcoded data.
2014-12-19 16:46:01 -05:00
Scott Erickson
b63b4d64da
More work on the CampaignEditorView. Data gets saved to models now.
2014-12-17 22:53:04 -08:00
Scott Erickson
1cc6a97e43
Added basic campaign view, working on campaign handlers.
2014-12-16 17:46:24 -08:00