[PR #13293] Allow preview connection to take in a preview string to display #29474

Open
opened 2026-01-31 09:35:08 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/13293

State: closed
Merged: No


Summary of the Pull Request

When only the Profiles->Appearance page was using a preview control, it was okay to have a predefined 'preview' string that the preview control would display. Now that the ColorSchemes page also wants a preview control (to showcase all 16 colors), it makes sense to allow the page that is creating the preview control to decide what the preview string should be. So, the preview connection now takes in a preview string.

References

This is a prerequisite for #13269

PR Checklist

  • Closes #xxx
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated.
  • I work here

Validation Steps Performed

Profiles->Appearance preview control still works as before

**Original Pull Request:** https://github.com/microsoft/terminal/pull/13293 **State:** closed **Merged:** No --- ## Summary of the Pull Request When only the Profiles->Appearance page was using a preview control, it was okay to have a predefined 'preview' string that the preview control would display. Now that the ColorSchemes page also wants a preview control (to showcase all 16 colors), it makes sense to allow the page that is creating the preview control to decide what the preview string should be. So, the preview connection now takes in a preview string. ## References This is a prerequisite for #13269 ## PR Checklist * [ ] Closes #xxx * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [x] I work here ## Validation Steps Performed Profiles->Appearance preview control still works as before
claunia added the pull-request label 2026-01-31 09:35:08 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29474