Commit 0b73ac4
authored
docs(projects): warn that Linear's API rejects emoji for --icon (#147)
* docs(projects): warn that Linear's API rejects emoji for --icon
Linear's GraphQL schema docstring claims project icons accept emoji or
icon names, but the upstream server-side validator rejects emoji at
runtime with a confusing INVALID_INPUT error. Update --icon help text on
both `projects create` and `projects update` to recommend named icons
(e.g. "Computer", "Database") and call out the schema/runtime mismatch
so users — especially LLM consumers — don't get misled.
Add regression tests that assert both help screens contain the warning.
Closes #146
* docs(projects): document emoji shortcodes as a valid --icon format
Follow-up investigation found Linear's API does accept emoji — but only
as colon-wrapped shortcodes (`:repeat:`, `:computer:`), not as raw
unicode characters (🔁). Two formats work:
- Emoji shortcodes: `:repeat:`, `:rocket:`, `:computer:`
- Named icons: `Computer`, `Database`
Update --icon help to call out both formats and explicitly warn that
raw unicode emoji are rejected. Update regression tests to assert the
new wording.1 parent d025801 commit 0b73ac4
2 files changed
Lines changed: 56 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
525 | 579 | | |
526 | 580 | | |
527 | 581 | | |
| |||
0 commit comments