MCPcopy Index your code
hub / github.com/adobe/react-spectrum / buildBugsNotesSheet

Function buildBugsNotesSheet

scripts/createExcelSheet.mjs:32–58  ·  view source on GitHub ↗
(workbook)

Source from the content-addressed store, hash-verified

30];
31
32function 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
60function buildReleaseNotesSheet(workbook, {v3PRs, s2PRs, racPRs, otherPRs, offPRs}) {
61 let sheet = workbook.addWorksheet('Release Notes');

Callers 1

createTestingSheetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected