[PR #10047] [MERGED] Keep the last selected pivot active when navigating over profile pages #27868

Closed
opened 2026-01-31 09:24:47 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10047
Author: @kovdu
Created: 5/6/2021
Status: Merged
Merged: 5/7/2021
Merged by: @undefined

Base: mainHead: 9920-keep-active-pivot-when-navigating-over-profiles


📝 Commits (1)

  • 832f933 Keep the last selected pivot active when navigating over profile pages

📊 Changes

1 file changed (+2 additions, -8 deletions)

View changed files

📝 src/cascadia/TerminalSettingsEditor/Profiles.h (+2 -8)

📄 Description

PR Checklist

Validation Steps Performed

  • When opening a profile page and selecting a random pivot, when then navigating away from the profile page to another item and navigating back to the same profile the last selected pivot was still active.
  • When opening a profile page and selecting a random pivot, when then navigating away from the profile page to a second profile the last selected pivot was immediately active on the second profile.
  • When selecting random pivots and navigating only between other profile pages the last selected pivot was always active on the opened profile page.

What felt a bit strange at first sight was:

  • open a profile page, select a random pivot
  • start adding a new profile
  • the last selected pivot is immediately active and not the "General" pivot what might be the obvious pivot to show when a user wants to add a new profile.

After playing a bit more with this this started to feel ok. Since as a user you might go to "Add new profile" immediately anyway instead of opening other profiles first.

Just explicitly highlighting this last point since maybe someone prefers that we need to make sure to always start with the 'General' pivot when adding a new profile and then this fix is not correct.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/10047 **Author:** [@kovdu](https://github.com/kovdu) **Created:** 5/6/2021 **Status:** ✅ Merged **Merged:** 5/7/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `9920-keep-active-pivot-when-navigating-over-profiles` --- ### 📝 Commits (1) - [`832f933`](https://github.com/microsoft/terminal/commit/832f9334a8d0806cccfc340a056e6f624660d55e) Keep the last selected pivot active when navigating over profile pages ### 📊 Changes **1 file changed** (+2 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalSettingsEditor/Profiles.h` (+2 -8) </details> ### 📄 Description ## PR Checklist * [x] Closes #9920 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA ## Validation Steps Performed - When opening a profile page and selecting a random pivot, when then navigating away from the profile page to another item and navigating back to the same profile the last selected pivot was still active. - When opening a profile page and selecting a random pivot, when then navigating away from the profile page to a second profile the last selected pivot was immediately active on the second profile. - When selecting random pivots and navigating only between other profile pages the last selected pivot was always active on the opened profile page. What felt a bit strange at first sight was: - open a profile page, select a random pivot - start adding a new profile - the last selected pivot is immediately active and not the "General" pivot what might be the obvious pivot to show when a user wants to add a new profile. After playing a bit more with this this started to feel ok. Since as a user you might go to "Add new profile" immediately anyway instead of opening other profiles first. Just explicitly highlighting this last point since maybe someone prefers that we need to make sure to always start with the 'General' pivot when adding a new profile and then this fix is not correct. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:24:47 +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#27868