feat(ui/arch): Optimize Graph Dynamics, Immersive Reader, and Core Stability #19

Merged
mjasin merged 5 commits from fix/issue-7-large-epub-parsing into develop 2026-05-08 18:16:09 +00:00
2 changed files with 5 additions and 9 deletions
Showing only changes of commit 00c5658662 - Show all commits
@@ -76,7 +76,11 @@
private async Task RequestSummary()
{
IsLoading = true;
Packet = await Coordinator.RequestSummaryAndQuizAsync(SelectedText);
var contextPrompt = !string.IsNullOrWhiteSpace(FullPageContent)
? $"ANALYSIS CONTEXT (Full Page Content):\n{FullPageContent}\n\nUSER SELECTION TO SUMMARIZE:\n"
: "";
Packet = await Coordinator.RequestSummaryAndQuizAsync($"{contextPrompt}{SelectedText}");
IsLoading = false;
}
@@ -29,14 +29,6 @@
{
<NexusTypography Variant="NexusTypography.TypographyVariant.Ebook">@((MarkupString)textSegment.Content)</NexusTypography>
}
else if (block is AiActionTriggerBlock trigger)
{
<AiAssistantBubble
ContextBlockId="@trigger.Id"
Dialogue="@trigger.Dialogue"
Actions="@trigger.ActionOptions"
FullPageContent="@GetFullPageContent()" />
}
</div>
}
</div>