Brian Talbot
7ae534799b
studio - revises error message copy when section name is left blank on outline view
2013-05-22 15:55:54 -04:00
David Baumgold
a0a71c0df2
Internationalization for JS
2013-05-22 15:55:53 -04:00
David Baumgold
9cbfee9894
Fix Jasmine tests related to invalid messages for section model
2013-05-22 15:55:53 -04:00
David Baumgold
2b01273f7f
Added some Jasmine tests for section views in Backbone
2013-05-22 15:55:52 -04:00
David Baumgold
56d8a467c8
Add tests for minShown and maxShown in views
2013-05-22 15:55:52 -04:00
David Baumgold
09a8075355
If a Backbone view can't find its template, I want to know
2013-05-22 15:55:52 -04:00
David Baumgold
fcf4cdc75e
Implement minShown and maxShown for notification views
2013-05-22 15:55:51 -04:00
David Baumgold
91c2594c8d
Fix section name validation alerting
2013-05-22 15:55:51 -04:00
David Baumgold
4af3325976
Move display logic into view
...
Model shouldn't know about things like close buttons, visibility, and so on
2013-05-22 15:55:51 -04:00
David Baumgold
fedfe8627f
Add tests for click events on views
2013-05-22 15:55:51 -04:00
David Baumgold
070d24cf61
Jasmine doesn't like asserting on the <body> element :(
2013-05-22 15:55:51 -04:00
David Baumgold
0c368011da
Move underscore templates into separate files, included in Mako templates
2013-05-22 15:55:50 -04:00
David Baumgold
69a6ec0c97
Don't fall over if a model doesn't have actions defined
...
It appears that one notification stealing focus from another causes some weirdness:
both clicking on a button on one view triggers the event on both views (the original
and the new view that stole the div). As long as the first view does *not* define
any click events, everything is fine -- this is the case for the saving notification.
I'll worry about the reason for this later; it has something to do with views
listening to models even after they no longer should be.
2013-05-22 15:55:50 -04:00
David Baumgold
1333717871
Message action callbacks have model set to this
2013-05-22 15:55:50 -04:00
David Baumgold
c6c5e50d86
Hook up notification framework to default AJAX error callback
...
And delete `CMS.ServerError`
2013-05-22 15:55:49 -04:00
David Baumgold
cd2f67afa4
Clone the attributes object
...
So that modifications don't affect the model
2013-05-22 15:55:49 -04:00
David Baumgold
5746121f5c
Set up Notification and Prompt
2013-05-22 15:55:49 -04:00
David Baumgold
5c2116a4b3
Make abstract view, make Alert inherit from it
2013-05-22 15:55:49 -04:00
David Baumgold
5ff2adb882
Rename alert model to SystemFeedback
2013-05-22 15:55:48 -04:00
David Baumgold
56a92bff51
Hook up CMS.ServerError to new alerting system
2013-05-22 15:55:48 -04:00
David Baumgold
40000a3ac5
Make close tab on alerts close the alert
2013-05-22 15:55:48 -04:00
David Baumgold
c0d69022cb
Set up Backbone model/view for alerts
2013-05-22 15:55:48 -04:00
David Baumgold
e9a8f408bf
Add {reset: true} to all collection.fetch() calls
...
This is to fix a bug with the Backbone 1.0 upgrade; some views were listening to
reset events that were not longer getting fired
2013-05-14 16:43:41 -04:00
David Baumgold
7f69e45b9e
whitespace changes
2013-05-08 09:29:20 -04:00
cahrens
f36494e5dd
Need to be able to access smoothScrollTop. This is a temporary change-- I'll come up with a proposal to namespace our helper functions in a nicer way.
2013-04-09 09:41:52 -04:00
Brian Talbot
3f22826e26
studio - alerts: adding some ARIA-centric accessibility information to example prompts/notifications and advanced settings save notification
2013-04-08 16:28:31 -04:00
Brian Talbot
bcf4775610
studio - alerts: removed banners as a design pattern (not using them) and corrected advanced setting links and smoothscrolling
2013-04-08 13:47:01 -04:00
cahrens
cea0f9252c
Make sure we don't mark the message bar as hiding if it is not shown.
2013-04-08 11:02:06 -04:00
cahrens
7f1c89b492
Merge branch 'master' into feature/btalbot/studio-alerts
2013-04-08 10:28:52 -04:00
Brian Talbot
1a68d516fb
resolving local merge with master
2013-04-05 15:27:08 -04:00
Brian Talbot
512e4fe3bd
resolving local merge with master and sprucing style and templates for merge with master
2013-04-05 15:13:21 -04:00
Brian Talbot
52a2fc7114
changing timeFormat for settings views
2013-04-04 17:45:40 -04:00
Mark L. Chang
4ce34fa298
instrumented checklists
2013-04-04 01:51:15 -04:00
Mark L. Chang
7b5ec1bc41
instrumented advanced settings
2013-04-04 01:51:14 -04:00
Mark L. Chang
22bd8da1f2
added event tracking to static pages
2013-04-04 01:51:14 -04:00
Brian Talbot
d87c4e3866
resolving local merge with master
2013-04-03 15:01:55 -04:00
cahrens
fa63bcce94
Allow clearing of dates (except for course start date).
...
https://edx.lighthouseapp.com/projects/102637/tickets/231
2013-03-25 17:25:49 -04:00
cahrens
ccd4db9ac3
Writing test.
2013-03-25 15:24:53 -04:00
cahrens
c39ff353ea
Don't assume input fields will be within a div.
...
https://edx.lighthouseapp.com/projects/102637/tickets/232
2013-03-25 11:09:33 -04:00
Brian Talbot
7051a94e7b
resolved local master merge conflicts with studio sass
2013-03-21 16:15:19 -04:00
cahrens
f44989e516
Use Brian's open external method.
2013-03-21 11:17:31 -04:00
cahrens
fd9c29f449
Merge branch 'master' into feature/btalbot/studio-checklists
2013-03-20 16:37:56 -04:00
cahrens
6d6e144c35
Urls working.
2013-03-20 16:37:08 -04:00
Brian Talbot
f181a454e4
studio - added in basic JS confirm UI when deleting course updates
2013-03-20 11:20:16 -04:00
cahrens
a03f6c3bf1
More Selenium test, code cleanup.
2013-03-19 14:02:07 -04:00
cahrens
49ee903eda
Merge branch 'master' into feature/btalbot/studio-checklists
...
Conflicts:
cms/djangoapps/contentstore/views.py
cms/static/js/template_loader.js
2013-03-18 15:30:19 -04:00
cahrens
f6fb64f130
Saving checkbox state, client template for individual checklist.
2013-03-18 15:03:54 -04:00
Brian Talbot
cdcdfd49e0
studio - alerts: resolving local master merge conflcits
2013-03-18 10:58:16 -04:00
cahrens
ac25b02ce6
Minor updates.
2013-03-14 13:48:17 -04:00
cahrens
017fd06bfc
Pre-merge.
2013-03-14 13:37:22 -04:00