Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize home Locations and home Locations map to multiple data sources #265

Open
davidye007 opened this issue Feb 4, 2025 · 0 comments

Comments

@davidye007
Copy link
Collaborator

davidye007 commented Feb 4, 2025

In PR #250, @jblehr made a great observation and suggestion. Much of the code duplication in

  • trails-viz-app/src/components/HomeLocations.vue and trails-viz-app/src/components/ChatbotHomeLocations.vue
  • trails-viz-app/src/components/HomeLocationsMap.vue and trails-viz-app/src/components/ChatbotHomeLocationsMap.vue
  • trails-viz-api/trailsvizapi/repository/home_locations.py

can be eliminated by using a general workflow that is parameterized by the type of data we want. This approach also makes it much easier to generate visualizations from other new data sources.

See conversation history:
#250 (comment)

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

No branches or pull requests

1 participant