Skip to content

chore: sync main into dev - #61

Open
Rowrow620 wants to merge 6 commits into
devfrom
main
Open

chore: sync main into dev#61
Rowrow620 wants to merge 6 commits into
devfrom
main

Conversation

@Rowrow620

@Rowrow620 Rowrow620 commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Description

Synchronizes dev with the four commits already present on main.

This restores the integration branch before the Contains Duplicate visual fix and the Engine-label cleanup are proposed through the normal maintainer workflow.

Related Issues

N/A

Type of Change

  • Bug fix (non-breaking change fixing an issue)
  • Algorithm visualizer audit / correction
  • New feature (non-breaking change adding functionality)
  • Documentation update
  • Refactoring / performance optimization

Verification Checklist

  • This pull request only synchronizes commits already present on main
  • New local verification is required after the follow-up fix is rebased onto the updated dev branch

Copilot AI lite review requested due to automatic review settings September 3, 2026 06:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes appear consistent, self-contained, and aligned with the PR goal of syncing already-landed main commits without introducing new functional risk.

Pull request overview

Syncs dev with recent main commits by incorporating UI/layout tweaks, timing instrumentation, and documentation improvements across the visualizer and terminal components.

Changes:

  • Adds step-generation timing measurement in the engine and surfaces it in the right sidebar inspector.
  • Improves canvas layout responsiveness by switching several horizontal UI groups to wrapped layouts.
  • Standardizes time handling for cross-platform/wasm compatibility by moving from std::time::{Instant,SystemTime} to web_time where needed, and adds clarifying doc comments to model enums/taxonomy.
File summaries
File Description
src/ui/inspector.rs Displays engine step-generation time in the right sidebar inspector.
src/ui/canvas/collections.rs Improves layout for collection visualizations via wrapped horizontal layouts and minor spacing tweaks.
src/ui/ai_chat_dock.rs Switches to web_time::Instant for message timestamps/boot timing compatibility.
src/terminal.rs Uses web_time::SystemTime for quiz seeding in a wasm-friendly way.
src/model/visual_state.rs Adds per-variant documentation to clarify what each visualization state represents.
src/model/taxonomy.rs Adds documentation for theme/accessibility and taxonomy enums to improve readability.
src/engine.rs Measures step generation duration and stores it on the app state.
src/app.rs Updates app state to store timing metadata and migrates Instant usage to web_time.
Review details
  • Files reviewed: 8/8 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants