ASolarers-Rodriguez opened a new pull request, #45382: URL: https://github.com/apache/superset/pull/45382
### SUMMARY The point-cluster-map Storybook fixture (`plugins/plugin-chart-point-cluster-map/src/stories/data.ts`) included a hardcoded Mapbox public (`pk.`) token in the generated story data. Nothing reads this field. `transformProps` doesn't use it, and the chart resolves its Mapbox key from bootstrap `MAPBOX_API_KEY` (`getMapboxApiKey()` → `getMapboxApiKeyFromBootstrap()`). This PR removes the unused field so the repo no longer ships a committed Mapbox token. It was the only `pk.eyJ…` token in the tree. Stories behave the same: - The stories default to the MapLibre renderer, which needs no key. - If you pick `mapbox` in the `mapRenderer` control and no `MAPBOX_API_KEY` is set, the chart shows its existing "Mapbox requires a MAPBOX_API_KEY to be configured on the server." notice. That was already the case, because the fixture value was never wired in. ### TESTING INSTRUCTIONS - `git grep -n "pk\.eyJ"` returns nothing. - `npx [email protected] --check` and `npx [email protected] -c oxlint.json` on the touched file both pass. - Optional: run Storybook and open *Chart Plugins/plugin-chart-point-cluster-map*. The MapLibre stories render as before. Not run locally: `npm run type` and a Storybook build (this machine has no `node_modules` install). CI covers both. ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] Introduces new feature or API - [ ] Removes existing feature or API 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
