-
Notifications
You must be signed in to change notification settings - Fork 22
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 #584 from nimblehq/release/3.29.0
Release - 3.29.0
- Loading branch information
Showing
17 changed files
with
198 additions
and
8 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
.cicdtemplate/.github/workflows/config/changelog-release.json
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,35 @@ | ||
{ | ||
"categories": [ | ||
{ | ||
"title": "## ✨ Features", | ||
"labels": [ | ||
"type : feature" | ||
], | ||
"empty_content": "N/A" | ||
}, | ||
{ | ||
"title": "## 🐛 Bug fixes", | ||
"labels": [ | ||
"type : bug" | ||
], | ||
"empty_content": "N/A" | ||
}, | ||
{ | ||
"title": "## 🧹 Chores", | ||
"labels": [ | ||
"type : chore" | ||
], | ||
"empty_content": "N/A" | ||
}, | ||
{ | ||
"title": "## Others", | ||
"exclude_labels": [ | ||
"type : feature", | ||
"type : bug", | ||
"type : chore", | ||
"type : release" | ||
] | ||
} | ||
], | ||
"max_pull_requests": 200 | ||
} |
25 changes: 25 additions & 0 deletions
25
.cicdtemplate/.github/workflows/create_release_pull_request.yml
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,25 @@ | ||
name: Create the Release pull request | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
create_release_pull_request: | ||
name: Create the Release pull request | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: Check out the latest code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Read the current version | ||
id: version | ||
run: echo "version=$(perl -nle 'print $1 if /ANDROID_VERSION_NAME = \"(.*)\"$/' buildSrc/src/main/java/Versions.kt)" >> $GITHUB_OUTPUT | ||
|
||
- uses: nimblehq/github-actions-workflows/[email protected] | ||
with: | ||
release_version: ${{ steps.version.outputs.version }} | ||
changelog_configuration: ".github/workflows/config/changelog-release.json" | ||
assignee: bot-nimble |
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Team | ||
# @ryan-conway is the Team Lead and the others are team members | ||
* @AVI5HEK @chornerman @doannimble @hoangnguyen92dn @kaungkhantsoe @luongvo @lydiasama @manh-t @minhnimble @ryan-conway @sleepylee @thiennguyen0196 @toby-thanathip @Wadeewee | ||
* @AVI5HEK @chornerman @doannimble @hoangnguyen92dn @Johnsonmaung @kaungkhantsoe @luongvo @manh-t @minhnimble @ryan-conway @sleepylee @thiennguyen0196 @toby-thanathip | ||
|
||
# Engineering Leads | ||
CODEOWNERS @nimblehq/engineering-leads |
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,35 @@ | ||
{ | ||
"categories": [ | ||
{ | ||
"title": "## ✨ Features", | ||
"labels": [ | ||
"type : feature" | ||
], | ||
"empty_content": "N/A" | ||
}, | ||
{ | ||
"title": "## 🐛 Bug fixes", | ||
"labels": [ | ||
"type : bug" | ||
], | ||
"empty_content": "N/A" | ||
}, | ||
{ | ||
"title": "## 🧹 Chores", | ||
"labels": [ | ||
"type : chore" | ||
], | ||
"empty_content": "N/A" | ||
}, | ||
{ | ||
"title": "## Others", | ||
"exclude_labels": [ | ||
"type : feature", | ||
"type : bug", | ||
"type : chore", | ||
"type : release" | ||
] | ||
} | ||
], | ||
"max_pull_requests": 200 | ||
} |
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,28 @@ | ||
name: Create the Release pull request | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
create_release_pull_request: | ||
name: Create the Release pull request | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: Check out the latest code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Read the current version | ||
id: version | ||
uses: christian-draeger/[email protected] | ||
with: | ||
path: "version.properties" | ||
properties: "templateScriptVersion" | ||
|
||
- uses: nimblehq/github-actions-workflows/[email protected] | ||
with: | ||
release_version: ${{ steps.version.outputs.templateScriptVersion }} | ||
changelog_configuration: ".github/workflows/config/changelog-release.json" | ||
assignee: bot-nimble |
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
21 changes: 21 additions & 0 deletions
21
sample-compose/app/src/main/java/co/nimblehq/sample/compose/ui/base/BaseScreen.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,21 @@ | ||
package co.nimblehq.sample.compose.ui.base | ||
|
||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.res.colorResource | ||
import co.nimblehq.sample.compose.R | ||
import co.nimblehq.sample.compose.util.setStatusBarColor | ||
|
||
@Composable | ||
fun BaseScreen( | ||
isDarkStatusBarIcons: Boolean? = null, | ||
content: @Composable () -> Unit, | ||
) { | ||
if (isDarkStatusBarIcons != null) { | ||
setStatusBarColor( | ||
color = colorResource(id = R.color.statusBarColor), | ||
darkIcons = isDarkStatusBarIcons, | ||
) | ||
} | ||
|
||
content() | ||
} |
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
22 changes: 22 additions & 0 deletions
22
sample-compose/app/src/main/java/co/nimblehq/sample/compose/util/ComposableUtil.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,22 @@ | ||
package co.nimblehq.sample.compose.util | ||
|
||
import android.annotation.SuppressLint | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.runtime.LaunchedEffect | ||
import androidx.compose.ui.graphics.Color | ||
import com.google.accompanist.systemuicontroller.rememberSystemUiController | ||
|
||
@SuppressLint("ComposableNaming") | ||
@Composable | ||
fun setStatusBarColor( | ||
color: Color, | ||
darkIcons: Boolean, | ||
) { | ||
val systemUiController = rememberSystemUiController() | ||
LaunchedEffect(key1 = darkIcons) { | ||
systemUiController.setStatusBarColor( | ||
color = color, | ||
darkIcons = darkIcons, | ||
) | ||
} | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="greenChristi">#FF669900</color> | ||
<color name="statusBarColor">#FF669900</color> | ||
</resources> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | ||
<item name="android:statusBarColor">@color/greenChristi</item> | ||
<item name="android:statusBarColor">@color/statusBarColor</item> | ||
</style> | ||
</resources> |
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
13 changes: 13 additions & 0 deletions
13
template-compose/app/src/main/java/co/nimblehq/template/compose/ui/base/BaseScreen.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,13 @@ | ||
package co.nimblehq.template.compose.ui.base | ||
|
||
import androidx.compose.runtime.Composable | ||
|
||
@Composable | ||
fun BaseScreen( | ||
// TODO Base parameters to request on all screens here | ||
content: @Composable () -> Unit, | ||
) { | ||
// TODO Base logic for all screens here | ||
|
||
content() | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
kotlinVersion=1.6.21 | ||
kscriptVersion=4.0.3 | ||
templateScriptVersion=3.27.0 | ||
templateScriptVersion=3.29.0 |