Clean up the boundary between TerminalPage and TerminalApp #2647

Open
opened 2026-01-30 23:01:10 +00:00 by claunia · 0 comments
Owner

Originally created by @DHowett-MSFT on GitHub (Jul 8, 2019).

Originally assigned to: @KaiyuWang16 on GitHub.

Right now, a lot of the logic for creating and maintaining a number of terminals lives in the TerminalApp::App singleton. That's not exactly correct by "xaml application" standards (nor is it correct by normal application standards.)

Pull request #XXX introduced a new xaml page that hosts the UI for the terminal. It should be tasked with maintaining the state of a number of terminal controls and connections so that ti becomes a reusable component. This may even be a step on the path to having multiple top-level windows hosting terminals -- if App can be the singleton in charge of settings and profile management, and a window can host a page instead of an App, we're in a better position to spawn more than one. 😄

thing currently should move
settings app -
settings reload app -
global error dialogs app ? not sure how this works in a multi-window world
ETW global registration app -
tab management app page
tab icons app page
clipboard management app ?
ETW tab logging app page
key bindings app page
Originally created by @DHowett-MSFT on GitHub (Jul 8, 2019). Originally assigned to: @KaiyuWang16 on GitHub. Right now, a lot of the logic for creating and maintaining a number of terminals lives in the `TerminalApp::App` singleton. That's not exactly _correct_ by "xaml application" standards (nor is it correct by normal application standards.) Pull request #XXX introduced a new xaml page that hosts the UI for the terminal. It should be tasked with maintaining the state of a number of terminal controls and connections so that ti becomes a reusable component. This may even be a step on the path to having multiple top-level windows hosting terminals -- if App can be the singleton in charge of settings and profile management, and a window can host a _page_ instead of an App, we're in a better position to spawn more than one. :smile: |thing|currently|should move| |-|-|-| |settings|app|-| |settings reload|app|-| |global error dialogs|app|? not sure how this works in a multi-window world| |ETW global registration|app|-| |tab management|app|page| |tab icons|app|page| |clipboard management|app|?| |ETW tab logging|app|page| |key bindings|app|page|
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2647