Skip to content

feat(Prompt): Add Title to project Prompt and many more #200

Merged
rulasg merged 11 commits intomainfrom
rulasg/issue194
Feb 28, 2026
Merged

feat(Prompt): Add Title to project Prompt and many more #200
rulasg merged 11 commits intomainfrom
rulasg/issue194

Conversation

@rulasg
Copy link
Owner

@rulasg rulasg commented Feb 28, 2026

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

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

Command accepts pipeline input but has not defined a process block.
function Copy-ProjectIssue {
[CmdletBinding()]
param(
#Source Item

Check warning

Code scanning / PSScriptAnalyzer

Command accepts pipeline input but has not defined a process block. Warning

Command accepts pipeline input but has not defined a process block.
function Copy-ProjectIssue {
[CmdletBinding()]
param(
#Source Item

Check warning

Code scanning / PSScriptAnalyzer

Command accepts pipeline input but has not defined a process block. Warning

Command accepts pipeline input but has not defined a process block.
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

Command accepts pipeline input but has not defined a process block.
[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

Command accepts pipeline input but has not defined a process block.

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

Line has trailing whitespace

# Last Known Good Owner
Owner = Get-EnvItem -Name "EnvironmentCache_Owner"

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace

} 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

The cmdlet 'Copy-ProjectIssue' does not have a help comment.
throw "Project not found for Owner [$Owner] and ProjectNumber [$ProjectNumber]"
}
$projectUrl = $project.url

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace

SetProjectHelperPromptSettings -value $s

} Export-ModuleMember -Function Initialize-ProjectHelperPromptSettings

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
@rulasg rulasg merged commit 2cb3bda into main Feb 28, 2026
3 checks passed
@rulasg rulasg deleted the rulasg/issue194 branch February 28, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant