Skip to content

fix(ops): intelligence toast says what its number means - #53

Merged
sulthannauval merged 1 commit into
mainfrom
fix/intelligence-toast-wording
Aug 10, 2026
Merged

fix(ops): intelligence toast says what its number means#53
sulthannauval merged 1 commit into
mainfrom
fix/intelligence-toast-wording

Conversation

@sulthannauval

Copy link
Copy Markdown
Member

Companion to RantAIClaw#454 (plan 095). The backend's ReExtractResponse.entities is now the deduped per-document count; this rewords the toast from Extracted N entities · M relations to Found N entities · M relations in this document so the number's meaning is stated and matches the Entities tab beside it.

Validation: npx next build clean. String-literal change only.

Risk: none · Rollback: revert

- 'Extracted N entities' read as a raw-extraction tally and contradicted
  the Entities tab whenever dedup collapsed rows; backend now reports
  the deduped per-document count (RantAIClaw plan 095), and the toast
  wording matches: 'Found N entities · M relations in this document'
@sulthannauval
sulthannauval merged commit dd3cca7 into main Aug 10, 2026
1 check passed
sulthannauval added a commit that referenced this pull request Aug 10, 2026
…tate; server count first (#57)

- the file picker offered .docx/.xlsx (need the non-default kb-office
  build feature — a stock gateway rejects them AFTER the full transfer)
  and .css (never supported, 400 unsupported_file_type); dropped (plan
  111 option (a)), with a comment naming src/kb/file/mod.rs as the
  source of truth; verified programmatically: every remaining entry
  appears in the backend lists
- .heic added to IMAGE_EXTS (backend supports it); fixed the comment
  claiming images need no vision model — process_image posts to a
  chat-completions endpoint and requires a credential
- the drawer's empty state now branches through deriveGraphState — the
  same pure function as the graph tab — instead of its own inline copy
  of the logic (the two surfaces disagreeing is how this started);
  three drawer branches pinned in the helper's test file
- detail-view document count prefers group.document_count (correct
  since RantAIClaw plan 100) over the locally-fetched list length,
  which quietly hid a server-side divergence
- re-extract toast wording was already fixed in #53 (plan 095
  companion)
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