-
Notifications
You must be signed in to change notification settings - Fork 1
Migration/navigation 3 #100
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
Open
bosankus
wants to merge
36
commits into
develop
Choose a base branch
from
migration/navigation-3
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
6fcbce1
Refactor: Remove unused phone call permission handling and clean up n…
bosankus 5844ed8
Refactor: Make weather condition properties nullable and provide defa…
bosankus 57c2d0a
Refactor: Enhance error handling and loading state in error component
bosankus a5c8e2d
Refactor: Update AirQuality and WeatherForecast models for new API st…
bosankus 0271014
Feat: Introduce weather alert display and enhance network models
bosankus 8a4698a
Feat: Introduce authentication and enhance network, UI, and storage m…
bosankus b1164bd
Docs: Update README to correct 5-day forecast description
bosankus 0d8d2fc
Feat: Enhance openAppLocaleSettings method with fallbacks for languag…
bosankus 5a62525
Feat: Add Firebase Cloud Messaging token to registration and enhance …
bosankus 7119d83
Chore: Remove Lottie dependency version from Versions.kt
bosankus 8808241
Feat: Enhance authentication resilience and logging
bosankus 6c33bf0
Refactor: Integrate payment module into app and enhance payment flow
bosankus 0741c71
Refactor: Overhaul Settings UI, add Feedback API, and enhance stability
bosankus 70df26a
Refactor: Simplify air quality card layout and enhance UI components
bosankus bc0c6d9
Refactor: Enhance BriefAirQualityReportCard layout with expandable de…
bosankus b305637
Migration: Replace kapt with KSP for annotation processing
bosankus 7b89690
Fix: Update Firebase dependencies for BOM 34.10.0 KTX API changes
bosankus 502bc64
Enhance Settings screen UI, add localized strings, and implement logg…
bosankus 63a0113
Handle nullable weather and air quality entities in WeatherDao and re…
bosankus 45631bd
Refactor MainViewModel state management and reduce network retry count
bosankus f22b860
feat: integrate Firebase Cloud Messaging and implement in-app WebView
bosankus 51edc6a
Refactor authentication and token management logic
bosankus dd90551
Remove payment success toast from SettingsScreen and update AuthModel…
bosankus be203f3
Refactor permission handling and migrate UI components to a new commo…
bosankus 453b02e
Refactor project to enhance KMP compatibility, modularize payment log…
bosankus ef48d61
Implement localization for Premium and Settings screens and enhance s…
bosankus 88d9733
Update common-ui/src/commonMain/kotlin/bose/ankush/commonui/settings/…
bosankus 42e79e1
fix: apply CodeRabbit auto-fixes
coderabbitai[bot] 4c4d8de
Refactor storage orchestration, enhance iOS security, and improve not…
bosankus def7cc7
Premium details update from new API
bosankus 43ef503
Premium bottom sheet height changed to 0.7f
bosankus 5ad7005
Migrate `sunriseui` components to `common-ui` and refactor for Kotlin…
bosankus 6a01a76
Remove sunriseui module and update common-ui dependencies
bosankus 76ac4c2
Enhance CI pipeline efficiency and refine locale helper logic
bosankus 69b3499
Remove Qodana code quality workflow
bosankus bce6015
Refactor CI workflows and enhance build configuration for code quality.
bosankus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| name: Check Dependency Updates | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: "37 13 * * SAT" | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| contents: read | ||
| issues: write | ||
|
|
||
| jobs: | ||
| dependency-updates: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up JDK | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: '21' | ||
|
|
||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v4 | ||
|
|
||
| - name: Make gradlew executable | ||
| run: chmod +x ./gradlew | ||
|
|
||
| - name: Check Dependency Updates | ||
| run: ./gradlew --no-daemon dependencyUpdates | ||
|
|
||
| - name: Log dependency update report | ||
| run: cat build/dependencyUpdates/dependency_update_report.txt | ||
|
|
||
| - name: Save report | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: dependency-update-reports | ||
| path: build/dependencyUpdates | ||
|
|
||
| - name: Create issue if outdated dependencies found | ||
| if: success() | ||
| uses: actions/github-script@v7 | ||
| with: | ||
| script: | | ||
| const fs = require('fs'); | ||
| const reportPath = 'build/dependencyUpdates/dependency_update_report.txt'; | ||
| if (!fs.existsSync(reportPath)) return; | ||
|
|
||
| const report = fs.readFileSync(reportPath, 'utf8'); | ||
| const hasUpdates = report.includes('The following dependencies have later milestone versions'); | ||
| if (!hasUpdates) { | ||
| console.log('No outdated dependencies found.'); | ||
| return; | ||
| } | ||
|
|
||
| const title = `Dependency updates available (${new Date().toISOString().split('T')[0]})`; | ||
| const { data: issues } = await github.rest.issues.listForRepo({ | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| state: 'open', | ||
| labels: 'dependencies', | ||
| }); | ||
|
|
||
| const alreadyOpen = issues.some(i => i.title === title); | ||
| if (alreadyOpen) { | ||
| console.log('Issue already exists for today.'); | ||
| return; | ||
| } | ||
|
|
||
| await github.rest.issues.create({ | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| title, | ||
| body: `## Outdated Dependencies Detected\n\nThe weekly dependency check found updates available.\n\n<details><summary>Full Report</summary>\n\n\`\`\`\n${report}\n\`\`\`\n\n</details>\n\n[View artifact](https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId})`, | ||
| labels: ['dependencies'], | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [ "**" ] | ||
| push: | ||
| branches: [ "main" ] | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up JDK | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: '21' | ||
|
|
||
| - name: Set up Android SDK | ||
| uses: android-actions/setup-android@v3 | ||
| with: | ||
| packages: 'platforms;android-36 build-tools;36.0.0 platform-tools' | ||
|
|
||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v4 | ||
|
|
||
| - name: Decode google-services.json | ||
| run: echo "${{ secrets.GOOGLE_SERVICES_JSON }}" | base64 --decode > app/google-services.json | ||
|
|
||
| - name: Build | ||
| run: ./gradlew --no-daemon --parallel --configuration-cache build | ||
|
|
||
| - name: Upload debug APK | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: debug-apk | ||
| path: app/build/outputs/apk/debug/*.apk | ||
| if-no-files-found: ignore | ||
|
|
||
| - name: Publish test results | ||
| uses: EnricoMi/publish-unit-test-result-action@v2 | ||
| if: always() && hashFiles('**/build/test-results/**/*.xml') != '' | ||
| with: | ||
| files: '**/build/test-results/**/*.xml' | ||
|
|
||
| lint: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| ref: ${{ github.head_ref || github.ref_name }} | ||
|
|
||
| - name: Set up JDK | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: '21' | ||
|
|
||
| - name: Set up Android SDK | ||
| uses: android-actions/setup-android@v3 | ||
| with: | ||
| packages: 'platforms;android-36 build-tools;36.0.0 platform-tools' | ||
|
|
||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v4 | ||
|
|
||
| - name: Decode google-services.json | ||
| run: echo "${{ secrets.GOOGLE_SERVICES_JSON }}" | base64 --decode > app/google-services.json | ||
|
|
||
| - name: Apply code formatting | ||
| run: ./gradlew --no-daemon --parallel codeFormat | ||
|
|
||
| - name: Commit formatting fixes | ||
| uses: stefanzweifel/git-auto-commit-action@v5 | ||
| with: | ||
| commit_message: "style: apply automatic code formatting" | ||
| file_pattern: "**/*.kt **/*.kts" | ||
|
|
||
| - name: Code check (spotless + detekt) | ||
| run: ./gradlew --no-daemon --parallel codeCheck | ||
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.