diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 66a1148..0000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,59 +0,0 @@ -name: 🐞 Bug report -description: Report a bug or an issue. -title: 'bug: ' -labels: ['Bug report'] -body: - - type: markdown - attributes: - value: | - # Revenge bug report - - Before creating a new bug report, please keep the following in mind: - - - **Do not submit a duplicate bug report**: Search for existing bug reports [here](https://github.com/revenge-mod/revenge-bundle/issues?q=label%3A%22Bug+report%22). - - **Review the contribution guidelines**: Make sure your bug report adheres to it. You can find the guidelines [here](https://github.com/revenge-mod/revenge-bundle/blob/main/CONTRIBUTING.md). - - **Do not use the issue page for support**: If you need help or have questions, join us on [Discord](https://discord.gg/ddcQf3s2Uq). - - type: textarea - attributes: - label: Bug description - description: | - - Describe your bug in detail - - Add steps to reproduce the bug if possible (Step 1. ... Step 2. ...) - - Add images and videos if possible - validations: - required: true - - type: textarea - attributes: - label: Stack trace - description: If this bug causes a JS crash, please paste the stack trace here. - render: shell - - type: textarea - attributes: - label: Component stack trace - description: If this bug causes a JS crash, please paste the component stack trace here. - render: shell - - type: textarea - attributes: - label: Native crash trace - description: If this bug causes a native crash, please paste the crash trace here. On Android, this can be accessed by doing `logcat | grep AndroidRuntime`. - render: shell - - type: textarea - attributes: - label: Solution - description: If applicable, add a possible solution to the bug. - - type: textarea - attributes: - label: Additional context - description: Add additional context here. - - type: checkboxes - id: acknowledgements - attributes: - label: Acknowledgements - description: Your bug report will be closed if you don't follow the checklist below. - options: - - label: I have checked all open and closed bug reports and this is not a duplicate. - required: true - - label: I have chosen an appropriate title. - required: true - - label: All requested information has been provided properly. - required: true diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index cb92112..66a1148 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -1,191 +1,59 @@ -name: Bug report -description: Create a bug report to help us improve -title: "[bug]: " -labels: [bug] +name: 🐞 Bug report +description: Report a bug or an issue. +title: 'bug: ' +labels: ['Bug report'] body: - type: markdown attributes: value: | - > [!IMPORTANT] - > ## Before you submit this issue... - > We might reject any issues that can't be solved within the repository, or reports that are too general. For example: - > - >
- > "Bunny crashes upon starting..." - > > There are lots of different things that could be causing this, but it's probably not related to this repository. - >
- >
- > "Bunny freezes on splash screen..." - > > The issue is too general and should be reported only when it occurs after an update to a specific Discord version or after a specific action or configuration has been made within Bunny. - >
- >
- > "Bunny refuses to install/stuck on downloading..." - > > This is an external issue (sideloading) that does not have a place in this repository. If it's a problem with Bunny Manager, report it to the appropriate repository. - >
- > - > If you think that your problem belongs to one of these, you should avoid submitting this report unless you are told to do so. - > - > Please report the problem or ask for help in the appropriate place. For example, if the problem occurs in BunnyManager, report it in the BunnyManager repository. If an error occurs when trying to sideload the prepatched IPA, reach out support for the sideloader you're using. + # Revenge bug report - - type: checkboxes - id: checklist - attributes: - label: Checklist - description: You should ensure the completion of the task before proceeding to check it off the checklist. Neglecting to do so may impede the efficiency of the issue resolution process. The developer has the right to delete the issue directly if you check the list blindly. - options: - - label: I am able to reproduce the bug with the latest version of Bunny and Discord. - required: true - - label: I've checked that there is no open or closed issue about this bug. - required: true - - label: The title of this issue accurately describes the bug. - required: true - - label: This is not a feature request or a general question. - required: true - - label: This bug can be reproduced consistently and is not caused by a plugin. - required: true - - label: I have read the notes above and ensured that my issue is clear and within this repository. - required: true + Before creating a new bug report, please keep the following in mind: + - **Do not submit a duplicate bug report**: Search for existing bug reports [here](https://github.com/revenge-mod/revenge-bundle/issues?q=label%3A%22Bug+report%22). + - **Review the contribution guidelines**: Make sure your bug report adheres to it. You can find the guidelines [here](https://github.com/revenge-mod/revenge-bundle/blob/main/CONTRIBUTING.md). + - **Do not use the issue page for support**: If you need help or have questions, join us on [Discord](https://discord.gg/ddcQf3s2Uq). - type: textarea - id: reproduce-steps attributes: - label: Steps to reproduce the bug - description: What did you do for the bug to show up? - placeholder: | - Example: - 1. Go to '...' - 2. Click on '....' - 3. Scroll down to '....' - 4. See error - validations: - required: true - - - type: textarea - id: expected-behavior - attributes: - label: Expected behavior - placeholder: | - Example: - "This should happen..." - validations: - required: true - - - type: textarea - id: actual-behavior - attributes: - label: Actual behavior - placeholder: | - Example: - "This happened instead..." - validations: - required: true - - - type: textarea - id: sreen-media - attributes: - label: Screenshots/Screen recordings + label: Bug description description: | - A picture or video helps us understand the bug more. - - You can upload them directly in the text box. - + - Describe your bug in detail + - Add steps to reproduce the bug if possible (Step 1. ... Step 2. ...) + - Add images and videos if possible + validations: + required: true - type: textarea - id: logs attributes: - label: Logs - description: | - Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + label: Stack trace + description: If this bug causes a JS crash, please paste the stack trace here. render: shell - - - type: dropdown - id: platform + - type: textarea attributes: - label: What platform did you produce this issue on? + label: Component stack trace + description: If this bug causes a JS crash, please paste the component stack trace here. + render: shell + - type: textarea + attributes: + label: Native crash trace + description: If this bug causes a native crash, please paste the crash trace here. On Android, this can be accessed by doing `logcat | grep AndroidRuntime`. + render: shell + - type: textarea + attributes: + label: Solution + description: If applicable, add a possible solution to the bug. + - type: textarea + attributes: + label: Additional context + description: Add additional context here. + - type: checkboxes + id: acknowledgements + attributes: + label: Acknowledgements + description: Your bug report will be closed if you don't follow the checklist below. options: - - Android - - iOS - validations: - required: true - - - type: input - id: discord-version - attributes: - label: Discord version - description: | - The version of Discord you are using. You can find this in the settings. You may leave both the version number and the build number. - placeholder: | - Example: - "253.2 (66074)" - validations: - required: true - - - type: input - id: version - attributes: - label: Version - description: | - The version of Bunny the issue is occuring on. You can find this in the settings. Bunny version is in formatted like the following: `beaf689-main` and NOT like this: `0.2.3`. - placeholder: | - Example: - "beaf689-main" - - - type: input - id: loader-version - attributes: - label: Loader version - description: | - The version of the loader you are using. You can find this in the settings. - placeholder: | - Example: - "BunnyTweak (0.3.2)" - validations: - required: true - - - type: input - id: device - attributes: - label: Device - description: | - The device model you are using. - placeholder: | - Example: - "iPhone 13 Pro Max" - validations: - required: true - - - type: input - id: os-version - attributes: - label: OS version - description: | - The version of the operating system you are using. - placeholder: | - Example: - "iOS 15.0.1" - validations: - required: true - - - type: textarea - id: debug-info - attributes: - label: Debug information - description: | - Debug information is important for the developer to understand the environment in which the bug occurred. You can get this information by sending `/debug` in the chat. - placeholder: | - Example: - Bunny: beaf689-main (BunnyXposed 0.2.4) - Discord: 255.2 (255202) - React: 18.3.1 (RN 0.74.5-discord-11) - Hermes: for RN 0.74.5-discord-11 (bcv96) - System: Android 13 (SDK 33) - Device: M2101K7BG (secret) - - - type: textarea - id: additional-information - attributes: - label: Additional information - placeholder: | - Example: - "I have tried to do this..." - "This only happens in this situation..." - "This could be related to..." \ No newline at end of file + - label: I have checked all open and closed bug reports and this is not a duplicate. + required: true + - label: I have chosen an appropriate title. + required: true + - label: All requested information has been provided properly. + required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md deleted file mode 100644 index 21eda9b..0000000 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ /dev/null @@ -1,45 +0,0 @@ -name: ⭐ Feature request -description: Create a detailed request for a new feature. -title: 'feat: ' -labels: ['Feature request'] -body: - - type: markdown - attributes: - value: | - # Revenge feature request - - Before creating a new feature request, please keep the following in mind: - - - **Do not submit a duplicate feature request**: Search for existing feature requests [here](https://github.com/revenge-mod/revenge-bundle/issues?q=label%3A%22Feature+request%22). - - **Review the contribution guidelines**: Make sure your feature request adheres to it. You can find the guidelines [here](https://github.com/revenge-mod/revenge-bundle/blob/main/CONTRIBUTING.md). - - **Do not use the issue page for support**: If you need help or have questions, join us on [Discord](https://discord.gg/ddcQf3s2Uq). - - type: textarea - attributes: - label: Feature description - description: | - - Describe your feature in detail - - Add images, videos, links, examples, references, etc. if possible - - type: textarea - attributes: - label: Motivation - description: | - A strong motivation is necessary for a feature request to be considered. - - - Why should this feature be implemented? - - What is the explicit use case? - - What are the benefits? - - What makes this feature important? - validations: - required: true - - type: checkboxes - id: acknowledgements - attributes: - label: Acknowledgements - description: Your feature request will be closed if you don't follow the checklist below. - options: - - label: I have checked all open and closed feature requests and this is not a duplicate - required: true - - label: I have chosen an appropriate title. - required: true - - label: All requested information has been provided properly. - required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index ff169a7..21eda9b 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -1,43 +1,45 @@ -name: Feature request -description: Suggest an idea for Bunny -title: "[feature]: " -labels: [enhancement] +name: ⭐ Feature request +description: Create a detailed request for a new feature. +title: 'feat: ' +labels: ['Feature request'] body: - - type: checkboxes - id: checklist + - type: markdown attributes: - label: Checklist - description: You should ensure the completion of the task before proceeding to check it off the checklist. Neglecting to do so may impede the efficiency of the issue resolution process. The developer has the right to delete the issue directly if you check the list blindly. - options: - - label: This is not a plugin request. - required: true - - label: I've checked that there is no other issue about this feature request. - required: true - - label: This issue contains only one feature request. - required: true - - label: The title of this issue accurately describes the feature request. - required: true + value: | + # Revenge feature request + Before creating a new feature request, please keep the following in mind: + + - **Do not submit a duplicate feature request**: Search for existing feature requests [here](https://github.com/revenge-mod/revenge-bundle/issues?q=label%3A%22Feature+request%22). + - **Review the contribution guidelines**: Make sure your feature request adheres to it. You can find the guidelines [here](https://github.com/revenge-mod/revenge-bundle/blob/main/CONTRIBUTING.md). + - **Do not use the issue page for support**: If you need help or have questions, join us on [Discord](https://discord.gg/ddcQf3s2Uq). - type: textarea - id: feature-description attributes: label: Feature description - description: What feature you want Bunny to have? Provide detailed description about what it should look like or where it should be added. + description: | + - Describe your feature in detail + - Add images, videos, links, examples, references, etc. if possible + - type: textarea + attributes: + label: Motivation + description: | + A strong motivation is necessary for a feature request to be considered. + + - Why should this feature be implemented? + - What is the explicit use case? + - What are the benefits? + - What makes this feature important? validations: required: true - - - type: textarea - id: why-is-the-feature-requested + - type: checkboxes + id: acknowledgements attributes: - label: Why do you want this feature? - description: Describe the problem or limitation that motivates you to want this feature to be added. - validations: - required: true - - - type: textarea - id: additional-information - attributes: - label: Additional information - description: Add any other context or screenshots about the feature request here. - placeholder: | - Additional details and attachments. \ No newline at end of file + label: Acknowledgements + description: Your feature request will be closed if you don't follow the checklist below. + options: + - label: I have checked all open and closed feature requests and this is not a duplicate + required: true + - label: I have chosen an appropriate title. + required: true + - label: All requested information has been provided properly. + required: true diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 0e66bfc..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: Build -on: - push: - branches: [main, dev] - paths-ignore: - - "**/*.md" - -jobs: - build: - name: Build and push - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Checkout builds - uses: actions/checkout@v4 - with: - repository: "bunny-mod/builds" - path: "builds" - token: ${{ secrets.BUILDS_TOKEN }} - ref: ${{ github.ref_name }} - - - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Install pnpm and dependencies - run: | - npm i -g pnpm - pnpm i\ - - - name: Build - run: pnpm build --release-branch=${{ github.ref_name }} --build-minify - - # TODO: Check for linting? - - - name: Push builds - run: | - rm $GITHUB_WORKSPACE/builds/* || true - cp -r dist/* $GITHUB_WORKSPACE/builds || true - cd $GITHUB_WORKSPACE/builds - git config --local user.email "actions@github.com" - git config --local user.name "GitHub Actions" - git add . - git commit -m "Build $GITHUB_SHA" || exit 0 - git push - - - name: Purge CDN cache - run: | - curl https://purge.jsdelivr.net/gh/pyoncord/bunny-build-infos@${{ github.ref_name }}/bunny.js -