Add startupActions to Settings UI #12078

Open
opened 2026-01-31 03:05:50 +00:00 by claunia · 4 comments
Owner

Originally created by @carlos-zamora on GitHub (Jan 15, 2021).

Similar to #8755. These are settings that were added to v1.6 that need to be added to the Settings UI (or include reasoning for why not add them):

Setting Required? Notes
startupActions #8770

This may not be a comprehensive list. @cinnamon-msft is verifying if any are missing and will update this issue accordingly.
EDIT: verified that startupActions is the only one. Updating the issue title appropriately.

Resources:

Originally created by @carlos-zamora on GitHub (Jan 15, 2021). Similar to #8755. These are settings that were added to v1.6 that need to be added to the Settings UI (or include reasoning for why not add them): | Setting | Required? | Notes | |--|--|--| | `startupActions` | ✔ | #8770 | ~This may not be a comprehensive list. @cinnamon-msft is verifying if any are missing and will update this issue accordingly.~ EDIT: verified that `startupActions` is the only one. Updating the issue title appropriately. Resources: - [Documentation for adding a setting](https://github.com/microsoft/terminal/blob/main/doc/cascadia/AddASetting.md)
claunia added the Issue-TaskIn-PRProduct-TerminalArea-SettingsUI labels 2026-01-31 03:05:50 +00:00
Author
Owner

@DHowett commented on GitHub (Jan 16, 2021):

This seems a little more advanced, and a late bring-in to get into the settings UI. For it to work properly, we would need to fully parse the commandline string inside the SUI just to make sure it's valid before we let the user commit it. I don't know if we should try to push to get this into 1.6.

@DHowett commented on GitHub (Jan 16, 2021): This seems a little more advanced, and a late bring-in to get into the settings UI. For it to work properly, we would need to fully parse the commandline string inside the SUI just to make sure it's valid before we let the user commit it. I don't know if we should try to push to get this into 1.6.
Author
Owner

@DHowett commented on GitHub (Jan 16, 2021):

image

image

We would probably want the same behavior in the SUI as well, right? That's not 1.6 territory given how close we are to the snap date.

@DHowett commented on GitHub (Jan 16, 2021): ![image](https://user-images.githubusercontent.com/189190/104823217-7ec34180-57fd-11eb-9cc0-a576624df923.png) ![image](https://user-images.githubusercontent.com/189190/104823227-8a166d00-57fd-11eb-884b-1bb5ab20a640.png) We would probably want the same behavior in the SUI as well, right? That's _not_ 1.6 territory given how close we are to the snap date.
Author
Owner

@Don-Vito commented on GitHub (Jan 16, 2021):

image

image

We would probably want the same behavior in the SUI as well, right? That's not 1.6 territory given how close we are to the snap date.

Yes. This is exactly what I was planning to do here 😄

@Don-Vito commented on GitHub (Jan 16, 2021): > > > ![image](https://user-images.githubusercontent.com/189190/104823217-7ec34180-57fd-11eb-9cc0-a576624df923.png) > > ![image](https://user-images.githubusercontent.com/189190/104823227-8a166d00-57fd-11eb-884b-1bb5ab20a640.png) > > We would probably want the same behavior in the SUI as well, right? That's _not_ 1.6 territory given how close we are to the snap date. Yes. This is exactly what I was planning to do here :smile:
Author
Owner

@Don-Vito commented on GitHub (Jan 17, 2021):

@DHowett - I added the setting itself to UI, however there is an issue adding the parsed command line, as the parsing logic is a part of AppCommandlineArgs, which are is a part of TerminalApp, and thus Settings.Editor is not familiar with it.

Probably we should extract the AppCommandlineArgs into a separate lib and make Editor depend on it? WDYT?

@Don-Vito commented on GitHub (Jan 17, 2021): @DHowett - I added the setting itself to UI, however there is an issue adding the parsed command line, as the parsing logic is a part of AppCommandlineArgs, which are is a part of TerminalApp, and thus Settings.Editor is not familiar with it. Probably we should extract the AppCommandlineArgs into a separate lib and make Editor depend on it? WDYT?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12078