feat(#207): trust feedback UI (thumbs up/down) - #214
Merged
Conversation
| /// Submits "helpful" or "unhelpful" signal for ranking. | ||
| #[tauri::command] | ||
| pub async fn memory_feedback( | ||
| state: tauri::State<'_, Arc<Mutex<AppState>>>, |
| let loading = $state(true); | ||
| let showDeleteConfirm = $state(false); | ||
|
|
||
| // Trust feedback state (#207) |
🔍 Cora AI Code ReviewReview powered by cora-code · BYOK · MIT |
Full 5-file pattern + Svelte UI: - uteke_client.rs: memory_feedback() method - commands.rs: memory_feedback Tauri command - lib.rs: handler registration - types.ts: MemoryFeedbackResponse interface - ipc.ts: memoryFeedback() invoke wrapper - MemoryDetail.svelte: thumbs up/down buttons with delta display Users can mark a memory as helpful (+0.05) or unhelpful (-0.10), adjusting its importance score in Uteke.
ajianaz
force-pushed
the
feat/207-trust-feedback
branch
from
August 6, 2026 03:09
fb2faa5 to
0a15122
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Trust feedback feature — lets users mark a memory as helpful or unhelpful via the Uteke endpoint
POST /memory/feedback.Why
Uteke v0.12.0 exposes
/memory/feedbackbut Corin never adopted it. User feedback adjusts the memory's importance score (+0.05 helpful / -0.10 unhelpful), enabling community-driven ranking without manual importance editing.Changes (6 files, +136/-2)
uteke_client.rsmemory_feedback()method — POST to/memory/feedbackcommands.rsmemory_feedbackTauri command (lock, clone, call, map error)lib.rsgenerate_handler![]types.tsMemoryFeedbackResponseinterfaceipc.tsmemoryFeedback()invoke wrapperMemoryDetail.svelteHow it works
Validation
API Reference
POST /memory/feedback
Request: id + feedback ("helpful" or "unhelpful")
Response: id + feedback + delta + importance
Closes #207