Skip to content

Tags: peterdsp/moti-app

Tags

1.0.3

Toggle 1.0.3's commit message
Improve localization handling and fix placeholder text update issue

	•	Localization Enhancements:
	•	Resolved the issue where the placeholder text in the TextField (“Search Location”) did not update when the app’s language changed at runtime.
	•	Introduced a selectedLocale property in ContentViewState to manage locale changes manually.
	•	Injected selectedLocale into the environment using .environment(\.locale, state.selectedLocale) to ensure views react to locale changes.
	•	Added a language selection view (languageSelectionView) with options for English, Greek, and Albanian, allowing users to switch languages without restarting the app.
	•	Updated the .id() modifier in locationTextField to use state.selectedLocale.identifier to force re-initialization when the locale changes.
	•	Date Formatting Improvements:
	•	Added a formattedDate(format:) method to the DayForecast model to format dates according to the user’s locale.
	•	Updated the forecast view to display dates in the dd/MM format or according to the current locale settings.
	•	Resolved Deprecation Warnings:
	•	Updated the onChange modifiers to use the new closure signatures required in macOS 14.0 and iOS 17.
	•	Changed single-parameter closures to accept two parameters (newValue and transaction) or zero parameters, as appropriate.
	•	Localization Files Updated:
	•	Ensured Localizable.strings files are properly set up with the correct keys and translations for English (en), Greek (el), and Albanian (sq).
	•	Removed unused or redundant localization entries.
	•	Updated localization keys in the code to match those in the Localizable.strings files.
	•	Code Cleanup and Refactoring:
	•	Removed redundant imports and comments for cleaner code.
	•	Fixed typos and formatting inconsistencies in several files.
	•	Updated WeatherManager to use a preferredLocale when reverse geocoding locations to ensure consistency.
	•	Adjusted font sizes and layout in ForecastView for better UI alignment.
	•	Improved the handling of optional values and error cases to enhance app stability.
	•	Version Bump:
	•	Updated the app version to 1.0.3 to reflect these changes.

1.0.2

Toggle 1.0.2's commit message
Bump app marketing version from 1.0.1 to 1.0.2

	•	Updated the MARKETING_VERSION in the Xcode project configuration from 1.0.1 to 1.0.2 to reflect the new release.
	•	This change ensures the correct versioning for the app’s next release in both relevant sections of the Xcode project file.
	•	No other configuration changes were made, maintaining compatibility with macOS deployment target 14.0 and existing bundle identifier settings.

1.0.1

Toggle 1.0.1's commit message
Update Moti App to Version 1.0.1: Added Remote Update Check and Enhan…

…ced UI

- Version Update: Incremented app version from 1.0 to 1.0.1.
- Remote Config: Integrated Firebase Remote Config to check for app updates at startup and when the user taps the "Check for Update" button in the "About" section.
- UI Enhancements:
  - Updated the "About" section with an option to check for updates.
  - If a newer version is available, users are now prompted with a "Download" button that redirects them to the download page.
  - The update check process is displayed modally above all other windows.
- Weather Info Display: Improved the layout and functionality of the weather information and location search interface.
  - Dynamically adjusts the view height based on the content displayed.
  - Displays location suggestions as the user types, allowing easy selection.
- Code Cleanup: Refactored multiple functions for better readability and maintainability.
  - Centralized location authorization and weather fetching logic.
  - Improved error handling for network requests and location services.

This update improves the overall user experience by ensuring users are informed of new versions and provides a more responsive and intuitive interface for accessing weather information.

1.0

Toggle 1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update README.md