Skip to content

Commit

Permalink
Merge pull request #3 from fifthstreetpartners/feature/add-process-su…
Browse files Browse the repository at this point in the history
…pport

Adding formatted views
  • Loading branch information
fifthstreetpartners authored Jan 18, 2019
2 parents 2dfbf19 + aa3efd7 commit 5ff3bfd
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
1 change: 0 additions & 1 deletion VSTeam.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@
'Add-GitRepository',
'Remove-GitRepository',
'Get-Pool',
'Get-Process',
'Get-Project',
'Show-Project',
'Update-Project',
Expand Down
59 changes: 59 additions & 0 deletions formats/vsteamPSDrive.format.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,65 @@
</ListControl>
</View>

<!--Team.ProcessTable-->
<View>
<Name>Team.ProcessTable</Name>
<ViewSelectedBy>
<TypeName>Team.Process</TypeName>
</ViewSelectedBy>
<TableControl>
<AutoSize/>
<TableHeaders>
<TableColumnHeader>
<Label>Name</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>Description</Label>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
<Wrap/>
<TableColumnItems>
<TableColumnItem>
<PropertyName>Name</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>Description</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>

<!--ProcessListView-->
<View>
<Name>ProessListView</Name>
<ViewSelectedBy>
<TypeName>Team.Process</TypeName>
<TypeName>Team.Provider.Process</TypeName>
<TypeName>VSTeamProcess</TypeName>
</ViewSelectedBy>
<ListControl>
<ListEntries>
<ListEntry>
<ListItems>
<ListItem>
<PropertyName>Name</PropertyName>
</ListItem>
<ListItem>
<PropertyName>ID</PropertyName>
</ListItem>
<ListItem>
<PropertyName>Description</PropertyName>
</ListItem>
</ListItems>
</ListEntry>
</ListEntries>
</ListControl>
</View>

<!-- Put the defaults last because the first matching format is used. -->

<!--Team.Pool.Table-->
Expand Down

0 comments on commit 5ff3bfd

Please sign in to comment.