Generate Insights — HighlightCollector


tags: [Specifications, Microfrontends] date_created: 2025-02-25 date_modified: 2025-08-09 site_uuid: 1741bd7b-0116-47ed-97f0-01b59d7c2dc0 publish: true title: HighlightCollector slug: highlight-collector at_semantic_version: 0.0.0.1

Purpose

The HighlightCollector is intended to be a Microfrontend, and will be a repository of highlights generated by the user from the ResponseReviewer. These highlights will be used as inputs for further transformation into insightObjects
The user will be able to remove or add, or modify highlights. (They will not default to modifying the source queryResponseObjects).

State

ℹ️Information
ℹ️+ Inbound
js
user.id
workspace.id
forRecord.id
highlightObj{
highlightedMarkdownTxt
highlightMetadataObj {
	user.id
	createdOnDateTime
	fromPromptId
	fromPromptTitle
	fromPromptLineSpan { startLine, endLine }
	forRecord.id
	forWorkspaceId
	}
} 
ℹ️+ Outbound
user.id
workspace.id
forRecord.id
selectedHighlightObjectArray [
]
Passed IntoPassed From
highlightTxt
highlightMetadataObj

Components

Custom Components

RenderHighlight ListHighlights

Shared Components