Skip to content

Conversation

medbenmakhlouf
Copy link

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
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


// Create the chart as soon as we can
private readonly chart = computed(() => {
private readonly chart = computed(async () => {
Copy link
Member

Choose a reason for hiding this comment

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

IMO, this change (some methods/properties being async) should be listed as a breaking change and described in the readme.

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