|
| 1 | +name: Bug Report |
| 2 | +description: Report a bug in Shiny for Python |
| 3 | +title: "[Bug]: " |
| 4 | +labels: ["bug", "needs-triage"] |
| 5 | +body: |
| 6 | + - type: markdown |
| 7 | + attributes: |
| 8 | + value: | |
| 9 | + Thanks for taking the time to file a bug report! Please fill out this form as completely as possible. |
| 10 | +
|
| 11 | + Providing a **Minimal Reproducible Example** is crucial for us to quickly understand and fix the issue. |
| 12 | + Please take the time to create a minimal app that demonstrates the bug. Templates are provided in the "Minimal Reproducible Example" section. |
| 13 | +
|
| 14 | + **Please ensure you have searched for similar issues before submitting.** Duplicates slow down the process of fixing bugs. |
| 15 | +
|
| 16 | + - type: dropdown |
| 17 | + id: component |
| 18 | + attributes: |
| 19 | + label: Component |
| 20 | + description: Which part of Shiny for Python is affected? |
| 21 | + options: |
| 22 | + - UI Components (ui.*) |
| 23 | + - Server Logic (server.*) |
| 24 | + - Reactive Programming |
| 25 | + - Input Bindings |
| 26 | + - Output Bindings |
| 27 | + - Session Management |
| 28 | + - App Deployment |
| 29 | + - Documentation |
| 30 | + - Installation |
| 31 | + - Other |
| 32 | + validations: |
| 33 | + required: true |
| 34 | + |
| 35 | + - type: dropdown |
| 36 | + id: severity |
| 37 | + attributes: |
| 38 | + label: Severity |
| 39 | + description: How severe is this issue? |
| 40 | + options: |
| 41 | + - P0 - Critical (App crashes/unusable, blocking core functionality) |
| 42 | + - P1 - High (Major feature broken, significant impact on usability) |
| 43 | + - P2 - Medium (Feature works with workaround, noticeable impact) |
| 44 | + - P3 - Low (Minor inconvenience, cosmetic issue, or documentation suggestion) |
| 45 | + validations: |
| 46 | + required: true |
| 47 | + |
| 48 | + - type: input |
| 49 | + id: version |
| 50 | + attributes: |
| 51 | + label: Shiny Version |
| 52 | + description: What version of Shiny for Python are you using? (Check `shiny --version` in your terminal) |
| 53 | + placeholder: ex. 1.0.2 |
| 54 | + validations: |
| 55 | + required: true |
| 56 | + |
| 57 | + - type: input |
| 58 | + id: python-version |
| 59 | + attributes: |
| 60 | + label: Python Version |
| 61 | + description: What version of Python are you using? (Check `python --version` in your terminal) |
| 62 | + placeholder: ex. 3.10.6 |
| 63 | + validations: |
| 64 | + required: true |
| 65 | + |
| 66 | + - type: textarea |
| 67 | + id: minimal-example |
| 68 | + attributes: |
| 69 | + label: Minimal Reproducible Example |
| 70 | + description: | |
| 71 | + Please provide a *minimal*, self-contained Shiny app that clearly demonstrates the issue. |
| 72 | + This is **the most important part** of your bug report. The easier it is for us to reproduce the bug, the faster we can fix it. |
| 73 | +
|
| 74 | + * **Minimal:** Remove any code not directly related to the bug. |
| 75 | + * **Reproducible:** We should be able to copy and paste your code and run it to see the bug. |
| 76 | + * **Self-contained:** Include all necessary code in one file if possible. |
| 77 | +
|
| 78 | + Templates: |
| 79 | +
|
| 80 | + ```python |
| 81 | + from shiny import App, render, ui |
| 82 | +
|
| 83 | + app_ui = ui.page_fluid( |
| 84 | + # Your UI code here |
| 85 | + ) |
| 86 | +
|
| 87 | + def server(input, output, session): |
| 88 | + # Your server code here |
| 89 | + pass |
| 90 | +
|
| 91 | + app = App(app_ui, server) |
| 92 | + ``` |
| 93 | + render: python |
| 94 | + validations: |
| 95 | + required: true |
| 96 | + |
| 97 | + - type: textarea |
| 98 | + id: current-behavior |
| 99 | + attributes: |
| 100 | + label: Current Behavior |
| 101 | + description: A clear and concise description of what you are seeing happen. Be specific. |
| 102 | + placeholder: When I click the button labeled "Update Plot", the app freezes and I see a spinner, but the plot does not update. |
| 103 | + validations: |
| 104 | + required: true |
| 105 | + |
| 106 | + - type: textarea |
| 107 | + id: expected-behavior |
| 108 | + attributes: |
| 109 | + label: Expected Behavior |
| 110 | + description: A clear and concise description of what you expected to happen instead. |
| 111 | + placeholder: I expected the plot to update with new data points after clicking the "Update Plot" button, without freezing the app. |
| 112 | + validations: |
| 113 | + required: true |
| 114 | + |
| 115 | + - type: textarea |
| 116 | + id: error-messages |
| 117 | + attributes: |
| 118 | + label: Error Messages (if any) |
| 119 | + description: Please copy and paste any relevant error messages or tracebacks. If there are no error messages, you can leave this blank. |
| 120 | + render: shell |
| 121 | + |
| 122 | + - type: textarea |
| 123 | + id: environment |
| 124 | + attributes: |
| 125 | + label: Environment Information |
| 126 | + description: | |
| 127 | + Please provide details about your development/runtime environment. This information is very helpful for debugging. |
| 128 | +
|
| 129 | + **Please fill in the details below:** |
| 130 | + value: | |
| 131 | + - Operating System: [e.g., Windows 10, macOS 13.4, Ubuntu 20.04] |
| 132 | + - Browser: [e.g., Chrome 114, Firefox 115, Safari 16] |
| 133 | + - Key Dependencies (from `pip freeze` or `conda list`): |
| 134 | + - shiny: [e.g., 1.0.2] |
| 135 | + - pandas: [e.g., 2.0.0] |
| 136 | + - numpy: [e.g., 1.23.0] |
| 137 | + - plotly: [e.g., 5.15.0] |
| 138 | + - matplotlib: [e.g., 3.7.0] |
| 139 | + - any other relevant packages: [e.g., `requests==2.28.1`] |
| 140 | + render: markdown |
| 141 | + validations: |
| 142 | + required: true |
| 143 | + |
| 144 | + - type: textarea |
| 145 | + id: additional-context |
| 146 | + attributes: |
| 147 | + label: Additional Context |
| 148 | + description: | |
| 149 | + Add any other context or information about the problem here. This could include: |
| 150 | + - Browser console logs (if relevant to UI issues) |
| 151 | + - Screenshots or screen recordings |
| 152 | + - Performance profiles |
| 153 | + - Specific steps to reproduce the issue if your minimal example is still complex. |
| 154 | +
|
| 155 | + - type: checkboxes |
| 156 | + id: terms |
| 157 | + attributes: |
| 158 | + label: Code of Conduct |
| 159 | + description: By submitting this issue, you agree to follow our Code of Conduct. Please read it [link to Code of Conduct]. |
| 160 | + options: |
| 161 | + - label: I agree to follow this project's Code of Conduct |
| 162 | + required: true |
| 163 | + |
| 164 | + - type: checkboxes |
| 165 | + id: checks |
| 166 | + attributes: |
| 167 | + label: Final Checks |
| 168 | + description: Before submitting, please make sure you've completed these checks to help us resolve your issue faster. |
| 169 | + options: |
| 170 | + - label: I have searched for similar issues in the repository to avoid duplicates. |
| 171 | + - label: I have tested with the latest version of Shiny for Python to ensure the bug still exists. |
| 172 | + - label: I have included a minimal reproducible example that clearly demonstrates the issue. |
| 173 | + - label: I have filled out all required fields in this issue template to the best of my ability. |
0 commit comments