added connector listing#73
Merged
Merged
Conversation
PR Agent ReviewBlocking issues
Non-blocking suggestions
Recommended tests
Generated by model |
…o feature/M8F-238
auslin-aot
approved these changes
May 15, 2026
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.
JIRA Ticket
https://aottech.atlassian.net/browse/M8F-238
Description
Summary
Adds a dedicated Connectors area to improve connector discoverability outside the BPMN modeler. The page is powered by
GET /service-tasks(via the connector proxy) and presents connectors as grouped cards with avatars, operation counts, and guidance text. Access to configuration actions is permission-gated to users who can create secrets, matching existing M8Flow integrator and tenant-admin capabilities.Motivation
Previously, connectors were only discoverable from within Service Task configuration in the BPMN modeler, making integrations difficult to find for new users. This update exposes connectors directly in the primary navigation and provides a clearer onboarding path for integrators and administrators to configure secrets and integrations.
Frontend Changes (
m8flow-frontend)src/views/Connectors.tsxAdded a new Connectors page.
Fetches data from
/service-tasks.Groups operators by plugin prefix (segment before
/).Includes:
Displays a Configure action only when the user has permission to create secrets:
<Can I="POST" a={secretListPath}>Permission loading now includes:
GET /service-tasksPOST /secretssrc/utils/connectorCardDisplay.tsxAdded connector display helpers.
Display name resolution order:
namedisplay_namedisplayNamelabeltitleAdded generated initials avatars with stable hue assignment derived from plugin keys.
src/components/SideNav.tsx/connectors.GETpermission onserviceTaskListPath.src/hooks/M8flowUriListForPermissions.tsxAdded:
serviceTaskListPath: "/service-tasks"src/ContainerForExtensions.tsxAdded lazy-loaded route for
/connectors.Added permission checks for:
GET /service-tasksUpdated
RoleBasedRootGatefallback ordering:/connectorsnow resolves before configuration routesAdded navigation highlight styles for
/connectors.src/locales/en_us/translation.jsonAdded localization strings for:
Backend Changes (
m8flow-backend)src/m8flow_backend/config/permissions/m8flow.ymlAdded
integratorrole access to:read-service-tasksread-service-tasks-rootEnables integrators to access the Connectors page and connector metadata.
Type
Changes
Testing
Related Issues
Closes #