-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
788 additions
and
371 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
name: Bug Report | ||
description: File a bug report | ||
title: "🐛 [plugin_name]: <issue title>" | ||
labels: ["bug", "triage"] | ||
assignees: | ||
- lesnitsky | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for filing a bug report! 🐛 | ||
Please fill out the sections below to help us reproduce the issue you're experiencing. | ||
- type: checkboxes | ||
attributes: | ||
label: Is there an existing issue for this? | ||
description: Please search to see if an issue already exists for the bug you encountered. | ||
options: | ||
- label: I have searched the existing issues and found no duplicates. | ||
required: true | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: What plugin is this bug for? | ||
description: Please select the plugin(s) affected by this bug. | ||
multiple: true | ||
options: | ||
- Firebase UI Auth | ||
- Firebase UI Database | ||
- Firebase UI Firestore | ||
- Firebase UI Storage | ||
- Firebase UI Localizations | ||
- Firebase UI OAuth | ||
- Firebase UI OAuth Google | ||
- Firebase UI OAuth Facebook | ||
- Firebase UI OAuth Twitter | ||
- Firebase UI OAuth Apple | ||
- Firebase UI Shared | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: What platform(s) does this bug affect? | ||
description: Please select the platform(s) affected by this bug. | ||
multiple: true | ||
options: | ||
- "Android" | ||
- "iOS" | ||
- "Web" | ||
- "macOS" | ||
- "Linux" | ||
- "Windows" | ||
- type: textarea | ||
attributes: | ||
label: List of dependencies used. | ||
description: Output of `flutter pub deps -s list` command. | ||
placeholder: | | ||
``` | ||
`flutter pub deps -s list` | ||
``` | ||
value: | | ||
<details> | ||
<summary>flutter pub deps -s list</summary> | ||
<pre> | ||
<!-- Paste output here --> | ||
</pre> | ||
</details> | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Steps to reproduce | ||
description: | | ||
Please provide a minimal reproducible example demonstrating the bug. | ||
If possible, please provide a link to a GitHub repository with your example. | ||
If you are unable to provide a link to a repository, please provide a minimal code example that reproduces the bug. | ||
If you are unable to provide a code example, please provide a detailed description of the steps necessary to reproduce the bug. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Expected Behavior | ||
description: | | ||
Please provide a clear and concise description of what you expected to happen. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Actual Behavior | ||
description: | | ||
Please provide a clear and concise description of what actually happened. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Additional Information | ||
description: | | ||
Please provide any additional information that may be helpful in resolving this issue. | ||
For example, if you are experiencing a build issue, please provide the output of `flutter doctor -v`. | ||
validations: | ||
required: false |
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,11 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Feature Request | ||
url: https://github.com/firebase/FirebaseUI-Flutter/discussions/new?category=feature-request | ||
about: Share ideas for new features. | ||
- name: Ask a Question | ||
url: https://github.com/firebase/FirebaseUI-Flutter/discussions/new?category=q-a | ||
about: Ask the community for help. | ||
- name: Show and tell | ||
url: https://github.com/firebase/FirebaseUI-Flutter/discussions/new?category=show-and-tell | ||
about: Share what you've built with Firebase UI for Flutter. |
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,37 @@ | ||
Fixes #<issue_number_goes_here> | ||
## Description | ||
|
||
> It's a good idea to open an issue first for discussion. | ||
_Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change._ | ||
|
||
- [ ] Tests pass | ||
- [ ] Appropriate changes to README are included in PR | ||
## Related Issues | ||
|
||
_Replace this paragraph with a list of issues related to this PR from the [issue database](https://github.com/firebase/FirebaseUI-Flutter/issues). Indicate, which of these issues are resolved or fixed by this PR._ | ||
|
||
## Checklist | ||
|
||
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). | ||
This will ensure a smooth and quick review process. Updating the `pubspec.yaml` and changelogs is not required. | ||
|
||
- [ ] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. | ||
- [ ] My PR includes unit or integration tests for _all_ changed/updated/fixed behaviors (See [Contributor Guide]). | ||
- [ ] All existing and new tests are passing. | ||
- [ ] I updated/added relevant documentation (doc comments with `///`). | ||
- [ ] The analyzer (`melos run analyze`) does not report any problems on my PR. | ||
- [ ] All unit tests pass (`melos run test:unit:all` doesn't fail). | ||
- [ ] I read and followed the [Flutter Style Guide]. | ||
- [ ] I signed the [CLA]. | ||
- [ ] I am willing to follow-up on review comments in a timely manner. | ||
|
||
## Breaking Change | ||
|
||
Does your PR require plugin users to manually update their apps to accommodate your change? | ||
|
||
- [ ] Yes, this is a breaking change. | ||
- [ ] No, this is _not_ a breaking change. | ||
|
||
<!-- Links --> | ||
|
||
[issue database]: https://github.com/firebase/FirebaseUI-Flutter/issues | ||
[Contributor Guide]: https://github.com/firebase/FirebaseUI-Flutter/blob/main/docs/contributing.md | ||
[Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo | ||
[pub versioning philosophy]: https://dart.dev/tools/pub/versioning | ||
[CLA]: https://cla.developers.google.com/ |
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: "Detect changes" | ||
description: "Detects which packages were changed" | ||
|
||
outputs: | ||
changed_packages: | ||
description: "A JSON string containing the changed packages" | ||
value: ${{ steps.filter.outputs.changes }} | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: dorny/paths-filter@v2 | ||
id: filter | ||
with: | ||
filters: | | ||
firebase_ui_auth: | ||
- 'packages/firebase_ui_auth/**/*.dart' | ||
firebase_ui_database: | ||
- 'packages/firebase_ui_database/**/*.dart' | ||
firebase_ui_firestore: | ||
- 'packages/firebase_ui_firestore/**/*.dart' | ||
firebase_ui_localizations: | ||
- 'packages/firebase_ui_localizations/**/*.dart' | ||
firebase_ui_oauth: | ||
- 'packages/firebase_ui_oauth/**/*.dart' | ||
firebase_ui_oauth_apple: | ||
- 'packages/firebase_ui_oauth_apple/**/*.dart' | ||
firebase_ui_oauth_facebook: | ||
- 'packages/firebase_ui_oauth_facebook/**/*.dart' | ||
firebase_ui_oauth_google: | ||
- 'packages/firebase_ui_oauth_google/**/*.dart' | ||
firebase_ui_oauth_twitter: | ||
- 'packages/firebase_ui_oauth_twitter/**/*.dart' | ||
firebase_ui_shared: | ||
- 'packages/firebase_ui_shared/**/*.dart' | ||
firebase_ui_storage: | ||
- 'packages/firebase_ui_storage/**/*.dart' |
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,11 @@ | ||
version: 2 | ||
enable-beta-ecosystems: true | ||
updates: | ||
- package-ecosystem: "pub" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: monthly |
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,115 @@ | ||
name: code_health | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- "docs/**" | ||
- "**.md" | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- "docs/**" | ||
- "**.md" | ||
|
||
jobs: | ||
analyze: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: "stable" | ||
cache: true | ||
- uses: bluefireteam/melos-action@v1 | ||
with: | ||
melos-version: "3.0.1" | ||
- name: "Run Analyze" | ||
run: melos run analyze | ||
|
||
pub_dry_run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: "stable" | ||
cache: true | ||
- uses: bluefireteam/melos-action@v1 | ||
with: | ||
melos-version: "3.0.1" | ||
- name: "Pub Check" | ||
run: | | ||
melos exec -c 1 --no-private --ignore="*example*" -- \ | ||
dart pub publish --dry-run | ||
pub_get_check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: "stable" | ||
cache: true | ||
- uses: bluefireteam/melos-action@v1 | ||
with: | ||
melos-version: "3.0.1" | ||
- name: "flutter pub get" | ||
run: | | ||
melos exec -c 1 --scope="*example*" -- \ | ||
"flutter pub get" | ||
format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: "stable" | ||
cache: true | ||
- uses: bluefireteam/melos-action@v1 | ||
with: | ||
melos-version: "3.0.1" | ||
- uses: Homebrew/actions/setup-homebrew@master | ||
- name: "Install Tools" | ||
run: | | ||
flutter pub global activate flutter_plugin_tools | ||
brew install swiftformat | ||
brew install clang-format | ||
brew link --overwrite --force clang-format | ||
- name: "Formatter version" | ||
run: | | ||
clang-format --version | ||
swiftformat --version | ||
- name: "Dart, Java and Objective-C " | ||
run: | | ||
flutter pub global run flutter_plugin_tools format | ||
./.github/workflows/scripts/validate-formatting.sh | ||
- name: "Swift" | ||
if: ${{ success() || failure() }} | ||
run: | | ||
swiftformat . | ||
./.github/workflows/scripts/validate-formatting.sh | ||
check-files-license-headers: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: "^1.13.1" | ||
- run: go install github.com/google/addlicense@latest | ||
- name: Install Dart | ||
uses: dart-lang/setup-dart@v1 | ||
- name: Install Melos | ||
uses: bluefireteam/melos-action@v1 | ||
with: | ||
run-bootstrap: false | ||
melos-version: "3.0.1" | ||
- name: Check license header | ||
run: melos run check-license-header |
Oops, something went wrong.