Add 3D globe visualization showing language locales with backend locale support#156
Conversation
…le_support_1752550160
|
Test this PR by running the following command: Run this branch locally: |
…le_support_1752550160
Pull Request ReviewGeneral OpinionThis pull request successfully implements the requested globe visualization feature for the greetings project. The implementation adds locale information to the backend API and creates an impressive 3D globe visualization using Three.js that displays country locations for different languages. The changes are well-structured and accomplish the stated objectives. Positive Aspects
Required Changes
Optional Improvements
SummaryThe pull request successfully implements the requested feature and creates an engaging user experience. However, it requires one critical fix (the API endpoint change) and should include additional test coverage for the new functionality. The implementation is creative and technically sound, using a simple but effective approach with Three.js as requested. Recommendation: Requires changes before merge - specifically fixing the API endpoint issue and adding basic test coverage for the new globe feature. |
Signed-off-by: kpenfound <kyle@dagger.io>
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 #155