Refactor Permutation Visualizer Interaction Model#178
Conversation
Replaces the "drag-to-map" interaction model with a "Two-Row Swap" model for constructing permutations. This ensures the visualizer always represents a valid bijection (permutation), preventing invalid states. - Implements a static top row (Domain) and a draggable bottom row (Image). - Adds didactic labels for "Two-Line Notation" and "Cycle Graph". - Updates instructions to explain the swap interaction. - Removes error handling for non-bijective states as they are now impossible by design. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
muchq | 587274a | Commit Preview URL Branch Preview URL |
Mar 09 2026, 01:45 AM |
…5987427631121500021
…5987427631121500021
This PR refactors the
PermutationVisualizercomponent to improve its pedagogical value and user experience.Key Changes:
Verification:
(1 2)).npm run test:run), passing all 204 tests.PR created automatically by Jules for task 5987427631121500021 started by @aaylward