| Summary: | break up functionality in globalCommands.js | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Susan McCourt <susan> |
| Component: | Client | Assignee: | Susan McCourt <susan> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.4 | ||
| Target Milestone: | 0.4 RC1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Susan McCourt
I expect bug 369555 to shed light here. Once we implement the "related links" stuff there will be more "common page" stuff. For now, I've split globalCommands into three parts. commonHTMLFragments - just the HTML fragments for header, footer, toolbars. This would be an HTML file if we were doing server side include, but for now it's a js file that defines HTML. parameterCollectors - all the stuff dealing with parameter collection in a slideout globalCommands - defines global commands, inserts the fragments, ties in the parameterCollectors, generates logic for all banner parts (authentication, searchbox, related links, etc.) You can now think of globalCommands as "global commands and common glue code for the common page elements" It's possible we would further divide up globalCommands to be just commands and then just glue, but I didn't want to go crazy. We can see if either evolves to warrant its own module. |