Skip to content

Commit

Permalink
First commit for RTM 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
littleGnAl committed Sep 11, 2024
0 parents commit 8fab59c
Show file tree
Hide file tree
Showing 522 changed files with 50,432 additions and 0 deletions.
114 changes: 114 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: Bug Report
description: Submit a bug report.
body:
- type: markdown
attributes:
value: |
Before filling out the form, please consider the following:
- Make sure to search the [existing issues](https://github.com/AgoraIO-Extensions/Agora-Flutter-RTM-SDK/issues) to see if your bug has already been reported.
- For urgent issues, please submit a ticket to [Agora Support](https://www.agora.io/en/customer-support/) for a prompt response.
- type: textarea
attributes:
label: Version of the agora_rtm
description: The version of the agora_rtm.
placeholder: |
2.2.1
validations:
required: true
- type: checkboxes
attributes:
label: Platforms affected
options:
- label: Android
- label: iOS
- label: macOS
- label: Windows
- label: Web
- type: textarea
attributes:
label: Steps to reproduce
description: Please tell us exactly how to reproduce the problem you are running into.
placeholder: |
1. ...
2. ...
3. ...
validations:
required: true
- type: textarea
attributes:
label: Expected results
description: Please tell us what is expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Actual results
description: Please tell us what is actually happening.
validations:
required: true
- type: textarea
attributes:
label: Code sample
description: |
To help us better understand and address the issue, please provide a minimal reproducible sample that demonstrates the problem.
Instead of uploading screenshots of text, we kindly ask you to use code blocks or the methods mentioned above to share your code sample.
This will greatly assist us in diagnosing and resolving the issue effectively.
value: |
<details open><summary>Code sample</summary>
```dart
[Paste your code here]
```
</details>
validations:
required: false
- type: textarea
attributes:
label: Screenshots or Video
description: |
Upload any screenshots or video of the bug if applicable.
value: |
<details open>
<summary>Screenshots / Video demonstration</summary>
[Upload media here]
</details>
- type: textarea
attributes:
label: Logs
description: |
To help us diagnose and resolve the issue effectively, please include the full logs when you encounter the problem.
Here are the default log paths for different platforms:
- Android: /storage/emulated/0/Android/data/<packagename>/files/agora-iris.log
- iOS: App Sandbox/Library/caches/agora-iris.log
- macOS: /Users/<username>/Library/Containers/<AppBundleIdentifier>/Data/Library/Logs/agora-iris.log
- Windows: C:\Users\<user_name>\AppData\Local\Agora\<process_name>\agora-iris.log
Please avoid uploading screenshots of text. Instead, use code blocks or the methods mentioned above to share the logs.
Remember to remove any sensitive information before sharing.
value: |
<details open><summary>Logs</summary>
```console
[Paste your logs here]
```
</details>
- type: textarea
attributes:
label: Flutter Doctor output
description: |
Please provide the full output of running `flutter doctor -v`
value: |
<details open><summary>Doctor output</summary>
```console
[Paste your output here]
```
</details>
validations:
required: true
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
18 changes: 18 additions & 0 deletions .github/workflows/ triage-agora-support.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Triage to Agora Support
on:
issues:
types:
- labeled
jobs:
add-comment:
if: github.event.label.name == 'triage agora support'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment
uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ github.event.issue.number }}
body: |
Please submit a ticket to [Agora Support](https://www.agora.io/en/customer-support/) for further investigation of this issue. If you have any conclusions, you can share them here which may help other developers. Thanks!
24 changes: 24 additions & 0 deletions .github/workflows/auto-close-daily-doc-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Auto-close Stale Daily Doc Update Pull Requests

on:
schedule:
- cron: '0 16 * * *' # Runs daily at midnight Beijing time

permissions:
contents: write # only for delete-branch option
pull-requests: write

jobs:
close-stale-pr:
runs-on: ubuntu-latest
steps:
- name: Close Stale Pull Requests
uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This auto daily doc update PR is stale because it has been open for 3 days with no activity. Close.'
days-before-stale: 1
days-before-close: 1
remove-stale-when-updated: false
delete-branch: true
only-labels: 'ci:doc'
Loading

0 comments on commit 8fab59c

Please sign in to comment.