|
1
|
# Feature Request Triage |
|
2
|
|
|
3
|
## Step 1 — Check if the Feature Already Exists |
|
4
|
|
|
5
|
Search the codebase and documentation to confirm the feature doesn't already exist. |
|
6
|
|
|
7
|
**Where to look:** |
|
8
|
- Medusa source code (`packages/`) |
|
9
|
- Official docs (`www/apps/` or https://docs.medusajs.com) |
|
10
|
- Recent merged PRs or changelog for the feature |
|
11
|
|
|
12
|
--- |
|
13
|
|
|
14
|
### Feature EXISTS |
|
15
|
|
|
16
|
The feature is already available. Add a comment pointing the user to it, then close the issue. |
|
17
|
|
|
18
|
**Comment template — feature exists:** |
|
19
|
``` |
|
20
|
Thanks for the suggestion! This functionality is actually already available in Medusa. |
|
21
|
|
|
22
|
[Explanation of how to use it, with a link to the relevant docs or code example] |
|
23
|
|
|
24
|
I'm closing this issue since the feature exists. Feel free to reopen if you're looking for something different or have follow-up questions! |
|
25
|
``` |
|
26
|
|
|
27
|
Then: `bash scripts/close_issue.sh <issue_number>` |
|
28
|
|
|
29
|
--- |
|
30
|
|
|
31
|
### Feature does NOT exist |
|
32
|
|
|
33
|
Before converting to a discussion, assess whether the request is **straightforward enough for a community contribution**. |
|
34
|
|
|
35
|
--- |
|
36
|
|
|
37
|
#### Is it a good community contribution? |
|
38
|
|
|
39
|
Some feature requests are scoped, well-understood additions that don't require architectural decisions. If the request fits one of these patterns (or is similarly self-contained), invite a contribution instead of converting to a discussion: |
|
40
|
|
|
41
|
| Example | Label | Notes | |
|
42
|
|---------|-------|-------| |
|
43
|
| Add a new admin dashboard language/translation | `good first issue` | Link to [admin translations guide](https://docs.medusajs.com/learn/resources/contribution-guidelines/admin-translations) | |
|
44
|
| Add support for a new currency | `good first issue` | Typically a data addition | |
|
45
|
| Emit a missing event in a workflow or service | `good first issue` or `help-wanted` | Depends on how many touchpoints are involved | |
|
46
|
|
|
47
|
**General signals that a feature is contribution-ready:** |
|
48
|
- No architectural decisions needed — the pattern already exists elsewhere in the codebase |
|
49
|
- The change is additive (no breaking changes or redesign required) |
|
50
|
- The scope is clear and bounded |
|
51
|
|
|
52
|
**If it qualifies**, post a contribution invite comment and add the appropriate label: |
|
53
|
|
|
54
|
**Comment template — contribution invite:** |
|
55
|
``` |
|
56
|
Thanks for the request! This looks like a great opportunity for a community contribution. |
|
57
|
|
|
58
|
[Brief explanation of where/how the change would be made, pointing to similar existing patterns if helpful] |
|
59
|
|
|
60
|
We'd welcome a PR for this! Check out our [contribution guidelines](https://github.com/medusajs/medusa/blob/develop/CONTRIBUTING.md) to get started. |
|
61
|
``` |
|
62
|
|
|
63
|
For admin translation requests specifically, also link to: https://docs.medusajs.com/learn/resources/contribution-guidelines/admin-translations |
|
64
|
|
|
65
|
```bash |
|
66
|
bash scripts/labels.sh <issue_number> add good first issue |
|
67
|
# or |
|
68
|
bash scripts/labels.sh <issue_number> add help-wanted |
|
69
|
``` |
|
70
|
|
|
71
|
--- |
|
72
|
|
|
73
|
#### Not a good community contribution? |
|
74
|
|
|
75
|
If the request is broad, involves design decisions, or needs team input, convert it to a discussion instead. |
|
76
|
|
|
77
|
**Comment template — convert to discussion:** |
|
78
|
``` |
|
79
|
Thanks for the feature request! We use GitHub Discussions for tracking feature requests so they can be properly voted on and discussed by the community. |
|
80
|
|
|
81
|
This issue will be converted into a GitHub Discussion now. You'll be able to continue the conversation there. |
|
82
|
|
|
83
|
In the meantime, feel free to share any additional context or use cases that would help us understand the need better. |
|
84
|
``` |
|
85
|
|
|
86
|
Then convert the issue to a discussion: |
|
87
|
```bash |
|
88
|
bash scripts/convert_to_discussion.sh <issue_number> "Feature Requests" |
|
89
|
``` |