microsoft / microsoft/microsoft-performance-toolkit-sdk
SDK should support UIHint of displaying Timestamp as DateTime
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 239
- Forks
- 78
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 2
Description
For data sources sourced from log files with absolute timestamps, I heavily prefer to display to the user the absolute timestamp as well as the calculated relative timestamp.
The SDK provides hints for other UI items, but it doesn't seem to do so for this. For example:
// todo: needs to be changed by user manually to DateTime UTC format in UI. SDK doesn't yet support specifying this <DateTimeTimestampOptionsParameter DateTimeEnabled="true" />
private static readonly ColumnConfiguration TimestampAbsColumn = new ColumnConfiguration(
new ColumnMetadata(new Guid("{B5896C69-020C-40A0-9BDC-C34A19011C28}"), "Timestamp", "Timestamp when the message was created."),
new UIHints { Width = 80, });
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 locating the SDK's UIHints implementation and the DateTimeTimestampOptionsParameter referenced in the example. Trace how existing UI hints are exposed to consumers and define what support for DateTimeEnabled should look like; done means a timestamp column can request both absolute DateTime and relative timestamp display through the SDK.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100