feat: Workspace Recent Changes Panel#11
Draft
falfaddaghi wants to merge 54 commits intoadw/feature-workspace-foundation-616005e8from
Draft
feat: Workspace Recent Changes Panel#11falfaddaghi wants to merge 54 commits intoadw/feature-workspace-foundation-616005e8from
falfaddaghi wants to merge 54 commits intoadw/feature-workspace-foundation-616005e8from
Conversation
…oundation-616005e8 feat: Workspace Foundation
…v, preventing horizontal growth.
… div for improved layout control and overflow handling.
…ss names for improved styling consistency.
- Added husky to manage pre-commit hooks. - Created a pre-commit hook to run checks before commits. - Updated package.json to include husky as a dependency.
- Added git stash commands to save and restore changes during pre-commit checks. - Ensured that the exit code from the checks is preserved for proper error handling.
- Added a condition to skip checks if no changes are staged. - Enhanced user feedback during the pre-commit process with clear messages for stashing, running checks, and restoring changes. - Ensured that the commit is blocked if any checks fail, providing better error handling.est
- Introduced a cleanup function to restore unstaged changes after pre-commit checks. - Added a flag to track whether changes were stashed, enhancing the reliability of the process. - Improved messaging for better user feedback during the pre-commit workflow.
- Added a message to indicate the completion of checks in the pre-commit hook. - Improved user feedback during the pre-commit process for better clarity.
Fix layout visual bugs
…, and AI-assisted editing logic.
… and `/graphify-out`
…c spawn modes, schema validation, generator logic, and connection rules.
…chema validation, detailed tests, AI generation prompt, and UI configuration fields.
Chore/add pre commit script
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ing, simplify input mappings, and integrate target-specific root directory logic.
…ndoff node payloads and parallel agent dispatch behavior.
… tests and registry logic accordingly.
…and dynamic spawn modes
…and dynamic spawn modes
…appings, and integrate target-specific agent generation logic.
…pdown interface and memory options
…UI components, state management, and test coverage.
…marization logic.
…, editing, and suggestions; add visual completion glow for edited nodes.
…tion, update schema handling, and simplify function signature.
…date branch execution descriptions, and adjust test cases accordingly.
…document content generation for document nodes; expand AI prompt generator functionality with support for custom target fields.
…ooltip accordingly
…view, and state management
… tests and hunk-level controls
…uth config tests require.resolve/delete require.cache is a no-op under Bun ESM runtime, making test isolation unreliable. Export _buildAuthOptions from config.ts and call it directly after _resetCache() for deterministic re-evaluation.
# Conflicts: # bun.lock # package.json
Oauth Support
…rt and update Docker and deployment configurations accordingly.
…ge. Refactor live cursor broadcast for improved event handling and boundary checks.
…sm. Refactor sync logic for improved performance.
…ition, persistent ownership across sessions, reconnection states, and improved sharing/leave controls.
…es, and cursor dimming; enforce ownership for workflow mutations and improve session controls.
d8622a3 to
76a90b1
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.
Summary
Adds the spec and task plan for the Workspace Recent Changes Panel feature. This feature introduces a snapshot-per-save system on the server, a server-side diff computation API, per-browser last-seen tracking via localStorage, and a slide-in dashboard panel that surfaces node-level workflow changes (added, deleted, renamed nodes) attributed to the user who saved them since the viewer's last visit.
Implementation plan: docs/tasks/feature-workspace-recent-changes-panel-857b7bc9/plan-feature-workspace-recent-changes-panel-857b7bc9.md
ADW tracking ID:
857b7bc9Checklist
Phase 1: Foundation
SnapshotMeta,SnapshotFile,ChangeEvent,WorkflowChanges,ChangesResponsetypes insrc/lib/workspace/types.tssrc/lib/workspace/snapshots.tswithwriteSnapshot,listSnapshots,getSnapshot, andcomputeChangessaveWorkflow()insrc/lib/workspace/server.tsPhase 2: Core Implementation
GET /api/workspaces/[id]/workflows/[wid]/snapshots)GET /api/workspaces/[id]/workflows/[wid]/snapshots/[timestamp])GET /api/workspaces/[id]/changes?since=...)useWorkspaceChangeshook with last-seen localStorage managementPhase 3: Integration
ChangesPanelcomponent with slide-in animation, grouped layout, dismiss behavior, and colored initial badgesValidation
bun run typecheckpassesbun run lintpassesbun run buildpassesKey Changes
docs/tasks/.../) covering snapshot storage, diff computation, last-seen tracking, and the changes panel UI — including acceptance criteria, architecture decisions, and an E2E test specification.{dataDir}/{workspaceId}/snapshots/{workflowId}/{timestamp}.json; append-only, URL-safe timestamped filenames./changes?since=endpoint walks adjacent snapshot pairs, returns structurednode_added/node_deleted/node_renamedevents with attribution and timestamps.adw/feature-workspace-foundation-616005e8to be merged first (workspace persistence layer and PUT save endpoint).