]> git.evergreen-ils.org Git - Evergreen.git/commit
Move serials interfaces closer together
authorDan Wells <dbw2@calvin.edu>
Fri, 8 Mar 2013 22:55:52 +0000 (17:55 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 13 Mar 2013 21:27:48 +0000 (17:27 -0400)
commit0f6caa757861945f4ced5bb95608aabffed9316b
tree977fc8ad690fd5fba86781927313f0b435dafed8
parent3e9df23281892408c62fd610dfa124385eba2685
Move serials interfaces closer together

Back in (I believe) 2.2, we brought the dijit issuance editor into the
serial control interface with two goals: having less code in more places,
and easing the transition to an eventual unified interface which would
likely be more widget-based.

That experiment was well received, so this commit takes things a large
step further in that direction.  Basically, we are embedding the
alternate subscription editing interface into the serial control
scaffolding, which ultimately amounts to giving you some of the
benefits of both.  You get the more modern and maintainable code from
the alternate interfaces, but keep the context-awareness and familiar
navigation of the non-alternate serial control.

That said, this change is not meant to be the last word in serials,
but rather a way to at least come closer together while we still
continue to learn what structures provide the best experience.

Finally, some feature additions were necessary to the alternate serials
code in order to make this change as seamless as possible.  In some
cases, the new feature only works in the embedded version, but a new
'context' variable makes that simple to adjust as we move forward.
Changes include:
  - note editors on subscriptions and distributions
  - labeled dropdown for distribution summary options
  - and legacy record entry linkages

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/serial/subscription.tt2
Open-ILS/src/templates/serial/subscription/distribution.tt2
Open-ILS/src/templates/serial/subscription/issuance.tt2
Open-ILS/web/js/ui/default/serial/subscription.js
Open-ILS/web/js/ui/default/serial/subscription/distribution.js [new file with mode: 0644]
Open-ILS/xul/staff_client/server/serial/manage_subs.js
Open-ILS/xul/staff_client/server/serial/ssub_editor.xul