Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat/language-identif…
Browse files Browse the repository at this point in the history
…ication
  • Loading branch information
robingenz committed Nov 24, 2023
2 parents f5594ea + 4638db1 commit 4e934f0
Show file tree
Hide file tree
Showing 247 changed files with 16,682 additions and 4,915 deletions.
10 changes: 9 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@
{ "repo": "capawesome-team/capacitor-mlkit" }
],
"commit": false,
"fixed": [["@capacitor-mlkit/translation"]],
"fixed": [
[
"@capacitor-mlkit/barcode-scanning",
"@capacitor-mlkit/face-detection",
"@capacitor-mlkit/face-mesh-detection",
"@capacitor-mlkit/selfie-segmentation",
"@capacitor-mlkit/translation"
]
],
"linked": [],
"access": "public",
"baseBranch": "main",
Expand Down
51 changes: 0 additions & 51 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

83 changes: 83 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: 🚨 Bug report
title: "bug: "
description: Create a bug report to help us improve
labels: ["bug/fix", "needs: triage"]

body:
- type: checkboxes
attributes:
label: Plugin(s)
description: Select the plugins that this bug affects.
options:
- label: Barcode Scanning
- label: Face Detection
- label: Face Mesh Detection
- label: Selfie Segmentation
- label: Translation
- type: checkboxes
attributes:
label: Did you test the latest version?
description: |
Chances are that the bug you discovered has already been fixed in a subsequent version.
Therefore, before reporting an issue, make sure you are using the latest version.
options:
- label: I use the latest version
required: true
- type: checkboxes
attributes:
label: Platform(s)
description: Select the platforms that this bug affects.
options:
- label: Android
- label: iOS
- label: Web
- type: textarea
attributes:
label: Current behavior
description: A concise description of what you're experiencing.
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: A concise description of what you expected to happen.
validations:
required: true
- type: input
attributes:
label: Reproduction
description: |
Please provide a [Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) in a public GitHub repository so that we can debug the issue.
We have prepared a template repository that you can use: [capawesome-team/.capacitor-app](https://github.com/capawesome-team/.capacitor-app).
placeholder: https://github.com/...
validations:
required: true
- type: textarea
attributes:
label: Steps to reproduce
description: Steps to reproduce the behaviour using the provided example.
placeholder: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
validations:
required: true
- type: textarea
attributes:
label: Other information
description: List any other information that is relevant to your issue. Device information, stack traces, screenshots, related issues, etc.
- type: textarea
attributes:
label: Capacitor doctor
description: Run `npx cap doctor` in a terminal and paste the output below.
validations:
required: true
- type: checkboxes
attributes:
label: Before submitting
description: |
A well-written bug report allows the maintainers to quickly recreate the necessary conditions to inspect the bug and quickly find its root cause.
options:
- label: I understand that incomplete issues (e.g. without reproduction) are closed.
required: true
27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: ⚡️ Feature request
title: "feat: "
description: Suggest an idea for this project
labels: ["feature", "needs: triage"]

body:
- type: checkboxes
attributes:
label: Plugin(s)
description: Select the plugins that this feature request affects.
options:
- label: Barcode Scanning
- label: Face Detection
- label: Face Mesh Detection
- label: Selfie Segmentation
- label: Translation
- type: textarea
attributes:
label: Current problem
description: A clear and concise description of what the problem is.
placeholder: I'm always frustrated when [...]
validations:
required: true
- type: textarea
attributes:
label: Preferred solution
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Alternative options
description: A clear and concise description of any alternative solutions or features you've considered.
- type: textarea
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ on:
workflow_dispatch:

env:
NODE_VERSION: 16
JAVA_VERSION: 11
NODE_VERSION: 18
JAVA_VERSION: 17

jobs:
build:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/invalid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Close incomplete issues

on:
issues:
types:
- labeled

permissions:
issues: write

jobs:
add-comment:
runs-on: ubuntu-latest
if: github.event.label.name == 'invalid'
steps:
- name: Close Issue
uses: peter-evans/close-issue@v3
with:
issue-number: ${{ github.event.issue.number }}
comment: |
> I understand that incomplete issues (e.g. without reproduction) are closed.
This issue is closed because not enough information was provided.
1 change: 1 addition & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ concurrency:
jobs:
action:
runs-on: ubuntu-latest
if: github.repository == 'capawesome-team/capacitor-mlkit'
steps:
- uses: dessant/lock-threads@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/needs-reply-remove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
needs-reply:
runs-on: ubuntu-latest
if: github.event.comment.author_association != 'MEMBER'
if: github.repository == 'capawesome-team/capacitor-mlkit' && github.event.comment.author_association != 'MEMBER'
steps:
- name: Remove needs-reply label
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/needs-reply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:
jobs:
needs-reply:
runs-on: ubuntu-latest
if: github.repository == 'capawesome-team/capacitor-mlkit'
steps:
- name: Close old issues that need reply
uses: dwieeb/needs-reply@v2
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/needs-reproduction.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Add comment when issue is labeled needs-reproduction

on:
issues:
types:
- labeled

permissions:
issues: write

jobs:
add-comment:
runs-on: ubuntu-latest
if: github.event.label.name == format('needs{0} reproduction', ':')
steps:
- name: Add comment
uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.issue.number }}
body: |
Please provide a [Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) using [this template](https://github.com/capawesome-team/.capacitor-app) in a public GitHub repository so we can debug the issue.
20 changes: 0 additions & 20 deletions .github/workflows/needs-triage.yml

This file was deleted.

Loading

0 comments on commit 4e934f0

Please sign in to comment.