q-a.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. body:
  2. - type: markdown
  3. attributes:
  4. value: |
  5. Thanks for your interest in NiceGUI! 🚀
  6. Please follow these instructions, fill every question, and do every step. 🙏
  7. We're asking this because answering questions and solving problems on GitHub consumes a lot of the time.
  8. By asking questions in a structured way (following this) it will be much easier to help you.
  9. And there's a high chance that you will find the solution along the way and you won't even have to submit it and wait for an answer. 😎
  10. - type: checkboxes
  11. id: checks
  12. attributes:
  13. label: First Check
  14. description: Please confirm and check all the following options.
  15. options:
  16. - label: I added a very descriptive title here.
  17. required: true
  18. - label: I have checked the [FAQs](/zauberzeug/nicegui/wiki/FAQs) for a similar question and didn't find it.
  19. required: true
  20. - label: I used the GitHub search to find a similar [question](https://github.com/zauberzeug/nicegui/discussions/categories/q-a) and didn't find it.
  21. required: true
  22. - label: I searched the NiceGUI documentation, with the integrated search.
  23. required: true
  24. - label: I already searched online "How to X in NiceGUI" and didn't find any information.
  25. required: true
  26. - type: textarea
  27. id: example
  28. attributes:
  29. label: Example Code
  30. description: |
  31. Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.
  32. If one can copy it, run it, and see it right away, there's a much higher chance we (or someone from the community) will be able to help you.
  33. placeholder: |
  34. from nicegui import ui
  35. ui.label('Hello, world!')
  36. ui.run()
  37. render: python
  38. validations:
  39. required: true
  40. - type: textarea
  41. id: description
  42. attributes:
  43. label: Description
  44. description: |
  45. What is the problem, question, or error?
  46. Write a short description telling us what you are doing, what you expect to happen, and what is currently happening.
  47. placeholder: |
  48. Start the app.
  49. The browser opens and shows a label with text "Hello, world!".
  50. But I expected it to show "Hello, Alice!".
  51. validations:
  52. required: true
  53. - type: input
  54. id: nicegui-version
  55. attributes:
  56. label: NiceGUI Version
  57. description: |
  58. What NiceGUI version are you using?
  59. You can find the NiceGUI version with:
  60. ```bash
  61. python -c "import nicegui; print(nicegui.__version__)"
  62. ```
  63. validations:
  64. required: true
  65. - type: input
  66. id: python-version
  67. attributes:
  68. label: Python Version
  69. description: |
  70. What Python version are you using?
  71. You can find the Python version with:
  72. ```bash
  73. python --version
  74. ```
  75. validations:
  76. required: true
  77. - type: dropdown
  78. id: browser
  79. attributes:
  80. label: Browser
  81. description: What browser have you tested with?
  82. multiple: true
  83. options:
  84. - Chrome
  85. - Safari
  86. - Edge
  87. - Firefox
  88. - Opera
  89. - Samsung Internet
  90. - Other
  91. validations:
  92. required: true
  93. - type: dropdown
  94. id: os
  95. attributes:
  96. label: Operating System
  97. description: What operating system are you on?
  98. options:
  99. - Linux
  100. - macOS
  101. - Windows
  102. - Android
  103. - iOS
  104. - Other
  105. validations:
  106. required: true
  107. - type: textarea
  108. id: context
  109. attributes:
  110. label: Additional Context
  111. description: Add any additional context information or screenshots you think are useful.