Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: download all and single Surah #1355

Merged
merged 17 commits into from
Oct 7, 2024

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    d4032b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    675b010 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    f97f615 View commit details
    Browse the repository at this point in the history
  2. remove the hover color

    YassinNouh21 committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    1606703 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into feat/rebased-download-quran

    # Conflicts:
    #	lib/l10n/intl_en.arb
    #	lib/src/data/data_source/quran/reciter_local_data_source.dart
    #	lib/src/data/repository/quran/recite_impl.dart
    #	lib/src/domain/error/recite_exception.dart
    #	lib/src/pages/quran/page/reciter_selection_screen.dart
    #	lib/src/pages/quran/page/surah_selection_screen.dart
    YassinNouh21 committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    a003299 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. feat: add localization

    YassinNouh21 committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    15e12e9 View commit details
    Browse the repository at this point in the history
  2. refactor: enhance focus node, download only only works

    - **Removed**: The `RiwayatModel` class, which has been deemed unnecessary in the current architecture.
    - **Updated**: Various files across the codebase to replace occurrences of `riwayahId` with `moshafId`, reflecting the new terminology.
    - **Changes in Data Handling**: Adjusted methods in `reciter_local_data_source.dart`, `quran_audio_player_notifier.dart`, and related classes to ensure all functionality correctly references `moshafId` instead of `riwayahId`.
    - **UI Updates**: Updated UI code in `reciter_selection_screen.dart`, `surah_selection_screen.dart`, and `surah_card.dart` to use `moshaf` instead of `riwayah`, ensuring consistency throughout the user interface.
    - **Improved Readability**: Enhanced code clarity by renaming variables and methods where needed, making future maintenance easier.
    
    This refactor aims to streamline the codebase and align with the new vocabulary for Quranic text recitation, improving overall code quality and maintainability.
    YassinNouh21 committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    81d604c View commit details
    Browse the repository at this point in the history
  3. refactor: Download Audio Functionality: Introduce SurahDownloadInfo a…

    …nd Refactor State Management
    
    - **Added**: `SurahDownloadInfo` class to encapsulate download progress for individual Surahs, improving clarity and maintainability.
    - **Refactored**: `DownloadAudioQuranState` to include `reciterId`, `moshafId`, and a list of `downloadingSuwar`, simplifying the state management for downloads.
    - **Updated**: Methods in `DownloadStateNotifier` to utilize the new `SurahDownloadInfo` structure for tracking download progress.
    - **Modified**: The `surah_selection_screen` to integrate the refactored state management, ensuring the UI reflects download progress accurately for each Surah.
    - **Improved**: Download logic in `quran_audio_player_notifier` and related files to utilize the new `DownloadStateProviderParameter`, enhancing the modularity of the download process.
    YassinNouh21 committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    d8ee83a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    32f15ae View commit details
    Browse the repository at this point in the history
  5. fix: reformat

    YassinNouh21 committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    c2842cf View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Configuration menu
    Copy the full SHA
    66f584b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    31eba6a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    67828d6 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    55cace4 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2024

  1. Configuration menu
    Copy the full SHA
    7b8d73c View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    43b171d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb7424c View commit details
    Browse the repository at this point in the history