Skip to content

Commit 1523e9a

Browse files
authored
Generate interactive html template (#4)
* Add HTML and Markdown templates for release notes generation - Created an HTML template for release notes with structured sections for summary, work items, and pull requests. - Developed a Markdown template for release notes with similar structured sections. - Generated an initial release notes HTML file with sample data for testing purposes. * fix: Refactor release notes template to improve work items summary display * Refactor code structure for improved readability and maintainability * Implement code changes to enhance functionality and improve performance * Implement code changes to enhance functionality and improve performance * Refactor code structure for improved readability and maintainability * feat: Enhance release notes template and PR handling with improved description formatting * fix: Correct HTML structure for description row in release notes template * feat: Add description field to work items and update HTML template for better display of descriptions * feat: Integrate marked library for markdown to HTML conversion in release notes generation * Implement multiple code changes to enhance functionality and improve performance * Update release notes and task key - Changed task key in .taskkey file to a new UUID. - Enhanced the styling of release-notes.html: - Reformatted CSS for better readability. - Added custom styles for description cells to improve layout and responsiveness. - Updated description rows to use a span instead of a paragraph for "No description available" text. - Ensured consistent styling across all description rows for better visual coherence. - Updated generation timestamp in release notes. * fix: Update HTML structure for description display and improve styling in release notes * Implement code changes to enhance functionality and improve performance * feat: Add footer styling to release notes and update task key * Enhance release notes functionality with improved link handling and styling - Added CSS for highlighting expandable rows on hover. - Updated PR and work item links to use in-page anchors for smoother navigation. - Implemented JavaScript to handle click events on PR and work item links, allowing for smooth scrolling and highlighting of corresponding rows. - Ensured all description rows collapse when a new link is clicked, maintaining a clean user interface. * refactor: Remove unnecessary console logs in HTML release notes generation
1 parent 1d5d8bb commit 1523e9a

21 files changed

+2473
-150
lines changed

CommitRangeReleaseNotesTask/package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CommitRangeReleaseNotesTask/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"dependencies": {
1414
"azure-pipelines-task-lib": "^4.17.3",
1515
"handlebars": "^4.7.7",
16+
"marked": "^4.3.0",
1617
"typescript": "^4.8.4"
1718
},
1819
"devDependencies": {

0 commit comments

Comments
 (0)