Skip to content

Variant/commodity#1040

Merged
koala73 merged 8 commits intokoala73:mainfrom
jyr-ai:variant/commodity
Mar 6, 2026
Merged

Variant/commodity#1040
koala73 merged 8 commits intokoala73:mainfrom
jyr-ai:variant/commodity

Conversation

@jyr-ai
Copy link
Contributor

@jyr-ai jyr-ai commented Mar 5, 2026

@koala73

Here is the commodity.worldmonitor.app I am contributing.

  • I am added 3 map layers ts files for Miners, Processors, and Mining Ports.
  • I have also added mining and oil related news rss feeds into the panels.
image image

Let me know what you think and let me know if you are able to merge or are there minor merge conflicts.

@vercel
Copy link

vercel bot commented Mar 5, 2026

Someone is attempting to deploy a commit to the Elie Team on Vercel.

A member of the Team first needs to authorize it.

@jyr-ai
Copy link
Contributor Author

jyr-ai commented Mar 5, 2026

@koala73 @SebastienMelki

New Commodity Variant commodity.worldmonitor.app, run dev version npm run dev:commodity

koala73 added a commit that referenced this pull request Mar 6, 2026
…1040)

Add new VITE_VARIANT=commodity for commodity.worldmonitor.app:
- 70+ mining sites, processing plants, commodity ports (commodity-geo.ts)
- DeckGL map layers with mineral-colored scatterplots and XSS-safe tooltips
- Commodity-specific panels, feeds, and RSS domains
- Variant config with desktop/mobile map layer defaults
- Commodity market symbols and sector definitions

Based on work by @jyr-ai, cleaned up for merge:
- Removed duplicate FEEDS (central feeds.ts is source of truth)
- Removed invalid geopoliticalBoundaries property
- Fixed broken mobile-map-integration-harness imports
- Removed Substack credit link
- Isolated commodity DeckGL changes from unrelated basemap refactor
- Remove duplicate FEEDS definition (central feeds.ts is source of truth)
- Remove duplicate inline ALLOWED_DOMAINS in rss-proxy.js (use shared module)
- Add 14 commodity RSS domains to shared/rss-allowed-domains.json
- Remove invalid geopoliticalBoundaries property (not in MapLayers type)
- Fix broken mobile-map-integration-harness imports
- Remove Substack credit link from app header
- Rename i18n key commod → commodity
- Extract mineralColor() helper for DRY color mapping
- Add XSS-safe tooltips for mining sites, processing plants, commodity ports
- Add missing interface fields (annualOutput, materials, capacityTpa, annualVolumeMt)
- Comment out unused COMMODITY_MINERS export
- Isolate commodity DeckGL changes from unrelated basemap refactor
@vercel
Copy link

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Ready Ready Preview, Comment Mar 6, 2026 5:23am

Request Review

Only show the commodity option in the variant switcher when the user
is already on the commodity variant (same pattern as happy variant).
Other variants (full, tech, finance) won't see the commodity link.
@koala73 koala73 merged commit 6745f47 into koala73:main Mar 6, 2026
1 check failed
@koala73
Copy link
Owner

koala73 commented Mar 6, 2026

Hi @jyr-ai , it's live at https://commodity.worldmonitor.app - but still under testing before i make it live on www.

Thank you

@jyr-ai
Copy link
Contributor Author

jyr-ai commented Mar 6, 2026

@koala73 Amazing! Let me know what else you need to facilitate this new variant. Excited to see it live!

aldoyh pushed a commit to aldoyh/worldmonitor that referenced this pull request Mar 6, 2026
* commod variants

* mining map layers complete

* metal news feed

* commod variant final

* readme update

* fix: clean up commodity variant for merge readiness

- Remove duplicate FEEDS definition (central feeds.ts is source of truth)
- Remove duplicate inline ALLOWED_DOMAINS in rss-proxy.js (use shared module)
- Add 14 commodity RSS domains to shared/rss-allowed-domains.json
- Remove invalid geopoliticalBoundaries property (not in MapLayers type)
- Fix broken mobile-map-integration-harness imports
- Remove Substack credit link from app header
- Rename i18n key commod → commodity
- Extract mineralColor() helper for DRY color mapping
- Add XSS-safe tooltips for mining sites, processing plants, commodity ports
- Add missing interface fields (annualOutput, materials, capacityTpa, annualVolumeMt)
- Comment out unused COMMODITY_MINERS export
- Isolate commodity DeckGL changes from unrelated basemap refactor

* fix: hide commodity variant from selector until testing complete

Only show the commodity option in the variant switcher when the user
is already on the commodity variant (same pattern as happy variant).
Other variants (full, tech, finance) won't see the commodity link.

---------

Co-authored-by: jroachell <jianyin.roachell@siriusxm.com>
Co-authored-by: Elie Habib <elie.habib@gmail.com>
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