Commit 9258bc3
committed
feat(ui): wire Contribute/Request affordances to merged registry templates
The Contribute / Request affordances (c8c3f1c) originally pre-filled
issue URLs with ?labels= params. Now that mcp-servers ships dedicated
issue templates (request-server.yml, bug-report.yml) and the registry's
CONTRIBUTING.md covers the PR path in depth, switch to ?template= deep
links and re-route the "Contribute" action to the PR flow.
- `lib/contribute.ts`
* `bug` / `featureRequest` → ?template=bug_report.yml / feature_request.yml
* `requestServer(term)` → ?template=request-server.yml, title prefix
"[Request] " (matches template expectations)
* `contributeServer` → direct link to mcp-servers CONTRIBUTING.md; issue
forms cannot open PRs, so this sends users straight down the fork → PR
path instead of through an intermediate issue
* `serverDefinitionBug` (new) → ?template=bug-report.yml for reporting
broken definitions in the registry
- `components/ConfigEditorModal.tsx`
Adds the existing RequestServerCTA above the Monaco editor in the
"Add Custom Server" modal. Users about to hand-roll a custom server
config see a clear nudge to check whether one already exists, with
Request/Contribute buttons matching the rest of the app.
- `.github/ISSUE_TEMPLATE/config.yml`
* Enables blank issues.
* Adds three cross-repo contact links so the "New issue" chooser surfaces
the registry's PR guide, Request-a-Server template, and Report-a-bug
template (avoids cross-repo ticket drift).
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>1 parent 3cd9d8a commit 9258bc3
3 files changed
Lines changed: 34 additions & 10 deletions
File tree
- .github/ISSUE_TEMPLATE
- apps/desktop/src
- components
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
224 | 231 | | |
225 | 232 | | |
226 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
39 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
40 | 48 | | |
41 | 49 | | |
42 | 50 | | |
| |||
0 commit comments