Repository navigation
Open
Description
TL;DR
On a memory fact's detail page, the Proposal row links to Settings → Learning. That page usually doesn't contain that proposal, so the link is a dead end. The prototype has the same flaw, so this needs a design decision, not just a code fix.
How to see it
- Open a memory fact whose Details show a Proposal row (e.g.
proposal-7). - Click the proposal id.
- You land on Settings → Learning, filtered to Pending. The proposal that wrote the fact is not in that list.
What's wrong
- The link goes to the Learning section, not to the proposal. Nothing is highlighted, opened or scrolled to.
- A proposal that wrote a memory fact has been applied, so it is not in the default Pending list. The user can't find it without guessing which filter to switch to. (Expected from how the page works; not checked against live data.)
Why it happens (structural)
- The design has it. The prototype links to
/workspace/settings/learningwith no parameter: prototypememory-fact-detail.tsx#L205-L211. Its Learning page can't open a proposal by id either. - Studio copied it faithfully and said so in a code comment: "no route addresses one proposal, so the link opens the Learning settings section, as in the prototype" (
memory-fact-detail.tsx#L182-L194). - Learning page starts on Pending. The status filter is local state defaulting to
"staged"(Pending), and the list loads one page of 50 for that filter only (learning-settings-page.tsx#L132-L136). - Half the plumbing exists. The settings route already accepts an
itemsearch param, but only the memory section uses it, to redirect (workspace.settings_.$section.tsx#L13-L18). The Learning page ignores it. The backend can fetch one proposal by id (GET /api/v1/learning-proposals/{proposalId}), which the proposal row's Details already uses.
Decision needed
What should clicking the proposal id do?
- A. Open Learning on the right status filter with that proposal's Details expanded (use
item). - B. Give a proposal its own route/page.
- C. Show the id as plain text, no link.
A or B also means updating the prototype, which has the same dead end.
Possibly related: #1855 (not checked).
Done when
- Clicking the Proposal row shows that proposal, whatever its status.
- The prototype and Studio agree on the behavior.
Part of #2302.
Fully or partially written by an AI agent.
Metadata
Metadata
Assignees
Labels
No labels
Activity