Improve notification indicators
Done
Show separate status icons in view (split) headers
Possible status icons:
- Read Only
- Copy Input
- Silence
- Activity
- Bell
Change notification and broadcast icons
TerminalHeaderBar: Put icon on the left
Show state and notifications on tab icon
Tab icon priority (from highest to lowest):
- Latest Notification
- Inactive tab: Latest notification from any view in a tab. Removed when tab is activated.
- Active tab: Latest notification from focused view. Removed when focus changes or when the Session clears its notifications
- Copy input or read-only indicator when all views in the tab have the status
- Active view icon
Add copyInputChanged() and readOnlyChanged() signals
Bugfix: Update tab title only when new title comes from active split
Bugfix: Update tab icon when active split changes
Bugfix: Update tab icon when profile icon is changed
activeTerminalDisplay(): find parent TD if needed
Bugfix: Disable activity/silence signal only when both options are off
Activity and silence monitoring use common signal.
Bugfix: Show profile icon on split header from the beginning
The icon has been appearing only when it was changed (to another profile icon or e.g. bell icon).
Use flags for each session notification type
Replaces single-value session state with separate flags for each possible notification (silence, activity, bell). This will allow for more flexible control over how specific notifications are displayed.
Report TerminalDisplay focus when any of its children is focused
Focused TerminalDisplay is used as a source of tab and window name, for activity monitoring, splits headers highlighting, etc. With this change TerminalDisplay is considered focused even when actual focus is e.g. in its search box or popup menu.