Skip to content

[Tock Studio] Add time precision, feedback display, and filtering for Custom Metrics & Dialogs (dercbot 1756 1763 1765)#1967

Merged
zigzago merged 3 commits intotheopenconversationkit:masterfrom
CreditMutuelArkea:feature/dercbot-1756-1763-feedback-in-studio
Jan 8, 2026
Merged

[Tock Studio] Add time precision, feedback display, and filtering for Custom Metrics & Dialogs (dercbot 1756 1763 1765)#1967
zigzago merged 3 commits intotheopenconversationkit:masterfrom
CreditMutuelArkea:feature/dercbot-1756-1763-feedback-in-studio

Conversation

@rkuffer
Copy link
Member

@rkuffer rkuffer commented Dec 19, 2025

Works with #1963
Closes #1965

This PR addresses the limitations described in Issue #1965 by introducing the following improvements:

1. Time Precision in Date Filters

  • Custom Metrics and Dialogs views now support hour and minute granularity in date filters (format: YYYY-MM-DD HH:MM).

2. Display Message Feedback in Dialog Component

  • Added visual feedback indicators (thumbs up/down) for user-rated messages in all views displaying dialogs excerpts

3. Display Feedback Statistics in Custom Metrics View

  • Added aggregated feedback statistics (counts of positive/negative feedback) to the Custom Metrics dashboard.

4. Filter by Feedback in Dialogs View

  • Implemented a feedback filter (positive/negative) to quickly isolate dialogs by sentiment.

@rkuffer rkuffer force-pushed the feature/dercbot-1756-1763-feedback-in-studio branch 3 times, most recently from a2bdd3e to af80262 Compare December 19, 2025 11:27
@assouktim assouktim force-pushed the feature/dercbot-1756-1763-feedback-in-studio branch from af80262 to ffeaac6 Compare December 19, 2025 13:31
…te and time filters

# Conflicts:
#	bot/admin/web/src/app/metrics/metrics-board/metrics-board.component.html
#	bot/admin/web/src/app/metrics/metrics-board/metrics-board.component.ts
@assouktim assouktim force-pushed the feature/dercbot-1756-1763-feedback-in-studio branch from ffeaac6 to 953a291 Compare December 19, 2025 13:37
@vsct-jburet vsct-jburet self-requested a review January 5, 2026 13:34
@vsct-jburet vsct-jburet requested a review from Copilot January 5, 2026 14:06
@vsct-jburet
Copy link
Contributor

@rkuffer I add copilot review. You can close all useless comments ;)

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive feedback tracking and time precision features to Tock Studio's Custom Metrics and Dialogs views. The implementation introduces hour/minute granularity for date filters, visual feedback indicators for user-rated messages, aggregated feedback statistics in the metrics dashboard, and a feedback filter for dialogs.

Key changes:

  • Replaced NbDatepicker with NbTimepicker for hour/minute precision in date filters
  • Migrated metrics-board component to use Angular signals for reactive state management
  • Added feedback display icons (thumbs up/down) across dialog views
  • Extended dialog data model to support feedback metadata

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
.pre-commit-config.yaml Updated pip-audit dependencies and formatting
gen-ai/orchestrator-server/.../pre-commit-config.yaml Generalized Python version from 3.9 to 3
bot/admin/web/.../testing.module.ts Removed unused NbEvaIconsModule import
bot/admin/web/.../test-shared.module.ts Removed unused NbEvaIconsModule import
bot/admin/web/.../utils.ts Added roundMinutesToNextTen utility function
bot/admin/web/.../dialog-data.ts Added FeedbackParams interface and feedback fields to model
bot/admin/web/.../sentence-training.component.spec.ts Updated and expanded test coverage for sentence training
bot/admin/web/.../sentence-training-filters.component.spec.ts Removed obsolete tests for deleted clearSearch method
bot/admin/web/.../chat-ui-dialog-logger.component.* Added feedback icon display for messages
bot/admin/web/.../metrics.module.ts Added NbTimepickerModule for time precision
bot/admin/web/.../metrics-board.component.* Refactored to use signals, added time precision and feedback stats
bot/admin/web/.../analytics.module.ts Added NbTimepickerModule for time precision
bot/admin/web/.../dialogs.ts Added FeedbackVote enum and feedback parameter to queries
bot/admin/web/.../dialogs-list.component.ts Updated to pass feedback filter to backend
bot/admin/web/.../dialogs-list-filters.component.* Added feedback filter UI with debounce optimization

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rkuffer
Copy link
Member Author

rkuffer commented Jan 8, 2026

Copilot review taken into account

@zigzago zigzago merged commit 2241a15 into theopenconversationkit:master Jan 8, 2026
7 checks passed
@zigzago zigzago added this to the 25.10.4 milestone Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tock Studio] Enhance Custom Metrics & Dialogs Views: Add Time Precision, Feedback Display, and Filtering

4 participants