feat(intelligence): implement Global AI Q&A screen and paywall blocker

- Implemented standard empty and active chat conversation states for the `/intelligence` page
- Created interactive `AiResponseRenderer` with AOT-compliant sentence splitting and payment gateway simulation
- Added scoped `LibraryStateService` to synchronize book ownership and updates across the application
- Obfuscated paywalled content in DOM to prevent inspection bypass
- Fixed local port connection mismatch by updating API configurations to use port 5104
This commit is contained in:
2026-06-06 10:41:48 +02:00
parent bcd5daa3a0
commit faf6ec826e
15 changed files with 932 additions and 318 deletions
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using NexusReader.Application.DTOs.User;
namespace NexusReader.UI.Shared.Services;
public interface ILibraryStateService
{
List<LastReadBookDto>? OwnedBooks { get; set; }
event Action? OnBooksChanged;
void NotifyBooksChanged();
}