Skip to content

Nová karta is not offered on a new draft thread until its first message #53

Closed

Description

@immakermatty

Found on the F47 canary (0.0.45-preview.20261012.1 on a Remote Environment, 2026-10-12).

  • New draft thread (nothing sent yet): the right panel shows upstream's empty state, and its Browser row is unavailable in the web. GET /api/lazurio/thread-tabs/events?threadId=<draft> answers 404, because the server doesn't know the thread yet.
  • Existing thread: Nová karta shows as designed: the address bar, T3's tools, Přehled and the suggestions.

So before the first message a person can't open an Environment browser tab in that thread. The thread has no server-side existence and no holder file, so the snapshot is thread-not-found, and the web falls back to upstream's panel.

Options:

  1. Offer Nová karta on a draft without a strip to hold. A choice opens the page and records the hold once the thread exists, or tells the person the tab isn't kept until the first message.
  2. Keep upstream's empty state on drafts, but say why (one line: "Prohlížeč Environmentu bude k dispozici po první zprávě").

Option 2 is the smaller seam. Option 1 matches the panel model better.

Activity

  1. immakermatty commented on Oct 12, 2026

    @immakermatty
    Author

    Variant 2, as Matěj chose on 2026-10-12, is merged in #54 (main 830f4a4). A draft opens no tab stream, and its empty panel says "Prohlížeč Environmentu bude k dispozici po první zprávě." (also as the Browser row's reason). Once the first message makes it a thread, the stream opens and Nová karta appears without a reload, which had been a second gap. It ships with the next T3 preview. This stays open until the canary check in the browser.

  2. immakermatty commented on Oct 19, 2026

    @immakermatty
    Author

    Closing: the variant chosen on 2026-10-12 (option 2) shipped in #54 (0.0.45-lazurio.8) and is carried into v0.1.0 by overlay row 9. A draft opens no tab stream; its empty panel and the Browser row's reason say "Prohlížeč Prostředí bude k dispozici po první zprávě." ("The Environment browser comes with the first message." in English). Once the first message makes it a thread, the stream opens and "+" gives Nová karta without a reload (apps/web/src/lazurio/threadTabs.ts; test "opens no stream for a draft, and follows the thread once its first message makes it one").

    Checked in the browser on 0.1.0-lazurio.3 on the reference Organization's Environment, in a Czech browser: Chat opens a new chat, and its right panel lists the surfaces with Browser unavailable and shows that line. The first turn opening the panel was checked on Ring 0 with 0.1.0-lazurio.2 (#70).

    Option 1 (Nová karta on a draft) was considered again, because Chat now opens straight into a new chat, and is not pursued (the Organization Admin delegated this decision on 2026-10-19). Sign-ins in the Environment browser are shared by the whole Environment (root decision 0191), so someone who wants to sign in before asking an agent does it in Apps and the agent uses that sign-in. The panel's tabs belong to a thread, and a draft is not one yet. Option 1 would add a hand-over of a device's tab to the thread that every upstream rebuild would have to carry.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions