Skip to content

v1.2.2

Choose a tag to compare

@daknoblo daknoblo released this 22 Sep 08:44
· 44 commits to main since this release

ai-ui 1.2.2

This release brings the recent conversation and sidebar improvements into the
numbered 1.2 series.

Organize and resize the sidebar

  • Create single-level named chat groups with optional colors, persistent
    collapse state and an indented chat tree.
  • Move chats by drag-and-drop or the keyboard/touch-accessible Move action.
    Removing a group keeps its chats, documents and images.
  • Drag the right edge of the desktop sidebar to change its width. The browser
    remembers the preference across reloads and navigation; double-click resets
    it. Keyboard resizing, cancellation and bounds preserve usability.
  • The mobile drawer retains its existing width. Sidebar changes do not replace
    the conversation or interrupt a running answer.
  • Successful group changes no longer display a redundant confirmation; errors
    remain visible.

Copy and retry throughout the conversation

  • Copy is available on every input and completed assistant answer, including
    older history. It copies the complete message, including offscreen text,
    with headings, emphasis, lists, tables and code where the target supports it.
  • Successful formatted copying is silent. Clipboard errors and plain-text-only
    fallback notices remain explicit. Image alternative text is copied, not image
    files.
  • Copy and Retry use matching borderless controls, aligned right in the footer.
    Token/input/output usage and the actual responding model remain left, with
    matching typography and restored metadata after reopening the chat.
  • Retry on an input sends that question again. Retry on an assistant answer
    sends its associated original question, not the answer text.

Important Retry behavior

Retry acts like entering the question in the composer again: a new user message
and a new answer are appended to the current chat
, preserving existing
messages and any unsent draft. It uses current history, model/reasoning and
composer settings, image parameters and attachments
.

This intentionally supersedes the assistant-only retry behavior in earlier
rolling builds, which replayed saved options at the original history boundary.
Existing retry answers retain their original-question links. Older conversations
without generation metadata use the user question preceding the selected answer.
Answers without an associated question can still be copied but cannot be retried.

The cost confirmation and one-active-generation-per-chat limit remain. SSE
reconnection only observes an accepted request and never launches another one.

Image refinement regression coverage

New tests verify consecutive generation/edit chains using exact transmitted
image bytes in manual image mode, Chat Completions and Responses tool routing.
They cover PNG/JPEG changes, failed attempts followed by Retry, chat isolation,
reopening and replay. Failed attempts preserve the last successful image.
Browser tests verify that completed images enable the next edit without a reload.
These tests use local fixtures, not paid Azure requests; no provider-side change
or universal fix for intermittent Azure errors is claimed.

Validation and documentation

  • Local Go 1.26.8 formatting, vet, lint, static build and full race suites passed
    for the included changes.
  • English/German desktop and mobile browser checks cover copying, retry, groups,
    stream reading, image refinement and sidebar resizing.
  • The documentation/demo gallery now contains 31 screenshots, including the
    resizable sidebar.
  • Release builds run their own quality gate, scan both architectures for
    HIGH/CRITICAL findings, sign the candidate and only then promote public tags.

Update

  1. Back up the complete persistent data volume consistently before upgrading.

  2. Set the existing stack image to ghcr.io/daknoblo/ai-ui:1.2.2, retaining the
    volume, environment variables and ports.

  3. Recreate the service:

    docker compose pull ai-ui
    docker compose up -d --no-deps ai-ui
  4. Fully reload the browser to replace existing JavaScript listeners.

From 1.2.0/1.2.1, group and generation-link storage migrations run automatically.
No new environment variables or embedding rebuild are required for this update.
For older installations, follow the
upgrade checklist.
Rollback requires restoring the pre-upgrade data backup with the previous image.

Images support linux/amd64 and linux/arm64. The versioned 1.2.2, 1.2
and latest tags advance to this release; stable remains the rolling main
channel. Existing v1.2.1 and 1.2.1 artifacts remain unchanged.

Full changelog: v1.2.1...v1.2.2

Verified artifacts

  • Annotated tag v1.2.2 points to source
    577bcde9c183a4e683af5a46cefac96ff3aaf967.
  • Published image digest:
    sha256:1896362d2c6a6f85715ab4f9804952f4b08c17724e0153396c64b22acb4681d2.
  • 1.2.2, 1.2 and latest resolve to that digest at publication.
  • Release workflow
    passed its quality gate, both architecture scans and signing/promotion.
  • Cosign verification checked the exact digest, trusted certificate chain,
    transparency-log evidence and the
    .github/workflows/release.yml@refs/tags/v1.2.2 identity. Signature claims
    match the source commit.
  • Both architecture manifests have SPDX 2.3 SBOMs and SLSA provenance identifying
    the release source and version.
  • Both images passed startup and the binary health check with networking
    disabled, a read-only root filesystem and UID/GID 65532:65532.
  • The 1.2.1 image remains at
    sha256:910a8c06088382b0740dde776f67802199a81ea2031f77cd45379651d18cafd7.