David Baumgold
eac14615cd
Load advanced_entry template on page, rather than via AJAX
2013-07-29 14:28:40 -04:00
Peter Fogg
c2f0b7d4e9
Fix validation in many cases, and ensure that the notification bar pops up correctly.
2013-07-11 15:53:51 -04:00
Peter Fogg
ec13349ae3
Remove outdated deleteKeys from advanced settings.
2013-07-11 09:11:59 -04:00
Peter Fogg
3d4f9268da
Make sure that changing grading cutoffs triggers a save confirmation, and reliable reverting of changes.
2013-07-11 09:11:59 -04:00
Peter Fogg
164a469e9d
Factor showNotificationBar out into ValidatingView.
...
When all settings require an explicit save, this functionality will be
shared between each view (with slight changes, e.g. click handlers.)
2013-07-11 09:11:07 -04:00
Peter Fogg
fb573a1db6
Hide "success" alert as soon as we start editing another field.
2013-06-24 13:59:14 -04:00
Peter Fogg
3e376bd780
Prevent "saved" and "error" views from showing at the same time.
...
Previously the "saved" view was never hidden, even after more data was
edited. So if one field was saved successfully and then another was
not, we would find ourselves in the unfortunate situation of seeing
both views at once, leading to much confusion.
2013-06-24 11:06:53 -04:00
Peter Fogg
72e08456a8
Refactor Advanced Settings page to use Backbone notifications.
2013-06-24 09:48:37 -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
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
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
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
Mark L. Chang
7b5ec1bc41
instrumented advanced settings
2013-04-04 01:51:14 -04:00
Brian Talbot
cdcdfd49e0
studio - alerts: resolving local master merge conflcits
2013-03-18 10:58:16 -04:00
Brian Talbot
36746fb729
Merge branch 'master' into feature/btalbot/studio-alerts
2013-03-12 16:05:54 -04:00
cahrens
7e8fcb85ff
Updated Selenium test, deleted dead code related to Advanced Settings.
2013-03-11 16:56:24 -04:00
cahrens
f5dd5d35e9
Need to trigger invalid instead of error, after changes for new version of Backbone.
2013-03-08 14:51:29 -05:00
cahrens
9ec33928ce
New version of Backbone has separate invalid event.
2013-03-07 13:37:10 -05:00
Brian Talbot
62514d85a3
studio - alerts: loosely wired advanced settings with new notification and alert messages
2013-03-06 15:36:38 -05:00
Brian Talbot
ec90d349e2
studio - alerts: revisited advanced editor notification UI to marry new styles/behavior - WIP
2013-03-04 12:47:07 -05:00
Don Mitchell
c11d627c88
Chrome/Safari don't use keypress for backspace and delete.
2013-02-22 11:00:27 -05:00
Don Mitchell
e5efcf65d3
remove console.log
2013-02-21 13:34:11 -05:00
Don Mitchell
851a99cb13
remove commented out code
2013-02-21 13:32:29 -05:00
Don Mitchell
116c74c075
Highlighting of field labels and smarter decision as to when to show the
...
save cancel bar.
2013-02-21 13:27:36 -05:00
cahrens
cc63f9c2db
Unique IDs, other cleanup.
2013-02-20 17:11:34 -05:00
Brian Talbot
ad770a5ec8
studio - manual policy editor: converting to new page layout - WIP
2013-02-20 14:24:13 -05:00
cahrens
305f0b2a54
Add number of spaces for formatting of JSON.
2013-02-20 10:56:49 -05:00
cahrens
4ae691e88a
Convert JSON that doesn't parse to String (unless object, array, or single quote).
2013-02-13 17:41:52 -05:00
cahrens
f56729dbdb
Turn off line wrapping.
2013-02-12 15:27:38 -05:00
cahrens
75ceed7f69
Show "successful save" message when a new edit is made.
2013-02-12 10:29:47 -05:00
cahrens
e9bb5eb1d0
Minor updates.
2013-02-11 17:27:39 -05:00
cahrens
98920e7e05
Switch to new notification/Save/Cancel mechanism (attached to bottom of viewport).
2013-02-11 16:17:32 -05:00
cahrens
437c806fce
Enable/disable new entry button.
2013-02-11 14:16:04 -05:00
cahrens
67a557d59a
Update Save/Cancel button state on typing events.
2013-02-11 14:07:11 -05:00
cahrens
044a8a5cf6
CodeMirror.
2013-02-11 12:37:31 -05:00
cahrens
039160f50c
Beginning of CodeMirror.
2013-02-11 11:20:14 -05:00
cahrens
ac732f6b07
Beginnings of feedback regarding unsaved and saved changes.
2013-02-08 17:19:19 -05:00
Don Mitchell
09e8628037
add editor to new entries and when key changes
2013-02-08 16:58:50 -05:00
Don Mitchell
5254af2918
Letting render do its thing. The wrap confused the this pointer.
2013-02-08 15:36:42 -05:00
cahrens
4718c9a51a
Forgot to define self when I moved code.
2013-02-08 11:17:02 -05:00
cahrens
950f5de3ca
Move getSession() call out of render method to avoid crash on Chrome.
2013-02-08 08:26:24 -05:00
cahrens
c907cf756c
Add ACE Editors.
2013-02-07 13:05:39 -05:00
Don Mitchell
1e68834e03
Remove from to-be-deleted list any readded keys w/ same name.
2013-02-06 17:42:00 -05:00
Don Mitchell
7b3c81ca53
blacklist violations now properly trigger violation error
...
delete keys only after save completes
2013-02-06 17:25:12 -05:00
cahrens
c243eec604
Move to view file.
2013-02-06 15:29:17 -05:00