Skip to content

Commit f30f1e8

Browse files
committed
feat: Refactor and rename time calculation features
- This commit introduces a significant refactoring of the time calculation and reading scheduling features to improve clarity, maintainability, and user experience. **Feature Renaming & Restructuring:** - The `hour_time_calculator` feature has been renamed to `programming_reading`. - The `reading_page_time_calculator` feature has been renamed to `reading_page_timer`. - The old pages now serve as introductory entry points that guide the user to the new, dedicated feature pages. This clarifies the user flow, especially during the post-authentication onboarding. **Code & Architectural Changes:** - All relevant modules, including Blocs, events, states, providers, routes, and tests, have been moved and renamed to align with the new feature names. - The main `Providers` and `Routes` lists have been updated to use the new `ProgrammingReading` and `ReadingPageTimer` modules. - Leftover naming from the old "calculator" convention has been removed from internal method names for consistency. - The project version has been bumped to `2.9.0` to reflect these enhancements. This refactoring makes the codebase more intuitive by using names that accurately describe functionality and by structuring user flows more logically.
1 parent edf7871 commit f30f1e8

File tree

42 files changed

+920
-952
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+920
-952
lines changed

.github/workflows/build_bookify_android_apk.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,23 @@ jobs:
102102
new_version="${{ env.VERSION }}-build-${{ github.run_number }}"
103103
echo "VERSION=$new_version" >> $GITHUB_ENV
104104
105-
#14 Create Release
105+
#14 Get last commit message
106+
- name: Get last commit message
107+
if: github.event_name == 'push'
108+
id: get_commit_message
109+
run: |
110+
message=$(git log -1 --pretty=format:%B)
111+
echo "message<<EOF" >> $GITHUB_OUTPUT
112+
echo "$message" >> $GITHUB_OUTPUT
113+
echo "EOF" >> $GITHUB_OUTPUT
114+
115+
#15 Create Release
106116
- name: Create Release
117+
if: github.event_name == 'push'
107118
uses: ncipollo/release-action@v1
108119
with:
109120
artifacts: "build/app/outputs/flutter-apk/app-release.apk"
110-
generateReleaseNotes: true
121+
body: ${{ steps.get_commit_message.outputs.message }}
111122
tag: v${{ env.VERSION }}
112123
token: ${{ secrets.GITHUB_TOKEN }}
113124
allowUpdates: true

0 commit comments

Comments
 (0)