Skip to content

Conversation

@medbenmakhlouf
Copy link
Contributor

@medbenmakhlouf medbenmakhlouf commented Sep 5, 2025

Introduce an optional timeout in the loading pipeline to accommodate modules that need a few extra milliseconds before augmenting the Highcharts namespace.

Summary

This PR improves the Highcharts integration by:

Adding Dumbbell and Tilemap examples (requested due to reported issues).
Refs: #417 && #415

Some users hit intermittent “module not attached yet” scenarios—especially with heavier or multiple modules (e.g., map, tilemap, highcharts-more, dumbbell, pattern-fill, gantt). The optional timeout provides a safe buffer so the service only publishes the Highcharts instance once all modules have finished augmenting it. The added examples make it easier for the community to reproduce and verify.

  • Introducing an optional timeout in the loading pipeline to accommodate modules that need a few extra milliseconds before augmenting the Highcharts namespace.

  • Expanding test coverage to validate that modules are properly loaded.

  • Updating the README with examples and troubleshooting notes.

Breaking Changes

None. The timeout is optional and disabled by default. Existing integrations continue to work as before.

@medbenmakhlouf
Copy link
Contributor Author

@KacperMadej @karolkolodziej thanks in advance for the review ;)

Copy link
Member

@karolkolodziej karolkolodziej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff! Please just look at my comment

@karolkolodziej
Copy link
Member

@medbenmakhlouf If you solve the conflicts, we're good to go.

@medbenmakhlouf
Copy link
Contributor Author

@karolkolodziej , done!

@karolkolodziej karolkolodziej merged commit 4486b78 into highcharts:master Oct 27, 2025
3 of 4 checks passed
@medbenmakhlouf medbenmakhlouf deleted the split-modules-loading branch December 26, 2025 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants