How wrackzone/pi-scope-change-chart works
Main Components
a) Frontend Components:
• A visualization component for the chart
• Tabbed panel component for Series and Change views
• User interface controls for baseline selection
b) Data Layer:
• Rally Lookback API integration
• Data transformation layer for scope change calculations
• Moment.js time handling (indicated by lib/moment-range.js)
c) Build/Deploy System:
• Grunt build system (indicated by Gruntfile.js)
• Deployment artifacts
Component Relationships
[Rally Dashboard] → [PI Scope Change Chart App]
• ↓
[User Interface Layer] → [Chart Visualization]
• ↓ ↓
[Data Processing Layer] ← → [Rally Lookback API]
• ↓
[Time Processing Layer (Moment.js)]
Specific Implementation Details
• Blue rectangles for UI components
• Green rectangles for data processing
• Yellow diamonds for external services (Rally Lookback API)
• Orange rectangles for build/deployment components
Key Architectural Elements
a) Frontend Architecture:
• Main App.js as the central controller
• CSS styling layer (app.css)
• RequireJS dependency management (lib/require.js)
b) Testing Architecture:
• Test framework integration
• Connection to Travis CI (.travis.yml)
Deployment Architecture
Deployment process:
• Development environment
• Build process (Grunt)
• Deployment artifacts (deploy folder contents)
Important Notes
• Version/environment information
• SAAS subscription requirement
• Baseline calculation options
• Feature tracking mechanism
Technical Dependencies
• RequireJS
• Moment.js
• Rally SDK dependencies
• Testing framework
Remember to:
• Use clear, consistent labeling
• Notes about the baseline calculation options
• Feature comparison mechanism
• Relationship between the visualization and data layers