Add 3D globe visualization showing language origin locales with backend locale support#153
Conversation
…nd_locale_support_1752548847
|
Test this PR by running the following command: Run this branch locally: |
Pull Request ReviewGeneral OpinionThis pull request successfully implements the requested feature to make the greetings frontend more engaging by adding a 3D globe visualization that shows where each language is primarily spoken. The implementation is well-structured and addresses both the backend localization requirements and the frontend visualization needs. What Works Well
Required Changes
Optional Improvements
Technical Implementation AssessmentThe implementation meets the requirements:
SummaryThis pull request needs minor changes before it can be merged. The primary issue is the API endpoint mismatch between frontend and backend that would cause the feature to fail in production. Once the endpoint routing is fixed and error handling is improved, this will be a solid implementation that successfully delivers the requested functionality. The code is well-structured, follows good practices, and provides an engaging user experience as requested. The use of Three.js for the globe visualization is appropriate and maintainable. |
We want the frontend of the greetings project to be way more fun. To do this, when a greeting is shown in any language, we want to show a globe indicating where that language is primarily spoken.
Localization
The backend needs to provide the proper locale for each language. The
greetings.jsonshould include a locale field, and the APIs that return greetings should include that locale in the API responsesDisplay
Using a cool 3d globe, show me where the locale of the language corresponds to in the world. Make sure to use a simple solution so that its easy to maintain and ensure its accuracy.
Completed by Agent
Fixes #148