feat(Prompt): Add Title to project Prompt and many more #200
Conversation
… database functions
…with detailed segment information
| param( | ||
| [Parameter(ValueFromPipelineByPropertyName)][string]$Owner, | ||
| [Parameter(ValueFromPipelineByPropertyName)][string]$ProjectNumber, | ||
| [Parameter(ValueFromPipelineByPropertyName)][string]$ProjectTitle, |
Check warning
Code scanning / PSScriptAnalyzer
Command accepts pipeline input but has not defined a process block. Warning
| function Copy-ProjectIssue { | ||
| [CmdletBinding()] | ||
| param( | ||
| #Source Item |
Check warning
Code scanning / PSScriptAnalyzer
Command accepts pipeline input but has not defined a process block. Warning
| function Copy-ProjectIssue { | ||
| [CmdletBinding()] | ||
| param( | ||
| #Source Item |
Check warning
Code scanning / PSScriptAnalyzer
Command accepts pipeline input but has not defined a process block. Warning
| param( | ||
| [Parameter(ValueFromPipelineByPropertyName)][string]$Owner, | ||
| [Parameter(ValueFromPipelineByPropertyName)][int]$ProjectNumber | ||
| [Parameter(ValueFromPipelineByPropertyName)][int]$ProjectNumber, |
Check warning
Code scanning / PSScriptAnalyzer
Command accepts pipeline input but has not defined a process block. Warning
| [Parameter(ValueFromPipelineByPropertyName)][string]$Owner, | ||
| [Parameter(ValueFromPipelineByPropertyName)][int]$ProjectNumber | ||
| [Parameter(ValueFromPipelineByPropertyName)][int]$ProjectNumber, | ||
| [Parameter(ValueFromPipelineByPropertyName)][string]$View |
Check warning
Code scanning / PSScriptAnalyzer
Command accepts pipeline input but has not defined a process block. Warning
|
|
||
| Assert-AreEqual -Presented $result[$resultLine + 4] -Expected $($($s.TitleStatus.PreText)+$projectTitle) | ||
| Assert-AreEqual -Presented $result[$resultLine + 5] -Expected "" # $s.DelimStatus2.PreText is " " that is converted to "" by posh-git" | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace Note
|
|
||
| # Last Known Good Owner | ||
| Owner = Get-EnvItem -Name "EnvironmentCache_Owner" | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace Note
|
|
||
| } Export-ModuleMember -Function New-ProjectIssue -Alias npi No newline at end of file | ||
| } Export-ModuleMember -Function New-ProjectIssue -Alias npi | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
The cmdlet 'Copy-ProjectIssue' does not have a help comment. Note
| throw "Project not found for Owner [$Owner] and ProjectNumber [$ProjectNumber]" | ||
| } | ||
| $projectUrl = $project.url | ||
|
|
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace Note
|
|
||
| SetProjectHelperPromptSettings -value $s | ||
|
|
||
| } Export-ModuleMember -Function Initialize-ProjectHelperPromptSettings |
Check notice
Code scanning / PSScriptAnalyzer
Line has trailing whitespace Note
Add functionality for managing project titles and enhance issue duplication capabilities. Introduce commands for creating issues and customizing project URLs. Implement sanity checks in the database to prevent errors during item saving. Update tests to ensure reliability of new features and validate project parameters effectively.
feat(environment): add project title handling in project parameters
feat(prompt): add projecttitle to the prompt
feat(test): test for adding projecttitle to prompt
feat(issue): add Copy-ProjectIssue function for issue duplication
fix(database): add sanity check for item projectUrl to prevent saving errors
feat(issue): add issue creation command for development
fix(test): update mock project reference in GetProjectItemUrl test
fix(database): enhance item validation and update handling in project database functions
fix(test): enhance draft issue handling and URL generation in user order tests
docs(prompt): update ProjectHelperPromptSettings configuration guide with detailed segment information
feat(project): add View parameter to Open-Project function for URL customization