microsoft / microsoft/CSS-Exchange
[Work Item] Create a Shared Function(s) for displaying object in a common format to avoid lots of lines of code/code changes
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.3k
- Forks
- 395
- Avg merge
- 14h 7m
- Merged PRs (30d)
- 5
Description
Describe the work
Would like to move and create more functions similar to this:
This will help the display of object a little bit better and avoid formatting issues like this:
Where adding a color code format to the object being displayed required multiple lines to be adjusted and if we add another attribute to the object that is longer, we have to then adjust all the lines as well to keep the same formatting.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading Search/Troubleshoot-ModernSearch/Write/WriteHelpers.ps1, the referenced example of shared display helpers. Search the repository for repeated object-formatting and color-output code, then determine the common scope and confirm that the affected output remains consistently aligned when attributes change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100