Skip to content

Upstream prompt links without a repository do not open a thread on a managed Lazurio Environment #77

Closed

Description

@immakermatty

What happens

Upstream v0.1.0 adds prompt links (/new?prompt=…, pingdotgg#18454). A link without a repo opens a draft with no project. On a managed Lazurio Environment (T3CODE_LAZURIO_FOLDER) new threads may only start in the Lazurio Folder project, and the server hides Scratch, so such a link ends with "None of your machines can start a thread without a project right now", and its "Clone" offer points at newProjectsRoot, which the Folder guard refuses.

Why it is left for later

The rebuild on v0.1.0 (#70, decision D15-d) keeps the fork's own prepared-prompt link (row 6, D13: the text never travels in the address) and accepts this gap. Upstream's links never send anything, so nothing harmful happens; they just do not open a thread.

Possible fixes

  • Map "no project" to the Folder project on a managed Environment (risk: the UI would present the Folder as "No project").
  • Hide newProjectsRoot from the server config on a managed Environment (one more ws.ts line) so the link does not offer Clone.
  • Propose upstream a way for a server to name the default project for links without repo.

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