Skip to content

Conversation

@jkafader-esnet
Copy link
Collaborator

No description provided.

@sanchezelton sanchezelton self-requested a review November 9, 2024 00:04
Copy link
Contributor

@sanchezelton sanchezelton left a comment

Choose a reason for hiding this comment

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

Some import fixes in module.ts, withThemeWrapper, and MapPanel are needed. Most other fixes that could use attention are inline documentation/comments.

// this appears to be a "load-bearing" reassignment... removing it causes tests to fail?
var topo = newTopology;
/*expect(function(){
/*expect(function(){
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this commented code be removed?

- added compileOnSave flag to tsconfig
- corrected imports for GrafanaTheme2 and locationService from @grafana packages @grafana/data and @grafana/runtime/services/LocationService
- exported MapPanelProps from MapPanel
- exported MapPanel
- removed wrapping calls of withTheme HOC out of MapPanel
- added testables code into dist
- restored import of locationServices from @grafana/runtme
- restored import of StringFieldConfigSettings out of @grafana/data instead of deeper introspective import source
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