Exploring Ember, Typescript, and Highcharts
summary
Built a data analytics feature inside the PDPM calculator that integrates Highcharts with modern Ember, replacing a brittle wrapper add-on that blocked Highcharts types and caused initial-render and scroll-position bugs. Replacement is a DOM-focused Ember modifier implemented in 14 lines of code, adds lazy-loading via ember-auto-import/embroider for only importing needed Highcharts modules (export/menu module included), and converts code to TypeScript + glint so developers get Highcharts types available and immediate type errors that prevent incorrect element or option usage.
AI-written summary · about
chapters (11)
- 0:00Introduction and context
- 1:06Project goals and features
- 2:27Moving beyond wrapper add-ons
- 4:18Analyzing add-on architecture
- 5:50Implementing Ember modifiers
- 6:58Modifier demonstration
- 8:35Advanced modifier usage
- 9:37Lazy loading and optimization
- 10:32TypeScript and Glint integration
- 12:08Debugging with type hints
- 13:20Recap and conclusion
