Repository navigation
feat(setting): add session list of terminal in browser. - #992
Open
Arielfoever wants to merge 10 commits into
Open
Arielfoever wants to merge 10 commits into
Arielfoever wants to merge 10 commits into
Conversation
Terminal is now blocked if recieved no heart packet in 1 sec. Signed-off-by: Ariel Yu <ariel@sipeed.com>
Contributor
Author
Arielfoever
marked this pull request as ready for review
November 18, 2026 06:13
Arielfoever
force-pushed
the
feat/terminallist
branch
from
November 18, 2026 06:50
459df81 to
d838417
Compare
e.g. 终端上一次响应于 2026年1月1日17:11:11(52秒前) Signed-off-by: Ariel Yu <ariel@sipeed.com>
Signed-off-by: Ariel Yu <ariel@sipeed.com> ± Conflicts: ± web/src/pages/terminal/index.tsx
e.g. 会话建立于 2026年1月1日 17:11:11(52 秒前) Signed-off-by: Ariel Yu <ariel@sipeed.com>
…rminal sessions keep the shell pty alive after the page disconnects so sessions stay detached instead of being killed, and allow a new page to reattach via a `session` query param replay up to 256 KiB of buffered terminal output when a page reattaches to a detached session automatically close sessions that remain detached for 10 minutes to avoid abandoned shells - take over a session from a previous page: attaching closes the old websocket - kill the shell instead of leaving it detached when the auth middleware revokes the connection - return 404 when reconnecting to a session that no longer exists - report the `attached` state of each session in the session list API and types - add attached/detached status indicator and reconnect button (with takeover confirmation when attached) to the settings terminal manager - show a "session unavailable" overlay with an "open new terminal" action when the target session has ended - skip running picocom again when reattaching to an existing serial session - add i18n strings for reconnect, attached/detached and session-unavailable messages in en, zh and zh_tw Signed-off-by: Ariel Yu <ariel@sipeed.com>
Signed-off-by: Ariel Yu <ariel@sipeed.com>
Signed-off-by: Ariel Yu <ariel@sipeed.com>
Open an existed terminal session page, the old terminal will be closed with a pop up notification. Signed-off-by: Ariel Yu <ariel@sipeed.com>
Stop an existed terminal session in setting page, the terminal will be closed with a pop up notification. Signed-off-by: Ariel Yu <ariel@sipeed.com>
The old terminal will get a pop up notification if websocket closed unexpectly. Signed-off-by: Ariel Yu <ariel@sipeed.com>
Arielfoever
force-pushed
the
feat/terminallist
branch
from
November 18, 2026 10:38
d838417 to
0174798
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.