-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add direct feedback capability (#45)
* Add feedback button * Change feedback button text * Bump version * Add yaml issue and discussion templates * Appease MegaLinter * Adapt ProgramNameAndVersion UT * Add issue labeler for selected tool * Add new line buttons to AboutView * Remove whitespace flagged by linter * Fix typos * Fix more linter complaints * Fix more/new linter errors * Rename GitHub btn * Add test to ensure URL is unchanged * (try to) fix some Linter-complaints * more "lint for yaml"-fixes * one more linter-fix --------- Co-authored-by: ptahmose <[email protected]>
- Loading branch information
1 parent
3e4dc8d
commit 9a727b0
Showing
18 changed files
with
337 additions
and
100 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
.github/DISCUSSION_TEMPLATE/czi-compress-feature-requests.yml
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,26 @@ | ||
--- | ||
labels: ["czicompress", "enhancement"] | ||
body: | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Is your feature request related to a problem? Please describe. | ||
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: A clear and concise description of any alternative solutions or features you've considered. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context or screenshots about the feature request here. | ||
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,16 @@ | ||
--- | ||
labels: ["czicompress", "feedback"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for your interest in CZI Compress! | ||
Your feedback helps us improve 💪 | ||
- type: textarea | ||
id: content | ||
attributes: | ||
label: Feedback | ||
description: Tell us your thoughts! | ||
validations: | ||
required: true |
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,10 @@ | ||
--- | ||
labels: ["czicompress", "question"] | ||
body: | ||
- type: textarea | ||
id: question | ||
attributes: | ||
label: Question | ||
description: Please add any screenshots or logs if applicable | ||
validations: | ||
required: true |
26 changes: 26 additions & 0 deletions
26
.github/DISCUSSION_TEMPLATE/czi-shrink-feature-requests.yml
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,26 @@ | ||
--- | ||
labels: ["czishrink", "enhancement"] | ||
body: | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Is your feature request related to a problem? Please describe. | ||
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: A clear and concise description of any alternative solutions or features you've considered. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context or screenshots about the feature request here. | ||
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,16 @@ | ||
--- | ||
labels: ["czishrink", "feedback"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for your interest in CZI Shrink! | ||
Your feedback helps us improve 💪 | ||
- type: textarea | ||
id: content | ||
attributes: | ||
label: Feedback | ||
description: Tell us your thoughts! | ||
validations: | ||
required: true |
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,10 @@ | ||
--- | ||
labels: ["czishrink", "question"] | ||
body: | ||
- type: textarea | ||
id: question | ||
attributes: | ||
label: Question | ||
description: Please add any screenshots or logs if applicable | ||
validations: | ||
required: true |
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,76 @@ | ||
--- | ||
name: "🕷️ Bug report" | ||
description: Create a report to help us improve | ||
labels: | ||
- bug | ||
body: | ||
- type: dropdown | ||
id: toolaffected | ||
attributes: | ||
label: Which tool is affected? | ||
description: CZI Shrink is the GUI application while CZI Compress refers to the CLI tool. | ||
multiple: false | ||
options: | ||
- CZI Compress | ||
- CZI Shrink | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: Describe the bug and add screenshots if possible/applicable. | ||
placeholder: A clear and concise description of what the bug is. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Steps to reproduce | ||
description: Please include screenshots (if applicable) and relevant logs. | ||
placeholder: | | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Expected behavior | ||
description: A clear and concise description of what you expected to happen. | ||
placeholder: | | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
attributes: | ||
label: OS | ||
description: What operating system are you using? | ||
multiple: false | ||
options: | ||
- Windows | ||
- MacOS | ||
- Linux | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
attributes: | ||
label: OS Version | ||
description: What version and flavor (if applicable) of your OS are you using? | ||
placeholder: Ubuntu 23.10 | Sonoma 14.1.2 | Windows 11 23H2 | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Other Context | ||
description: Please add any other context that may be relevant. | ||
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,21 @@ | ||
--- | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: "\U0000270D CZI Shrink Feedback" | ||
url: https://github.com/ZEISS/czicompress/discussions/new?category=czi-shrink-feedback | ||
about: Feedback for the GUI tool CZI Shrink | ||
- name: "\U0001F4A1 CZI Shrink Feature Request" | ||
url: https://github.com/ZEISS/czicompress/discussions/new?category=czi-shrink-feature-requests | ||
about: Feature request for the GUI tool CZI Shrink | ||
- name: "\U0000003F CZI Shrink Questions" | ||
url: https://github.com/ZEISS/czicompress/discussions/new?category=czi-shrink-questions | ||
about: Questions about the GUI tool CZI Shrink | ||
- name: "\U0000270D CZI Compress Feedback" | ||
url: https://github.com/ZEISS/czicompress/discussions/new?category=czi-compress-feedback | ||
about: Feedback for the CLI tool CZI Compress | ||
- name: "\U0001F4A1 CZI Compress Feature Request" | ||
url: https://github.com/ZEISS/czicompress/discussions/new?category=czi-compress-feature-requests | ||
about: Feature request for the CLI tool CZI Compress | ||
- name: "\U0000003F CZI Compress Questions" | ||
url: https://github.com/ZEISS/czicompress/discussions/new?category=czi-compress-questions | ||
about: Questions about the CLI tool CZI Compress |
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,10 @@ | ||
--- | ||
policy: | ||
- section: | ||
- id: [toolaffected] | ||
block-list: ['None', 'Other'] | ||
label: | ||
- name: czicompress | ||
keys: ['CZI Compress'] | ||
- name: 'czishrink' | ||
keys: ['CZI Shrink'] |
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,30 @@ | ||
--- | ||
name: Bug issue labeler | ||
on: | ||
issues: | ||
types: [opened] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
label-component: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
issues: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Parse issue form | ||
uses: stefanbuck/github-issue-parser@c1a559d78bfb8dd05216dab9ffd2b91082ff5324 | ||
id: issue-parser | ||
with: | ||
template-path: .github/ISSUE_TEMPLATE/bug_report.yml | ||
|
||
- name: Set labels based on toolaffected field | ||
uses: redhat-plumbers-in-action/advanced-issue-labeler@v2 | ||
with: | ||
issue-form: ${{ steps.issue-parser.outputs.jsonString }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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
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
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
Oops, something went wrong.