File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
packages/core/src/feedback/vue Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ export class FeedbackWebview extends VueWebview {
4141 return 'Choose a reaction (smile/frown)'
4242 }
4343
44+ if ( message . comment . length < 188 ) {
45+ return 'Please add atleast 100 characters in the template describing your issue.'
46+ }
47+
4448 if ( this . commentData ) {
4549 message . comment = `${ message . comment } \n\n${ this . commentData } `
4650 }
Original file line number Diff line number Diff line change 3434 >.</em
3535 >
3636 </div >
37+ <div style =" margin-top : 10px " >
38+ <em >For helpful feedback, please include:</em >
39+ <ul style =" margin-top : 5px ; margin-bottom : 5px " >
40+ <li >
41+ <em ><strong >Issue:</strong > A brief summary of the issue or suggestion</em >
42+ </li >
43+ <li >
44+ <em
45+ ><strong >Reproduction Steps:</strong > Clear steps to reproduce the issue (if
46+ applicable)</em
47+ >
48+ </li >
49+ <li >
50+ <em
51+ ><strong >Expected vs. Actual:</strong > What you expected and what actually
52+ happened</em
53+ >
54+ </li >
55+ </ul >
56+ </div >
3757 <br />
3858 <div >
3959 <em >
@@ -66,7 +86,16 @@ const client = WebviewClientFactory.create<FeedbackWebview>()
6686export default defineComponent ({
6787 data() {
6888 return {
69- comment: ' ' ,
89+ comment: ` Issue:
90+
91+ Reproduction Steps:
92+ 1.
93+ 2.
94+ 3.
95+
96+ Expected Behavior:
97+
98+ Actual Behavior: ` ,
7099 sentiment: ' ' ,
71100 isSubmitting: false ,
72101 error: ' ' ,
You can’t perform that action at this time.
0 commit comments