-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #435 from skedgo/develop
[20366] For merging auto-stale workflow to default branch
- Loading branch information
Showing
87 changed files
with
2,650 additions
and
260 deletions.
There are no files selected for viewing
This file contains 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,50 @@ | ||
|
||
# Pull Request (PR) Checklist | ||
|
||
Thank you for your contribution! Please confirm that you've checked all the boxes below before submitting your PR. Use `[x]` to check a box, e.g., `[x]`, and make sure there's no space around the brackets. | ||
|
||
## PR Context | ||
|
||
- **Type**: (Bug Fix / Feature / Refactor / Regression Fix) _Choose one and delete the rest._ | ||
- **Issue Link**: [Redmine Issue](https://redmine.buzzhives.com/issues/[XXXXX]) | ||
- **Risk Factor**: (Low / Medium / High) - _Provide a brief explanation of the risk._ | ||
|
||
## Changes | ||
|
||
_Describe your changes in detail, highlighting the problem it solves or the feature it adds._ | ||
|
||
- | ||
- | ||
- | ||
|
||
## Checklist for Reviewers | ||
|
||
### Documentation and Code Quality | ||
- [ ] **KDocs Documentation**: Are all changes, new functionalities, and classes documented with KDocs? | ||
- [ ] **Architectural Patterns**: Is there consistent and proper use of architectural patterns (e.g., MVVM, MVP)? | ||
|
||
### Testing and Reliability | ||
- [ ] **Unit Testing**: Are there unit tests for all new functionalities and classes? | ||
- [ ] **Emulator and Real Device Testing**: Has the application been tested on both emulators and real devices to ensure compatibility? | ||
|
||
### Error Handling and Logging | ||
- [ ] **Error Handling**: Are errors and exceptions caught and handled gracefully, ensuring the app remains stable? | ||
- [ ] **Logging**: Is there proper logging in place for critical errors and information, aiding in debugging and monitoring? | ||
|
||
|
||
## Testing Procedure | ||
|
||
_If applicable, provide steps or commands for testing your changes. This can help reviewers and testers._ | ||
|
||
- | ||
- | ||
- | ||
|
||
## Work-in-Progress (WIP) | ||
|
||
_List any remaining work or areas that need additional focus. This section can be updated as the work progresses._ | ||
|
||
- [ ] | ||
- [ ] | ||
|
||
_Remember to keep this template updated based on the feedback and evolving project standards._ |
This file contains 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,37 @@ | ||
name: Android CI | ||
|
||
on: | ||
push: | ||
branches: [ disable-temporarily ] | ||
pull_request: | ||
branches: [ disable-temporarily ] | ||
|
||
jobs: | ||
build: | ||
name: Build and Test | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
|
||
- name: Grant execute permission for Gradle wrapper | ||
run: chmod +x gradlew | ||
|
||
- name: Cache Gradle dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
~/.android/build-cache | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Run tests | ||
run: ./gradlew test |
This file contains 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,14 @@ | ||
name: 'Close stale issues and PRs' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
stale-issue-message: 'This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 2 days.' | ||
days-before-stale: 5 | ||
days-before-close: 2 |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
3 changes: 3 additions & 0 deletions
3
CommonCoreLegacy/src/main/java/com/skedgo/tripkit/common/model/LocationConstants.kt
This file contains 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,3 @@ | ||
package com.skedgo.tripkit.common.model | ||
|
||
const val LOCATION_CLASS_SCHOOL = "SchoolLocation" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
15 changes: 15 additions & 0 deletions
15
CommonCoreLegacy/src/main/java/com/skedgo/tripkit/routing/RemoteIcon.kt
This file contains 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,15 @@ | ||
package com.skedgo.tripkit.routing | ||
|
||
import androidx.annotation.StringDef | ||
|
||
@Retention(AnnotationRetention.RUNTIME) | ||
@StringDef( | ||
RemoteIcon.NEURON, | ||
RemoteIcon.LIME, | ||
) | ||
annotation class RemoteIcon { | ||
companion object { | ||
const val NEURON = "neuron" | ||
const val LIME = "lime" | ||
} | ||
} |
Oops, something went wrong.