Skip to content

Conversation

@sophia-massie
Copy link
Contributor

@sophia-massie sophia-massie commented Oct 30, 2025

Overview:

New event types were added to DesignSafe prod elastic search. This now applies colors for these type (though Wind is missing from ES) in the recon portal.

PR Status:

  • Ready.
  • Work in Progress.
  • Hold.

Related Jira tickets:

Summary of Changes:

Testing Steps:

To test locally:

  1. In designsafe.env, change ES_INDEX_PREFIX=designsafe-dev-{} to ES_INDEX_PREFIX=designsafe-production-{}
  2. In designsafe/settings/elasticsearch_settings.py add this to line 13:
    'production': { 'hosts': [ 'https://wma-es-client.tacc.utexas.edu:9200', ] },
  3. Run these steps here in step 9 to index your local environment with DS prod ES. You will need to use this command with the remote flag
    ./manage.py es_setup --remote=production
  4. Use this stache entry instead of the one listed in the doc.
  5. Check in network tap that the event-types endpoint returns this list

[ { "display_name": "Earthquake", "name": "earthquake" }, { "display_name": "Tsunami", "name": "tsunami" }, { "display_name": "Flood", "name": "flood" }, { "display_name": "Tornado", "name": "tornado" }, { "display_name": "Landslide", "name": "landslide" }, { "name": "pandemic", "display_name": "Pandemic" }, { "name": "extreme_temperature", "display_name": "Extreme Temperature" }, { "name": "storm_surge", "display_name": "Storm Surge" }, { "display_name": "Hurricane/Tropical storm", "name": "hurricane" }, { "name": "fire", "display_name": "Wildfire" }, { "name": "drought", "display_name": "Drought" }, { "name": "multi", "display_name": "Multi-Hazard" }, { "name": "thunderstorm", "display_name": "Thunderstorm" } ]

  1. Make sure listing and selected event display tag correctly

UI Photos:

Screenshot 2025-10-30 at 1 28 25 PM

Notes:

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