Skip to content

Feature: Display hometown and birthplace on employee detail page#78

Draft
google-labs-jules[bot] wants to merge 177 commits intomainfrom
feature/show-hometown-birthplace
Draft

Feature: Display hometown and birthplace on employee detail page#78
google-labs-jules[bot] wants to merge 177 commits intomainfrom
feature/show-hometown-birthplace

Conversation

@google-labs-jules
Copy link
Contributor

This change adds the hometown and birthplace of an employee to their detail page. The information is displayed in the format 'System / Planet or Moon / Landing Zone'.

Lucas-Gruber and others added 29 commits June 4, 2025 14:30
This commit enhances the employee detail page by adding the display of the employee's hometown and birthplace.

- The `readUser` call in the employee detail page has been updated to deep-fetch the necessary location data, including system, planet/moon, and landing zone information.
- A helper function, `formatLocation`, has been introduced to format the location data into the desired 'System / Planet or Moon / Landing Zone' format.
- The data tables (`mainTables` and `sideTables`) have been converted to computed properties to ensure reactivity. This also fixes a latent bug where the tables would not update if the employee data changed.
- The 'Persönliche Informationen' table now displays the formatted hometown and birthplace.
- A minor bug was fixed where the label for 'Alter' (age) was incorrectly displayed as 'Geschlecht' (gender).
@cloudflare-workers-and-pages
Copy link

Deploying website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9eef36c
Status:🚫  Build failed.

View logs

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.

1 participant