Skip to content

feat: update plugin-sdk-go dependency and enhance BDD scenario manage…#1

Merged
pikann merged 10 commits into
masterfrom
feature/enhance-bdd-scenario-management
May 12, 2026
Merged

feat: update plugin-sdk-go dependency and enhance BDD scenario manage…#1
pikann merged 10 commits into
masterfrom
feature/enhance-bdd-scenario-management

Conversation

@pikann
Copy link
Copy Markdown
Contributor

@pikann pikann commented May 12, 2026

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 BDDScenarioCard component from the frontend and introduces utility and API helper functions.

Backend improvements:

  • Added activity recording for BDD scenario creation, update (including tracking changed fields), and deletion in scenarios.go to improve auditability and user feedback. [1] [2] [3] [4]
  • Upgraded the dependency on plugin-sdk-go from v0.2.0-rc.3 to v0.2.0-rc.5 in go.mod for compatibility and new features.

Frontend refactoring:

  • Removed the BDDScenarioCard component, likely as part of a UI redesign or migration.
  • Added lib/interaction-api.ts with helper functions for BDD scenario CRUD operations using the new PluginApiClient abstraction, improving code reuse and maintainability.
  • Added a cn utility function for conditional class name concatenation in lib/utils.ts, centralizing a common pattern.

Other changes:

  • Updated the plugin version from 0.1.0 to 0.2.0 in plugin.json to reflect new features and improvements.

Copy link
Copy Markdown
Contributor

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 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-go to v0.2.0-rc.5.
  • Frontend: refactor scenario section UI and introduce interaction-api + cn utility; remove BDDScenarioCard.

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.

Comment thread frontend/src/BDDScenariosSection.tsx Outdated
Comment thread frontend/src/BDDScenariosSection.tsx
Comment thread frontend/src/BDDScenariosSection.tsx Outdated
Comment thread frontend/src/BDDScenariosSection.tsx Outdated
Comment thread frontend/src/lib/utils.ts Outdated
Comment thread frontend/src/lib/interaction-api.ts
Comment thread backend/scenarios.go
pikann and others added 5 commits May 12, 2026 10:39
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>
@pikann pikann merged commit f726bba into master May 12, 2026
5 checks passed
@pikann pikann deleted the feature/enhance-bdd-scenario-management branch May 12, 2026 04:06
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.

3 participants