1+ name : " Bug report"
2+ description : " Report a reproducible bug in data-context"
3+ title : " [Bug]: "
4+ labels : ["bug"]
5+ assignees : []
6+ body :
7+ - type : markdown
8+ attributes :
9+ value : |
10+ Thanks for reporting a bug! Please fill out the form below as completely as possible to help us reproduce and fix the issue quickly.
11+ - type : checkboxes
12+ id : duplicates
13+ attributes :
14+ label : Is there an existing issue for this?
15+ description : Please search to see if an issue already exists for the problem you’re experiencing.
16+ options :
17+ - label : I have searched the existing issues
18+ required : true
19+ - type : input
20+ id : version
21+ attributes :
22+ label : data-context version
23+ description : Output of `npm ls data-context` or the version from package.json.
24+ placeholder : " e.g. 2.0.0"
25+ validations :
26+ required : true
27+ - type : input
28+ id : node
29+ attributes :
30+ label : Node.js version
31+ placeholder : " e.g. v18.20.3, v20.16.0"
32+ - type : input
33+ id : browser
34+ attributes :
35+ label : Browser and version (if applicable)
36+ placeholder : " e.g. Chrome 128, Firefox 127"
37+ - type : input
38+ id : os
39+ attributes :
40+ label : OS
41+ placeholder : " e.g. Windows 11, macOS 14.5, Ubuntu 24.04"
42+ - type : textarea
43+ id : description
44+ attributes :
45+ label : Describe the bug
46+ description : A clear and concise description of what the bug is.
47+ placeholder : " What happened? What did you expect to happen?"
48+ validations :
49+ required : true
50+ - type : textarea
51+ id : repro-steps
52+ attributes :
53+ label : Steps to reproduce
54+ description : Provide exact steps to reproduce the issue.
55+ placeholder : |
56+ 1. Using code snippet below
57+ 2. Run `node index.test.js`
58+ 3. Observe error message...
59+ validations :
60+ required : true
61+ - type : textarea
62+ id : code
63+ attributes :
64+ label : Minimal reproducible code
65+ description : Provide a minimal snippet (no external deps) that reproduces the issue.
66+ render : javascript
67+ placeholder : |
68+ const DC = require('data-context');
69+ const { parse, createDataContext } = DC;
70+ const ctx = parse('{"count":0}', createDataContext);
71+ // ...
72+ - type : textarea
73+ id : expected
74+ attributes :
75+ label : Expected behavior
76+ placeholder : " What should have happened?"
77+ validations :
78+ required : true
79+ - type : textarea
80+ id : actual
81+ attributes :
82+ label : Actual behavior
83+ placeholder : " What actually happened?"
84+ validations :
85+ required : true
86+ - type : textarea
87+ id : logs
88+ attributes :
89+ label : Logs / stack trace
90+ render : text
91+ placeholder : " Paste relevant logs or stack traces here."
92+ - type : textarea
93+ id : extras
94+ attributes :
95+ label : Additional context / screenshots
96+ placeholder : " Anything else relevant to the issue."
97+ - type : checkboxes
98+ id : contribution
99+ attributes :
100+ label : Are you willing to submit a PR?
101+ options :
102+ - label : Yes, I’m willing to submit a PR to fix this
0 commit comments