Skip to content
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

Chore/updates #10

Merged
merged 42 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
d22dd29
chore: Tidy, reorganise and prepare repo
thelukewalton Sep 6, 2023
199328c
Update to mirror 0.1.0+1 from ZebraDevs
thelukewalton Nov 29, 2023
f333429
Cleanup dart warnings; fix text scale (#23)
atanasyordanov21 Dec 1, 2023
0794b08
chore(deps): bump tj-actions/branch-names in /.github/workflows (#26)
dependabot[bot] Dec 6, 2023
ef44d24
status_label (#25)
genovevageorgieva Dec 6, 2023
2f21a18
add icons (#24)
atanasyordanov21 Dec 8, 2023
19e7d93
Priority Pill (#28)
genovevageorgieva Dec 8, 2023
36f72c1
Component indicator (#30)
atanasyordanov21 Dec 11, 2023
b97fd3b
Badge (#29)
genovevageorgieva Dec 11, 2023
063386f
some sizings were not exactly as shown in Figma (#33)
genovevageorgieva Dec 12, 2023
5f0a33e
Merge from zebradevs (#27)
thelukewalton Dec 13, 2023
8f621dc
Component ZetaAvatar (#32)
atanasyordanov21 Dec 15, 2023
1268c92
App bar (#35)
atanasyordanov21 Dec 15, 2023
354040c
Workcloud indicators (#34)
genovevageorgieva Dec 18, 2023
ac2b269
fix the border of the indicator component (#31)
atanasyordanov21 Dec 18, 2023
4ca71f3
Button component (#36)
genovevageorgieva Dec 18, 2023
541ec63
force Material 3 (#38)
atanasyordanov21 Dec 18, 2023
c79686a
Tag component (#37)
genovevageorgieva Dec 18, 2023
c506b81
Component accordion (#39)
atanasyordanov21 Dec 19, 2023
dcafe1f
fix sizings and replace icons with zeta icons (#43)
genovevageorgieva Dec 19, 2023
51caca7
Menu Items - horizontal & vertical (#44)
atanasyordanov21 Dec 20, 2023
be7cf58
component floating action button (#41)
genovevageorgieva Dec 21, 2023
36b9808
Page banner (#40)
genovevageorgieva Dec 21, 2023
225a059
create bottom sheet (#45)
atanasyordanov21 Jan 2, 2024
500013d
Password input (#47)
genovevageorgieva Jan 2, 2024
753a460
Component chip (#46)
atanasyordanov21 Jan 10, 2024
aff41a3
chore(deps): bump tj-actions/changed-files from 35 to 41 in /.github/…
dependabot[bot] Jan 10, 2024
6787220
chore: Organize ilb/ to match web (#49)
thelukewalton Jan 17, 2024
6ae1269
feat: Update text styles to match latest designs (#50)
thelukewalton Jan 17, 2024
7b543ac
feat: Remove legacy code (#51)
thelukewalton Jan 18, 2024
ed1210d
chore: Update Widgetbook to correct functionality (#52)
thelukewalton Jan 19, 2024
2357d34
chore: Tidy up example app (#53)
thelukewalton Jan 19, 2024
074fe3d
chore: Update Github action (#54)
thelukewalton Jan 29, 2024
cb6b4bd
chore: Refactor components part 1 (#55)
thelukewalton Jan 29, 2024
45468f9
chore: UX-918 part 2. Refactor components (#56)
thelukewalton Feb 2, 2024
9545b49
chore: Add publish action. (#58)
thelukewalton Feb 2, 2024
9d69548
chore: Tidy, reorganise and prepare repo
thelukewalton Sep 6, 2023
10e7bb7
System theme support (#1)
ps9310 Nov 9, 2023
dec383d
Refactor theme declaration and introduce theme service (#8)
ps9310 Dec 1, 2023
6d9ad76
Checkbox (#9)
genovevageorgieva Dec 5, 2023
3321dc8
Merge remote-tracking branch 'origin/main' into chore/updates
thelukewalton Feb 2, 2024
5dc3344
[automated commit] lint format and import sort
invalid-email-address Feb 2, 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
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "zeta-ds"
}
}
41 changes: 41 additions & 0 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "CI - Release"
on:
workflow_dispatch:
release:
types: [released]

jobs:
check-package:
runs-on: ubuntu-latest
permissions:
id-token: write
environment: pub.dev
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.x"
channel: "stable"
- name: Install dependencies
run: flutter pub get
- name: Format code
run: dart format --fix .
- name: Check Publish Warnings
run: dart pub publish --dry-run
- name: Publish
run: dart pub publish --force
deploy-website:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
script: |
await github.rest.actions.createworkflowDispatch({
owner: 'zebratechnologies',
repo: 'zeta',
workflow_id: 'deploy-prod.yml',
ref: 'main'
})
136 changes: 0 additions & 136 deletions .github/workflows/onMerge.yml

This file was deleted.

71 changes: 52 additions & 19 deletions .github/workflows/pr.yml → .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,65 @@
name: "PR"
on:
pull_request:
name: CI - Pull Request
on: pull_request

jobs:
up-to-date:
name: "Check branch is up to date"
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- name: Check branch is up to date
run: |
if git merge-base --is-ancestor ${{ github.event.pull_request.base.sha}} ${{ github.event.pull_request.head.sha}}
then
echo "Your branch is up to date."
exit 0
else
echo "You need to merge / rebase."
exit 1
fi
changes:
name: "Check for changes in code"
needs: up-to-date
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
files: ${{steps.changed-files.outputs.any_changed}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
persist-credentials: false
- name: Get all changed *.dart, files in custom-docs or pubspec.yaml
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@v41
with:
base_sha: ${{ github.event.pull_request.base.sha }}
sha: ${{ github.event.pull_request.head.sha }}
files: |
**/*.dart
custom-docs
pubspec.yaml
analyze:
code-quality:
runs-on: ubuntu-latest
timeout-minutes: 20
needs: changes
if: needs.changes.outputs.files == 'true'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- name: Check branch is up to date
run: |
if git merge-base --is-ancestor ${{ github.event.pull_request.base.sha}} ${{ github.event.pull_request.head.sha}}
then
echo "Your branch is up to date."
exit 0
else
echo "You need to merge / rebase."
exit 1
fi
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v5.1
uses: tj-actions/branch-names@v7.0.7
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.13.x"
flutter-version: "3.16.x"
channel: "stable"
- name: Setup flutter
run: flutter pub get
Expand All @@ -70,3 +80,26 @@ jobs:
git add -A
git commit -m '[automated commit] lint format and import sort'
git push
deploy-preview:
name: Deploy preview version of the storybook on firebase
needs: code-quality
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.x"
channel: "stable"
- name: Setup flutter
run: flutter pub get
- name: Build example app
run: |
cd example
flutter build web -o ../build --no-tree-shake-icons
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZETA_DS }}"
expires: 7d
projectId: zeta-ds
channelId: "pr-${{ github.event.number }}-${{ github.event.pull_request.head.ref }}"
17 changes: 17 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: release-please
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
10 changes: 9 additions & 1 deletion .pubignore
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
custom_docs/
custom_docs/
example/build
example/android
example/ios
example/linux
example/macos
example/web
example/windows
example/widgetbook
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.2.0"
}
Loading