Skip to content

v2.3.0#164

Draft
Dimowner wants to merge 12 commits into
masterfrom
feature/v2_3_0
Draft

v2.3.0#164
Dimowner wants to merge 12 commits into
masterfrom
feature/v2_3_0

Conversation

@Dimowner

Copy link
Copy Markdown
Owner

This pull request introduces several improvements and new features, focusing on enhanced RTL (right-to-left) language support, expanded record naming options, and improved test coverage for preferences and file operations. The most significant changes are grouped below by theme.

RTL (Right-to-Left) Language Support:

  • Added android:supportsRtl="true" and android:localeConfig to AndroidManifest.xml to declare RTL support and locale configuration.
  • Updated UI logic in MainActivity.java and RecordsActivity.java to mirror playback controls and animations for RTL layouts, ensuring intuitive navigation and consistent visual behavior. [1] [2] [3] [4] [5] [6] [7]
  • Modified ChipsView.java to mirror chip arrangement and animation for RTL, keeping chips visually anchored and readable in both LTR and RTL layouts. [1] [2] [3]

Record Naming Enhancements:

  • Added support for new record name formats: DateLong (localized month names) and fully customizable formats via a user-defined token list. [1] [2] [3]
  • Ensured that custom record name formats are sanitized and fall back to a default if empty.

Preferences and Test Coverage:

  • Added comprehensive tests in PrefsV2ImplTest.kt for the new customNameFormat preference, including round-trip, persistence, reset, and edge cases.
  • Added tests for the new isLocalStorageInfoShown preference, covering default, persistence, and reset behaviors.
  • Updated imports and test setup to support new model classes and preferences. [1] [2] [3]

UI Consistency and Bug Fixes:

  • Fixed duration display in MainActivity.java and RecordsActivity.java to always show a formatted zero time at start/reset, improving clarity for users. [1] [2] [3] [4]
  • Improved error handling in file copy tests to assert that exceptions are thrown for invalid destinations, increasing test reliability.

These changes collectively improve localization, user customization, and robustness of the app.

Dimowner and others added 12 commits July 11, 2026 13:07
…tored locally. Related preferences management.
)

* Add name format constructor for customizable record naming

* Add upper bound for rendered name length and tests for custom name format

* Added a new MonthName token type that renders the full month name (e.g. "March", "May", "June")

* Add drag-and-drop functionality for reordering tokens in name format constructor

* Add unit tests for drag-and-drop token reordering in NameFormatConstructorViewModel

* Add DateLong format to NameFormat with localized month rendering. Update edit icons

* Added translations for new string resources.

* Minor fixes
…o handle background restrictions and improve permission checks
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