Skip to content

Add some logging around tab renamer usage#8520

Merged
2 commits merged intomainfrom
dev/migrie/f/renamer-usage-research
Dec 10, 2020
Merged

Add some logging around tab renamer usage#8520
2 commits merged intomainfrom
dev/migrie/f/renamer-usage-research

Conversation

@zadjii-msft
Copy link
Member

@zadjii-msft zadjii-msft commented Dec 8, 2020

We've got similar logging around the command palette, we really should have the same logging on the tab renamer as well.

PR Checklist

  • I work here
  • Tests added/passed
  • [n/a] Requires documentation to be updated

Validation Steps Performed

image
Look, it works

@zadjii-msft zadjii-msft added Product-Terminal The new Windows Terminal. Gathering-Data We'd like to gather telemetry to influence our decision labels Dec 8, 2020
// it'll get fired twice, once when the key is pressed to commit/cancel,
// and then again when the focus is lost

TraceLoggingWrite(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only nit is do we want to put the log in the end of the method, after the box is actually closed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah -- since this function is unlikely to fail between now and then 😄

Copy link
Contributor

@Don-Vito Don-Vito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW I like it (not sure if the nit I mentioned is relevant)

@DHowett DHowett added the AutoMerge Marked for automatic merge by the bot when requirements are met label Dec 10, 2020
@ghost
Copy link

ghost commented Dec 10, 2020

Hello @DHowett!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@zadjii-msft zadjii-msft added the Needs-Second It's a PR that needs another sign-off label Dec 10, 2020
@ghost ghost merged commit f751cad into main Dec 10, 2020
@ghost ghost deleted the dev/migrie/f/renamer-usage-research branch December 10, 2020 17:13
mpela81 pushed a commit to mpela81/terminal that referenced this pull request Jan 28, 2021
We've got similar logging around the command palette, we really should have the same logging on the tab renamer as well.

## PR Checklist
* [x] I work here
* [ ] Tests added/passed
* [n/a] Requires documentation to be updated

## Validation Steps Performed

![image](https://user-images.githubusercontent.com/18356694/101487414-c237af80-3923-11eb-9997-81549e4f1a1b.png)
Look, it works
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AutoMerge Marked for automatic merge by the bot when requirements are met Gathering-Data We'd like to gather telemetry to influence our decision Needs-Second It's a PR that needs another sign-off Product-Terminal The new Windows Terminal.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants