Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
bd331d8
6 add or remove items in any column (#19)
ZanderCowboy Jan 23, 2024
03b226c
merge branch 'main' into develop
ZanderCowboy Jan 23, 2024
1cd3a04
small code changes
ZanderCowboy Jan 23, 2024
89f66ad
22 add and remove entries in tabs (#23)
ZanderCowboy Jan 23, 2024
cb9c1ff
added Draggable
ZanderCowboy Jan 24, 2024
e805314
added updateTabs method to tabs_repository
ZanderCowboy Jan 24, 2024
e7cee35
added onReorderTabs event to HomeBloc
ZanderCowboy Jan 24, 2024
4b285c5
added updateTabs to tabs_list database
ZanderCowboy Jan 24, 2024
3b5afda
added ReorderableListView to HomePage for tabs
ZanderCowboy Jan 24, 2024
6a9d084
Bump pubspec version to '0.0.2+68'
ZanderCowboy Feb 10, 2024
a672f07
Update README.md (#79)
ZanderCowboy Feb 16, 2024
b35fea1
Bump pubspec version to '0.0.2+71'
ZanderCowboy Feb 16, 2024
b974289
Add and Implement DB (#75)
ZanderCowboy Feb 16, 2024
a23c495
Bump pubspec version to '0.0.2+73'
ZanderCowboy Feb 16, 2024
3b7c1dc
20 restructure files and folders (#83)
ZanderCowboy Feb 17, 2024
346d8ec
Bump pubspec version to '0.0.2+75'
ZanderCowboy Feb 17, 2024
16301ca
Bumped Flutter Version (#84)
ZanderCowboy Feb 19, 2024
0c4c307
Bump pubspec version to '0.0.2+77'
ZanderCowboy Feb 19, 2024
e236c0c
updated flutter version in Dockerfile to 3.19.0 (#90)
ZanderCowboy Feb 19, 2024
5d4ad1e
add tmp to gitignore
ZanderCowboy Feb 19, 2024
bb0bd9a
Merge branch 'develop' of github.com:ZanderCowboy/multichoice into de…
ZanderCowboy Feb 19, 2024
33f4dcb
Bump pubspec version to '0.0.2+79'
ZanderCowboy Feb 19, 2024
e417e5e
26 implement dto and automappr (#89)
ZanderCowboy Feb 19, 2024
9d5da60
Bump pubspec version to '0.0.2+82'
ZanderCowboy Feb 19, 2024
ac6e26b
88 remove generated code (#91)
ZanderCowboy Feb 19, 2024
0ffc37d
Bump pubspec version to '0.0.2+85'
ZanderCowboy Feb 19, 2024
cff18d7
Merge branch 'develop' into 7-implement-draggable
ZanderCowboy Feb 19, 2024
01b7c71
wip add updateTabs to repository
ZanderCowboy Feb 19, 2024
107ed9f
fix linting issues
ZanderCowboy Feb 19, 2024
1a57885
Bump pubspec version to '0.1.0+104'
ZanderCowboy Mar 11, 2024
719865b
Bump pubspec version to '0.1.1'
ZanderCowboy Mar 11, 2024
a673edd
attempt to fix error in workflows
ZanderCowboy Mar 15, 2024
96a0852
Merge branch 'main' into develop
ZanderCowboy Mar 15, 2024
387ebb0
Bump pubspec version to '0.1.2'
ZanderCowboy Mar 15, 2024
765e88f
Bump pubspec version to '0.1.3'
ZanderCowboy Mar 15, 2024
9cba56b
fix ndk issue in build.gradle file
ZanderCowboy Mar 15, 2024
182fc76
merge main into branch 'develop'
ZanderCowboy Mar 15, 2024
2ee5939
Bump pubspec version to '0.1.4+109'
ZanderCowboy Mar 18, 2024
904e146
merge branch 'develop' of github.com:ZanderCowboy/multichoice into de…
ZanderCowboy Mar 19, 2024
a6a3ab7
Bump pubspec version to '0.1.4+110'
ZanderCowboy Mar 19, 2024
9563faf
Bump stikkyapp/update-pubspec-version from 1 to 2 (#112)
dependabot[bot] Mar 30, 2024
ca4e5fe
Bump gittools/actions from 0.13.4 to 1.1.1 (#111)
dependabot[bot] Mar 30, 2024
3b2d87a
Bump pubspec version to '0.1.4+113'
ZanderCowboy Mar 30, 2024
f14c835
8 investigate theming of app as well as colours 1 (#109)
ZanderCowboy Mar 30, 2024
e034493
Bump pubspec version to '0.1.4+115'
ZanderCowboy Mar 30, 2024
4993ead
94 add firebase app distribution to the app (#95)
ZanderCowboy Mar 31, 2024
bf217e0
Bump pubspec version to '0.1.4+119'
ZanderCowboy Mar 31, 2024
7a3bfec
Merge branch 'develop' into 7-implement-draggable
ZanderCowboy Apr 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 59 additions & 16 deletions .github/workflows/_build-android-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,30 @@ name: Android Build workflow
on:
workflow_call:
inputs:
pubspec-filename:
pubspec_filename:
required: true
type: string
environment-flag:
environment_flag:
required: true
type: string
versionNumber:
required: true
type: string
build-flag:
build_flag:
required: true
type: boolean
build-artifact:
build_artifact:
required: true
type: string
build_appbundle:
required: true
type: boolean

jobs:
buildAndroid:
name: Build Android
if: ${{ inputs.build-flag == true }}
testAnalyzeBuildAndroid:
name: Android - Test, Analyze, Build
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -32,34 +35,74 @@ jobs:
- name: Set up Flutter and Java
uses: ./.github/actions/setup-java-flutter

- name: melos test all
run: melos test:all

- run: echo "Starting analyze"

- name: ⚠️ℹ️ Run Dart analysis
uses: zgosalvez/github-actions-analyze-dart@v3
with:
working-directory: "${{github.workspace}}/"

- run: echo "Starting build process"

- name: Get pubspec.yaml
if: ${{ inputs.build_flag == true }} && success()
uses: actions/download-artifact@v4
with:
name: ${{ inputs.pubspec-filename }}
name: ${{ inputs.pubspec_filename }}
path: ${{ github.workspace }}/apps/multichoice/

- name: Download Android keystore
id: android_keystore
if: success()
uses: timheuer/base64-to-file@v1.2.4
with:
fileName: upload-keystore.jks
encodedString: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}

- name: Create key.properties
if: ${{ inputs.environment-flag }} == 'release'
if: ${{ inputs.environment_flag }} == 'release'
run: |
echo "storeFile=${{ steps.android_keystore.outputs.filePath }}" > key.properties
echo "storePassword=${{ secrets.STORE_PASSWORD }}" >> key.properties
echo "keyPassword=${{ secrets.KEY_PASSWORD }}" >> key.properties
echo "keyAlias=${{ secrets.KEY_ALIAS }}" >> key.properties
working-directory: apps/multichoice/android
working-directory: apps/multichoice/android/

- name: Create secrets.dart
run: |
mkdir auth
echo "String webApiKey = '${{ secrets.WEB_API_KEY }}';" > auth/secrets.dart
echo "String webAppId = '${{ secrets.WEB_APP_ID }}';" >> auth/secrets.dart
echo "String androidApiKey = '${{ secrets.ANDROID_API_KEY }}';" >> auth/secrets.dart
echo "String androidAppId = '${{ secrets.ANDROID_APP_ID }}';" >> auth/secrets.dart
echo "String iosApiKey = '${{ secrets.IOS_API_KEY }}';" >> auth/secrets.dart
echo "String iosAppId = '${{ secrets.IOS_APP_ID }}';" >> auth/secrets.dart
working-directory: apps/multichoice/lib/

- name: Start ${{ inputs.environment-flag }} build
run: flutter build appbundle --${{ inputs.environment-flag }}
working-directory: ./apps/multichoice
- name: Start appbundle ${{ inputs.environment_flag }} build
if: ${{ inputs.build_appbundle == true }} && success()
run: flutter build appbundle --${{ inputs.environment_flag }}
working-directory: apps/multichoice/

- name: Upload Android ${{ inputs.environment-flag }}
- name: Start apk ${{ inputs.environment_flag }} build
if: success()
run: flutter build apk --${{ inputs.environment_flag }}
working-directory: apps/multichoice/

- name: Upload Android ${{ inputs.environment_flag }} appbundle
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.build-artifact }}
path: ./apps/multichoice/build/app/outputs/bundle/release/app-release.aab
name: ${{ inputs.build_artifact }}
path: ./apps/multichoice/build/app/outputs/bundle/${{ inputs.environment_flag }}/app-${{ inputs.environment_flag }}.aab

- name: Upload artifact to Firebase App Distribution
if: success()
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{secrets.APP_ID}}
serviceCredentialsFileContent: ${{secrets.CREDENTIAL_FILE_CONTENT}}
groups: testers
file: ./apps/multichoice/build/app/outputs/flutter-apk/app-${{ inputs.environment_flag }}.apk
44 changes: 24 additions & 20 deletions .github/workflows/_build-env-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,34 @@ name: Build Android, Web, & Windows Apps
on:
workflow_call:
inputs:
pubspec-filename:
pubspec_filename:
required: true
type: string
web-build-flag:
web_build_flag:
required: true
type: boolean
web-environment-flag:
web_environment_flag:
required: true
type: string
android-build-flag:
android_build_flag:
required: true
type: boolean
android-environment-flag:
android_environment_flag:
required: true
type: string
android-versionNumber:
android_versionNumber:
required: true
type: string
android-build-artifact:
android_build_artifact:
required: true
type: string
windows-build-flag:
android_build_appbundle:
required: true
type: boolean
windows-environment-flag:
windows_build_flag:
required: true
type: boolean
windows_environment_flag:
required: true
type: string

Expand All @@ -35,23 +38,24 @@ jobs:
name: "Build Web app"
uses: ./.github/workflows/_build-web-app.yml
with:
pubspec-filename: ${{ inputs.pubspec-filename }}
environment-flag: ${{ inputs.web-environment-flag }}
build-flag: ${{ inputs.web-build-flag }}
pubspec_filename: ${{ inputs.pubspec_filename }}
environment_flag: ${{ inputs.web_environment_flag }}
build_flag: ${{ inputs.web_build_flag }}
buildAndroid:
name: "Build Android app"
uses: ./.github/workflows/_build-android-app.yml
secrets: inherit
with:
pubspec-filename: ${{ inputs.pubspec-filename }}
environment-flag: ${{ inputs.android-environment-flag }}
versionNumber: ${{ inputs.android-versionNumber }}
build-flag: ${{ inputs.android-build-flag }}
build-artifact: ${{ inputs.android-build-artifact }}
pubspec_filename: ${{ inputs.pubspec_filename }}
environment_flag: ${{ inputs.android_environment_flag }}
versionNumber: ${{ inputs.android_versionNumber }}
build_flag: ${{ inputs.android_build_flag }}
build_artifact: ${{ inputs.android_build_artifact }}
build_appbundle: ${{ inputs.android_build_appbundle }}
buildWindows:
name: "Build Windows app"
uses: ./.github/workflows/_build-windows-app.yml
with:
pubspec-filename: ${{ inputs.pubspec-filename }}
environment-flag: ${{ inputs.windows-environment-flag }}
build-flag: ${{ inputs.windows-build-flag }}
pubspec_filename: ${{ inputs.pubspec_filename }}
environment_flag: ${{ inputs.windows_environment_flag }}
build_flag: ${{ inputs.windows_build_flag }}
12 changes: 6 additions & 6 deletions .github/workflows/_build-web-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ name: Web Build workflow
on:
workflow_call:
inputs:
pubspec-filename:
pubspec_filename:
required: true
type: string
environment-flag:
environment_flag:
required: true
type: string
build-flag:
build_flag:
required: true
type: boolean

jobs:
buildWeb:
name: Build Web
if: inputs.build-flag == true
if: ${{ inputs.build_flag == true }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -25,8 +25,8 @@ jobs:
uses: ./.github/actions/setup-flutter

- name: Start Web Release Build
run: flutter build web --base-href='/multichoice/' --${{ inputs.environment-flag }}
working-directory: ./apps/multichoice
run: flutter build web --base-href='/multichoice/' --${{ inputs.environment_flag }}
working-directory: apps/multichoice/

- name: Upload Web Build Files
uses: actions/upload-artifact@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_build-windows-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ name: Windows Build workflow
on:
workflow_call:
inputs:
pubspec-filename:
pubspec_filename:
required: true
type: string
environment-flag:
environment_flag:
required: true
type: string
build-flag:
build_flag:
required: true
type: boolean

jobs:
buildWindows:
name: Build Windows
if: ${{ inputs.build-flag == true }}
if: ${{ inputs.build_flag == true }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/_deploy-android-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ on:
deploy_flag:
required: true
type: boolean
environment-flag:
environment_flag:
required: true
type: string
package-name:
package_name:
required: true
type: string
track:
required: true
type: string
release-name:
release_name:
required: true
type: string
deploy-status:
deploy_status:
required: true
type: string

Expand Down Expand Up @@ -47,9 +47,9 @@ jobs:
with:
releaseFiles: app-release.aab
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: ${{ inputs.package-name }}
packageName: ${{ inputs.package_name }}
track: ${{ inputs.track }}
releaseName: ${{ inputs.release-name }}
releaseName: ${{ inputs.release_name }}
# inAppUpdatePriority: 2
# userFraction: 0.5
status: ${{ inputs.deploy-status }}
status: ${{ inputs.deploy_status }}
28 changes: 14 additions & 14 deletions .github/workflows/_deploy-env-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,33 @@ on:
web_deploy_flag:
required: true
type: boolean
web-environment-flag:
web_environment_flag:
required: true
type: string

android_deploy_flag:
required: true
type: boolean
android-environment-flag:
android_environment_flag:
required: true
type: string
android-package-name:
android_package_name:
required: true
type: string
android-track:
android_track:
required: true
type: string
android-release-name:
android_release_name:
required: true
type: string
android-deploy-status:
android_deploy_status:
required: true
type: string

windows_deploy_flag:
required: true
type: boolean
windows-environment-flag:
windows_environment_flag:
required: true
type: string

Expand All @@ -46,21 +46,21 @@ jobs:
secrets: inherit
with:
deploy_flag: ${{ inputs.web_deploy_flag }}
environment-flag: ${{ inputs.web-environment-flag }}
environment_flag: ${{ inputs.web_environment_flag }}
deployAndroid:
name: "Deploy Android app"
uses: ./.github/workflows/_deploy-android-app.yml
secrets: inherit
with:
deploy_flag: ${{ inputs.android_deploy_flag }}
environment-flag: ${{ inputs.android-environment-flag }}
package-name: ${{ inputs.android-package-name }}
track: ${{ inputs.android-track }}
release-name: ${{ inputs.android-release-name }}
deploy-status: ${{ inputs.android-deploy-status }}
environment_flag: ${{ inputs.android_environment_flag }}
package_name: ${{ inputs.android_package_name }}
track: ${{ inputs.android_track }}
release_name: ${{ inputs.android_release_name }}
deploy_status: ${{ inputs.android_deploy_status }}
deployWindows:
name: "Deploy Windows app"
uses: ./.github/workflows/_deploy-windows-app.yml
with:
deploy_flag: ${{ inputs.windows_deploy_flag }}
environment-flag: ${{ inputs.windows-environment-flag }}
environment_flag: ${{ inputs.windows_environment_flag }}
2 changes: 1 addition & 1 deletion .github/workflows/_deploy-web-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
deploy_flag:
required: true
type: boolean
environment-flag:
environment_flag:
required: true
type: string
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_deploy-windows-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
deploy_flag:
required: true
type: boolean
environment-flag:
environment_flag:
required: true
type: string
workflow_dispatch:
Expand Down
Loading
Loading