Merged
Conversation
Introduces PowerShell scripts and HTML templates for generating social cards, along with related documentation and image assets. Updates package.json to include puppeteer as a dependency and modifies the site layout to support the new social card features.
Updated CSS to vertically center the command section in both the PowerShell and HTML social card templates. Added thor.png image to the static images and root social directory for use in social cards.
Introduces PNG generation from HTML social cards using Puppeteer via a new screenshot-card.js script. Updates New-DbaSocialCardAI.ps1 to call the script after HTML creation and adds a sample generated PNG for Get-DbaDatabase.
Separated HTML and PNG output directories in New-DbaSocialCardAI.ps1, updating parameters and file structure accordingly. Adjusted CSS for improved meta box appearance. Updated Hugo theme to reference new social card image paths. Added a test PNG file for direct output validation.
Introduced a new rule to always expand common tag abbreviations to their full forms in the social card HTML output. This improves clarity and consistency for users viewing the generated cards.
Added explicit instructions to use the .pipe class for pipe (|) characters in example code, ensuring proper spacing and styling. Updated the critical formatting rules and HTML template to reflect this change, and clarified example formatting for piped commands.
Expanded and clarified critical formatting rules for social card HTML generation, including detailed example selection, pipe vs line continuation, format decision tree, overflow prevention, and tag abbreviation expansion. Added parameters for AI tool and model selection, and updated example box width. These changes improve consistency and accuracy in card rendering and AI prompt flexibility.
Introduces a large set of HTML files under social/card-html, each corresponding to a dbatools command for social card generation. Also updates New-DbaSocialCardAI.ps1 to support these new templates, enabling automated social card creation for a wide range of dbatools functions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.