(workbook)
| 30 | ]; |
| 31 | |
| 32 | function buildBugsNotesSheet(workbook) { |
| 33 | let sheet = workbook.addWorksheet('Bugs & Notes'); |
| 34 | |
| 35 | sheet.columns = [ |
| 36 | {width: 25}, |
| 37 | {width: 18}, |
| 38 | {width: 50}, |
| 39 | {width: 18}, |
| 40 | {width: 15}, |
| 41 | {width: 50}, |
| 42 | {width: 25} |
| 43 | ]; |
| 44 | sheet.getColumn(3).alignment = {wrapText: true, vertical: 'top'}; |
| 45 | sheet.getColumn(6).alignment = {wrapText: true, vertical: 'top'}; |
| 46 | |
| 47 | let header = sheet.addRow(BUGS_NOTES_HEADER); |
| 48 | header.font = {bold: true}; |
| 49 | |
| 50 | let priorityValidation = { |
| 51 | type: 'list', |
| 52 | allowBlank: true, |
| 53 | formulae: [`"${PRIORITY_OPTIONS.join(',')}"`] |
| 54 | }; |
| 55 | for (let i = 2; i <= 500; i++) { |
| 56 | sheet.getCell(`B${i}`).dataValidation = priorityValidation; |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | function buildReleaseNotesSheet(workbook, {v3PRs, s2PRs, racPRs, otherPRs, offPRs}) { |
| 61 | let sheet = workbook.addWorksheet('Release Notes'); |
no outgoing calls
no test coverage detected