tuzig / terminal7

A Next Generation Terminal running over WebRTC
https://terminal7.dev
GNU General Public License v3.0
161 stars 21 forks source link

Add a prefix arg to Shell.startWatchdog #490

Open daonb opened 2 weeks ago

daonb commented 2 weeks ago

What's missing? Please describe your flow and where this feature will help. The current watchdog display is lacking context. The watchdog display should add a short text what T7 is waiting for.

Today we use the watchdog for "Authenticating", ": Reconnecting", " Reconnecting" and maybe more.

Additional context

Shell.startWatchdog should be refactored to a signature:

startWatchdog({
    timeout: number,
    suffix: string,
    onTimeout: () => void,
    }): void

and all calls should be updated.