|
| 1 | +name: Design consideration |
| 2 | +description: Discuss intentional but suboptimal behavior or possible design improvements |
| 3 | +title: "[Design] " |
| 4 | +labels: |
| 5 | + - design |
| 6 | + |
| 7 | +body: |
| 8 | + - type: markdown |
| 9 | + attributes: |
| 10 | + value: | |
| 11 | + This issue type is for discussing **intentional library behavior that feels suboptimal**, |
| 12 | + surprising, or worth reconsidering. |
| 13 | +
|
| 14 | + If the behavior looks unintentional, undocumented, or plainly wrong, |
| 15 | + a **Bug report** might be a better fit. |
| 16 | +
|
| 17 | + If you’re unsure — just describe what you see and why it feels off. |
| 18 | +
|
| 19 | + For quick questions or general design advice, you may also want to ask on |
| 20 | + [StackOverflow](https://stackoverflow.com/) or in the |
| 21 | + [Kotlin Slack](https://slack-chats.kotlinlang.org/). |
| 22 | +
|
| 23 | + - type: textarea |
| 24 | + id: current |
| 25 | + attributes: |
| 26 | + label: What do we have today? |
| 27 | + description: | |
| 28 | + Describe the current behavior. |
| 29 | + Code examples are very helpful. |
| 30 | + placeholder: | |
| 31 | + Currently, this behaves like: |
| 32 | + ```kotlin |
| 33 | + // example |
| 34 | + ``` |
| 35 | + validations: |
| 36 | + required: true |
| 37 | + |
| 38 | + - type: textarea |
| 39 | + id: concern |
| 40 | + attributes: |
| 41 | + label: Why does this feel problematic? |
| 42 | + description: | |
| 43 | + What is suboptimal, awkward, or limiting about the current behavior? |
| 44 | + placeholder: | |
| 45 | + This makes it hard to... |
| 46 | + validations: |
| 47 | + required: true |
| 48 | + |
| 49 | + - type: textarea |
| 50 | + id: idea |
| 51 | + attributes: |
| 52 | + label: Possible alternative (optional) |
| 53 | + description: | |
| 54 | + If you have an idea of how this could work differently, feel free to share it. |
| 55 | + This can be vague, incomplete, or exploratory. |
| 56 | + placeholder: | |
| 57 | + It might be nicer if... |
| 58 | + ```kotlin |
| 59 | + // sketch |
| 60 | + ``` |
| 61 | + validations: |
| 62 | + required: false |
| 63 | + |
| 64 | + - type: textarea |
| 65 | + id: tradeoffs |
| 66 | + attributes: |
| 67 | + label: Trade-offs you see (optional) |
| 68 | + description: | |
| 69 | + Any pros, cons, risks, or breaking-change concerns you already thought about. |
| 70 | + Not required, but very welcome. |
| 71 | + placeholder: | |
| 72 | + One concern is that this could... |
| 73 | + validations: |
| 74 | + required: false |
| 75 | + |
| 76 | + - type: textarea |
| 77 | + id: additional |
| 78 | + attributes: |
| 79 | + label: Anything else? (optional) |
| 80 | + description: | |
| 81 | + Context, links to prior discussions, production experience, or related issues. |
| 82 | + validations: |
| 83 | + required: false |
0 commit comments