Skip to content

bug(chat/llc): entity anchors for workflows and tasks deep-link to a query param nothing reads #14007

Open

Description

@mrveiss

Found while fixing #13996 M4 (PR #14003), which made /automation?workflow=<id> survive the forward into /llc/companies/:companyId/automation/overview. The query now arrives — and no view consumes it.

Evidence

  • src/composables/chat/useEntityAnchors.ts:76 — case 'workflow': return { name: 'automation', query: { workflow: anchor.id } }
  • :78 — case 'task': return { name: 'automation', query: { task: anchor.id } }
  • A repo-wide search for a reader finds none:
$ grep -rn "query.workflow\|query\.task" src --include=*.vue --include=*.ts | grep -v __tests__
(no matches)

Compare the two anchor kinds that do work: document targets knowledge-browser with ?doc=, and that view reads it. workflow and task land the user on the automation overview with no focus, no highlight and no scroll — indistinguishable from clicking the nav item.

Scope

Two of the five anchor kinds are affected. Either the automation overview consumes ?workflow= / ?task= (focus + highlight, mirroring the knowledge-browser ?doc= behaviour), or the anchors resolve to a destination that can actually show the entity.

Deliberately not fixed in #14003: that PR is a post-merge defect fix for #13939 and adding a query consumer to the automation overview is a feature, not a regression fix.

Related: #13996 · #14003

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

    area: company-osWave 4 · cluster A — Company OS & LLC canvasbackendbugSomething isn't workingfrontend

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions