Skip to content

Story 1.2: Disconnected-Only Encoding Selector & Reconnection Persistence #724

Open

Description

@nmgaston
  • Repository: sample-web-ui

  • Primary Component: SOL Page / Terminal Component

  • Dependencies: Story 1.1 (ui-toolkit tarball or branch)

User Story

As a remote system operator, I want to choose between PC-ANSI and UTF-8 encoding in the SOL interface while disconnected and have my selection retained across reconnects, so that I can read BIOS or OS console output legibly without mid-session state corruption.

Technical Details & Scope

  1. Overview Card Layout:

    • Align the SOL layout with Remote Platform Erase and IDER pages using an overview card.

    • Place the connection action button in the card header.

    • Place informative guidance text below the card title:
      "Select encoding before connecting. Changing it requires disconnecting. After changing encoding, Reset To BIOS may be needed to redraw the screen properly."

  2. Encoding Selector Dropdown:

    • Two options: PC-ANSI / CP437 (Default) and VT-UTF8.

    • Enable the dropdown only when SOL is disconnected and idle.

    • Disable the dropdown during connecting, connected, and disconnecting states.

  3. Application & Reconnection Lifetime:

    • Apply the chosen mode via dataProcessor.setTerminalType() prior to processing incoming stream data on connect/reconnect.

    • Retain the selected mode in page memory across manual reconnects while the SOL page remains open.

    • Selecting an encoding while disconnected must not automatically trigger a connection.

  4. Post-Connection Informational Notice:

    • Display a localized snackbar upon successful connection:
      "Connected. If the screen is blank, use a navigation key to request fresh output."

    • Do not automatically send synthetic keystrokes or trigger device resets.

Acceptance Criteria

  • Dropdown defaults to PC-ANSI / CP437.

  • Dropdown is interactive only when disconnected; disabled during connecting/connected/disconnecting states.

  • Changing encoding while disconnected retains the selection without initiating an automatic connection.

  • Manual reconnect applies the active selection before the first incoming payload.

  • Card guidance and connection snackbar display the exact specified text and support localization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions