MINOR - SQL Studio config at team level#26269
Conversation
Remove isBot filter from UserSelectableList so bot users can be added to teams. Add bot-profile icon next to username in user table columns to visually distinguish bot users from regular users. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR extends OpenMetadata’s UI + schema to support (a) tracking the credential source used by QueryRunner/TestConnection flows (user vs team) and (b) improving Team/User UX via plugin-extensible Team tabs and bot-user visibility/selection.
Changes:
- Added
credentialSourceTypeto QueryRunner/TestConnection request types (schema + generated TS). - Enabled plugin-contributed tabs on the Team Details page via a new
TEAM_DETAILS_TABSextension point andteamIdcontext. - Added optional bot inclusion in user selectors and bot indicators in user lists/team user management UI.
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| openmetadata-ui/src/main/resources/ui/src/utils/Users.util.tsx | Adds bot indicator in user table cell renderer. |
| openmetadata-ui/src/main/resources/ui/src/utils/ExtensionPointTypes.ts | Adds TEAM_DETAILS_TABS extension point and teamId to plugin context. |
| openmetadata-ui/src/main/resources/ui/src/utils/APIUtils.ts | Extends formatted search user objects with isBot. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts | Adds generated credentialSourceType and enum for test-connection request. |
| openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/queryRunnerRequest.ts | Adds generated credentialSourceType and enum for query runner request. |
| openmetadata-ui/src/main/resources/ui/src/components/common/UserSelectableList/UserSelectableList.interface.ts | Adds includeBot prop to allow bot inclusion. |
| openmetadata-ui/src/main/resources/ui/src/components/common/UserSelectableList/UserSelectableList.component.tsx | Implements bot inclusion in fetch + bot indicator rendering. |
| openmetadata-ui/src/main/resources/ui/src/components/Settings/Team/TeamDetails/UserTab/UserTab.component.tsx | Enables bot inclusion when adding users to a team. |
| openmetadata-ui/src/main/resources/ui/src/components/Settings/Team/TeamDetails/TeamDetailsV1.tsx | Integrates extension registry to render plugin-contributed team tabs. |
| openmetadata-spec/src/main/resources/json/schema/entity/automations/queryRunnerRequest.json | Adds credentialSourceType to the schema. |
| ingestion/src/metadata/ingestion/ometa/mixins/patch_mixin.py | Logs when PATCH to automation workflow returns None. |
OpenMetadata Service New-Code Coverage✅ No changed production Java files under |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…to param order Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Code Review 👍 Approved with suggestions 5 resolved / 6 findingsAdds SQL Studio configuration at the team level with ingestion support, resolving bot filter isolation and state management issues across multiple components. Consider verifying that TabsLabel properly handles undefined count values in the pluginTabs prop. 💡 Quality: pluginTabs count prop may be undefined — verify TabsLabel handles itIn TeamDetailsV1.tsx at line 1169, ✅ 5 resolved✅ Bug: Bot filter removed from shared UserSelectableList component
✅ Bug: Re-raising exception changes contract for callers
✅ Bug: botTagRenderer useCallback missing
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
|
|



Describe your changes:
Base of https://github.com/open-metadata/openmetadata-collate/pull/3110
I worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
credentialSourceTypeenum field toQueryRunnerRequestandTestServiceConnectionRequestto track credential source (user vs team level)TeamDetailsV1componentTEAM_DETAILS_TABSextension point for custom team detail tabsincludeBotflag toUserSelectableListto optionally include bot users in selectionsformatUsersResponseto includeisBotfield; updatedPluginEntityDetailsContextwithteamIdpropertyThis will update automatically on new commits.