Skip to content

feat(project_item): implement Show-ProjectItem function for enhanced item display - #153

Merged
rulasg merged 10 commits into
mainfrom
Show-ProjectItem
Oct 12, 2025
Merged

feat(project_item): implement Show-ProjectItem function for enhanced item display#153
rulasg merged 10 commits into
mainfrom
Show-ProjectItem

Conversation

@rulasg

@rulasg rulasg commented Oct 10, 2025

Copy link
Copy Markdown
Owner

Main Feature

  • feat(project_item): implement Show-ProjectItem function for enhanced …

Other improvements

  • refactor(project_item): remove Show-ProjectItem function and related …
  • refactor(all): Refactor filders and files location
  • refactor(issue): streamline GraphQL query retrieval in issue functions

Fixes

  • fix(mock): update totalCount calculation to use nodes.count
  • fix(project_item): typo on file name Search-ProjectItem function
  • fix(Write-ToConsole): handle empty color parameter in Write-ToConsole…
  • fix(Write-HostPrompt): specify Write-Host from Microsoft.PowerShell.U…
  • fix(transcript): ensure Stop-MyTranscript returns transcript content …
  • fix(test): replace Stop-MyTranscript with Stop-MyTranscript2 to resol…

Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
Comment thread public/items/project_item.ps1 Fixed
@@ -0,0 +1,32 @@
function Use-Order {

Check notice

Code scanning / PSScriptAnalyzer

The cmdlet 'Use-Order' does not have a help comment. Note

The cmdlet 'Use-Order' does not have a help comment.
$item | Add-Member -NotePropertyName "#" -NotePropertyValue $i -Force
$i++
}

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace

function Stop-MyTranscript {
Stop-Transcript

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
$firstLine = $i[1] + 1
$lastLine = $i[2] - 1

$retlist = $transcriptContent[$firstLine..$lastLine]

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
@@ -0,0 +1,62 @@
function Test_Write_Sucess {

Check notice

Code scanning / PSScriptAnalyzer

The cmdlet 'Test_Write_Sucess' does not have a help comment. Note

The cmdlet 'Test_Write_Sucess' does not have a help comment.

Invoke-PrivateContext {
Start-Transcript -Path test.log

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
@{ Color = "Cyan"; Text = " "; BetweenQuotes = $false; PreFix = "WhiteSpace: "; ; ExpectedText = "WhiteSpace: (empty)" }
@{ Color = "Cyan"; Text = " "; BetweenQuotes = $true; PreFix = "WhiteSpace2: "; ; ExpectedText = 'WhiteSpace2: "(empty)"' }
)

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
$item.number | write -Color Cyan -PreFix "#"
addSpace
$item.Title | write -Color Yellow -BetweenQuotes

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
$item.Title | write -Color Yellow -BetweenQuotes

addJumpLine

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
}

addJumpLine

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
if($PreFix){
$text = $PreFix + $text
}

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
$color = $_.Color
$prefix = $_.Prefix
$BetweenQuotes = $_.BetweenQuotes

Check notice

Code scanning / PSScriptAnalyzer

Line has trailing whitespace Note

Line has trailing whitespace
@rulasg
rulasg merged commit ee32b9a into main Oct 12, 2025
3 of 4 checks passed
@rulasg
rulasg deleted the Show-ProjectItem branch October 12, 2025 08:22
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.

2 participants