Checkpoint
Marks a point in the conversation you can return to.
Usage
Checkpoint
import { Component, DestroyRef, ViewEncapsulation, computed, inject, signal,} from '@angular/core';import { ScBubble,A Marker after a turn, with a Restore button. Restore keeps that turn and drops every message after it; send a new message to continue from there.
Anatomy
import { ScMarker, ScMarkerContent, ScButton } from '@semantic-components/ui';<div scMarker variant="separator"> <span scMarkerContent class="inline-flex items-center gap-2"> {{ label }} <button scButton size="xs" variant="outline" (click)="restore()"> Restore <span class="sr-only">to {{ label }}</span> </button> </span></div>The button's name says which point it restores: hidden text after "Restore", so the visible word starts its name.
Examples
RTL
import { Dir } from '@angular/cdk/bidi';import { Component, LOCALE_ID, ViewEncapsulation } from '@angular/core';import { ScBubble, ScBubbleContent, ScButton, ScMarker, ScMarkerContent, ScMessage, ScMessageContent,API reference
See the Marker and the Button component.