Skip to content

feat(frontend): bring earlier answers' trials back to the map - #156

Merged
safina57 merged 2 commits into
stagingfrom
feat/frontend-results-history
Nov 11, 2026
Merged

safina57 merged 2 commits into
stagingfrom
feat/frontend-results-history

Conversation

@safina57

Copy link
Copy Markdown
Collaborator

Refs #145. Stacked on #155 (uses its action button variant and ActionTooltip); GitHub retargets this to staging once #155 merges.

Going back to an earlier answer had no way to reach its trials, so the patient had to re-describe their case.

  • Each answer that found trials gets two actions: show its trials on the map again, or find more like them (sends those trials as context, so the agent starts from them).
  • The coverage button on the desktop map becomes a results history: a scrollable list of every answer that found trials, newest first, which puts the picked answer's trials back on the map. The coverage note moves into its footer.
  • A user message with more than two context trials folds them into one pill that opens them on hover (tap on mobile).
  • Store: showTurn records an answer and places its trials with the same rules as a new reply; history is cleared on a new conversation and set aside during the tour.

Each answer that finds trials gets a show-on-map action and a find-more
action that sends its trials as context. A results history control on
the desktop map replaces the coverage button and lists every answer.
User messages with more than two context trials fold them into a pill.

Refs #145
@safina57
safina57 changed the base branch from feat/frontend-action-button-hover to staging November 11, 2026 15:19
@safina57
safina57 merged commit 8602481 into staging Nov 11, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant