diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e1866027..85699276e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- iOS: drop the centered navigation title on the four connection tabs (Tables, Query, History, Info). The bottom tab bar already labels the active tab, so the centered title was redundant; removing it frees room for the database picker, schema picker, and edit button on iPhone widths. - iOS: Vietnamese localization completed for the iOS strings catalog (312/312 keys) - Internal: GitHub Actions workflow `ios-tests.yml` runs the iOS unit tests on every PR and main push that touches mobile code or shared packages - Internal: Swift Testing tests for `DataBrowserViewModel`, `ConnectionFormViewModel`, and `RowDetailViewModel` covering load lifecycle, pagination, sort/filter/search, delete, hydration, validation, edit lifecycle, save paths, and lazy cell load. Runs against in-memory `DatabaseDriver` and `SecureStore` mocks. `loadStoredCredentials`, `testConnection`, `save` on `ConnectionFormViewModel` now accept `any SecureStore` so the keychain backend can be substituted under test diff --git a/TableProMobile/TableProMobile/Views/ConnectedView.swift b/TableProMobile/TableProMobile/Views/ConnectedView.swift index 6370a360b..51adad9ea 100644 --- a/TableProMobile/TableProMobile/Views/ConnectedView.swift +++ b/TableProMobile/TableProMobile/Views/ConnectedView.swift @@ -113,7 +113,6 @@ struct ConnectedView: View { .environment(coordinator) } } - .navigationTitle(tabTitle(coordinator)) .navigationBarTitleDisplayMode(.inline) .toolbar { connectionToolbar(coordinator) } .navigationDestination(for: TableInfo.self) { table in @@ -181,14 +180,6 @@ struct ConnectedView: View { } } - private func tabTitle(_ coordinator: ConnectionCoordinator) -> String { - switch coordinator.selectedTab { - case .tables, .query: coordinator.displayName - case .history: String(localized: "History") - case .info: String(localized: "Info") - } - } - // MARK: - Connection Toolbar @ToolbarContentBuilder