[PR #2985] [MERGED] chore(mobile): Capitalize Places cities in app #9801

Closed
opened 2026-02-05 14:11:00 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/2985
Author: @alexleeelkins
Created: 6/27/2023
Status: Merged
Merged: 6/27/2023
Merged by: @alextran1502

Base: mainHead: main


📝 Commits (1)

  • 4ba68ba bring Places curation to parity with web, having the first letter of each word capitalized

📊 Changes

3 files changed (+13 additions, -4 deletions)

View changed files

📝 mobile/lib/modules/search/ui/thumbnail_with_info.dart (+2 -2)
📝 mobile/lib/modules/search/views/curated_object_page.dart (+2 -2)
mobile/lib/utils/capitalize.dart (+9 -0)

📄 Description

Currently, Places cities are capitalized on the web via text-transform: capitalize (by way of the capitalize tailwind class). In the app, Places cities are capitalized only on the first letter. This pull request brings these into parity with both having the first letter of each word in the city being capitalized.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/2985 **Author:** [@alexleeelkins](https://github.com/alexleeelkins) **Created:** 6/27/2023 **Status:** ✅ Merged **Merged:** 6/27/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`4ba68ba`](https://github.com/immich-app/immich/commit/4ba68baa6b028cc917e3a428f31d0b30e2f84e0d) bring Places curation to parity with web, having the first letter of each word capitalized ### 📊 Changes **3 files changed** (+13 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `mobile/lib/modules/search/ui/thumbnail_with_info.dart` (+2 -2) 📝 `mobile/lib/modules/search/views/curated_object_page.dart` (+2 -2) ➕ `mobile/lib/utils/capitalize.dart` (+9 -0) </details> ### 📄 Description Currently, Places cities are capitalized on the web via `text-transform: capitalize` (by way of the `capitalize` tailwind class). In the app, Places cities are capitalized only on the first letter. This pull request brings these into parity with both having the first letter of each word in the city being capitalized. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:11:00 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#9801