Skip to content

Conversation

@vladaunski
Copy link
Contributor

This pull request introduces extensive testing and cleanup for the dora-dashboard-backend and dora-dashboard plugins, along with renaming and restructuring components. Key changes include adding comprehensive test coverage for backend services, routers, and frontend components, as well as removing unused code and updating component names for clarity.

Backend Improvements

Enhanced Test Coverage for Backend Services and Routers:

Code Cleanup:


Frontend Enhancements

Improved Test Coverage for Dashboard Components:

Component Renaming and Restructuring:

  • Renamed ExampleComponent to DashboardComponent and updated related imports and exports for better clarity and alignment with functionality. [1] [2]
  • Updated ExampleFetchComponent references to FetchMetricsComponent in DoraDashboard.

Removed Obsolete Components:

  • Deleted ExampleComponent and ExampleFetchComponent, as they were no longer relevant to the current implementation. [1] [2]

Renamed ExampleComponent to DashboardComponent and ExampleFetchComponent to FetchMetricsComponent. Updated imports and exports accordingly, removed obsolete index files, and cleaned up unused types from the backend service types file.
Introduced tests for the dora-dashboard-backend plugin (plugin, router, and service) and the dora-dashboard frontend components (DashboardComponent, DoraDashboard, FetchMetricsComponent, and MetricChart).
@philips-labs-bot
Copy link

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @philips-labs/plugin-dora-dashboard-backend
  • @philips-labs/plugin-dora-dashboard

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@philips-labs/plugin-dora-dashboard-backend workspaces/dora-explorer/plugins/dora-dashboard-backend none v0.2.0
@philips-labs/plugin-dora-dashboard workspaces/dora-explorer/plugins/dora-dashboard none v0.2.0

Minor changes so yarn prettier runs without issue
@philips-labs-bot
Copy link

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @philips-labs/plugin-dora-dashboard-backend
  • @philips-labs/plugin-dora-dashboard

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@philips-labs/plugin-dora-dashboard-backend workspaces/dora-explorer/plugins/dora-dashboard-backend none v0.2.0
@philips-labs/plugin-dora-dashboard workspaces/dora-explorer/plugins/dora-dashboard none v0.2.0

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.

1 participant