feat: update plugin-sdk-go dependency and enhance BDD scenario manage…#1
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the BDD plugin across backend and frontend by adding activity tracking for scenario lifecycle events, upgrading the Go plugin SDK dependency, and refactoring the frontend scenario UI to use new API helper utilities (including removal of the old BDDScenarioCard component).
Changes:
- Backend: record activities for BDD scenario create/update/delete (including changed-field tracking on update).
- Backend: bump
github.com/Paca-AI/plugin-sdk-gotov0.2.0-rc.5. - Frontend: refactor scenario section UI and introduce
interaction-api+cnutility; removeBDDScenarioCard.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| plugin.json | Bumps plugin version to 0.2.0. |
| frontend/src/lib/utils.ts | Adds shared cn() classnames utility. |
| frontend/src/lib/interaction-api.ts | Adds API/query helpers for BDD scenario CRUD. |
| frontend/src/BDDScenariosSection.tsx | Replaces prior card-based UI with inline editor + new API helpers. |
| frontend/src/BDDScenarioCard.tsx | Removes legacy scenario card component. |
| backend/scenarios.go | Adds activity recording on create/update/delete scenario handlers. |
| backend/go.mod | Updates plugin SDK dependency version. |
| backend/go.sum | Updates checksums for new plugin SDK version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Paca-AI/paca-plugin-bdd/sessions/7388714f-6c7c-43e6-98b7-2c7851e3c6a3 Co-authored-by: pikann <41873019+pikann@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Paca-AI/paca-plugin-bdd/sessions/7388714f-6c7c-43e6-98b7-2c7851e3c6a3 Co-authored-by: pikann <41873019+pikann@users.noreply.github.com>
…king Agent-Logs-Url: https://github.com/Paca-AI/paca-plugin-bdd/sessions/273bb06a-a42f-4d3b-828c-0a5e90d57856 Co-authored-by: pikann <41873019+pikann@users.noreply.github.com>
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.
This pull request introduces activity tracking for BDD scenario lifecycle events in the backend, updates the plugin SDK version, and refactors the frontend to use a new API client abstraction for BDD scenario operations. It also removes the
BDDScenarioCardcomponent from the frontend and introduces utility and API helper functions.Backend improvements:
scenarios.goto improve auditability and user feedback. [1] [2] [3] [4]plugin-sdk-gofromv0.2.0-rc.3tov0.2.0-rc.5ingo.modfor compatibility and new features.Frontend refactoring:
BDDScenarioCardcomponent, likely as part of a UI redesign or migration.lib/interaction-api.tswith helper functions for BDD scenario CRUD operations using the newPluginApiClientabstraction, improving code reuse and maintainability.cnutility function for conditional class name concatenation inlib/utils.ts, centralizing a common pattern.Other changes:
0.1.0to0.2.0inplugin.jsonto reflect new features and improvements.