[PR #22009] feat(core): Add Chat settings admin view (no-changelog) #21993

Open
opened 2025-11-20 06:22:10 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/n8n-io/n8n/pull/22009
Author: @Cadiac
Created: 11/18/2025
Status: 🔄 Open

Base: masterHead: cha-59-feature-admin-view


📝 Commits (10+)

  • 645cd8e feat(core): Starting to work on chat hub settings page
  • c8a315f feat(core): Adding modal for chat provider settings
  • a735cc7 feat(core): Selecting allowed models
  • 8d458eb feat(core): Improving chat hub settings
  • ef82659 refactor(core): Improving chat settings
  • 34543c2 feat(core): Hide chat models if they are limited by admins
  • a91aff9 feat(core): Making limiting models work
  • 962a513 feat(core): Automatically select the default credentials if none are selected
  • 5f75c48 feat(core): Make the chat providers table a little nicer
  • 0937259 feat(core): Reset allowedModels back to empty list when disabled

📊 Changes

24 files changed (+1282 additions, -66 deletions)

View changed files

📝 packages/@n8n/api-types/src/chat-hub.ts (+23 -1)
📝 packages/@n8n/api-types/src/frontend-settings.ts (+10 -1)
📝 packages/@n8n/api-types/src/index.ts (+2 -0)
📝 packages/@n8n/db/src/repositories/settings.repository.ts (+5 -1)
📝 packages/cli/src/modules/chat-hub/chat-hub.module.ts (+4 -2)
📝 packages/cli/src/modules/chat-hub/chat-hub.service.ts (+3 -0)
📝 packages/cli/src/modules/chat-hub/chat-hub.settings.controller.ts (+32 -10)
📝 packages/cli/src/modules/chat-hub/chat-hub.settings.service.ts (+95 -3)
packages/cli/src/modules/chat-hub/dto/chat-message-request.dto.ts (+0 -7)
packages/cli/src/modules/chat-hub/dto/update-chat-settings.dto.ts (+0 -6)
📝 packages/frontend/@n8n/design-system/src/components/N8nDataTableServer/N8nDataTableServer.vue (+1 -1)
📝 packages/frontend/@n8n/i18n/src/locales/en.json (+32 -0)
packages/frontend/editor-ui/src/features/ai/chatHub/SettingsChatHubView.vue (+122 -0)
📝 packages/frontend/editor-ui/src/features/ai/chatHub/chat.api.ts (+36 -0)
📝 packages/frontend/editor-ui/src/features/ai/chatHub/chat.store.ts (+52 -2)
packages/frontend/editor-ui/src/features/ai/chatHub/components/ChatProvidersTable.vue (+247 -0)
📝 packages/frontend/editor-ui/src/features/ai/chatHub/components/ModelSelector.vue (+46 -7)
packages/frontend/editor-ui/src/features/ai/chatHub/components/ProviderSettingsModal.vue (+407 -0)
📝 packages/frontend/editor-ui/src/features/ai/chatHub/composables/useChatCredentials.ts (+19 -4)
📝 packages/frontend/editor-ui/src/features/ai/chatHub/constants.ts (+2 -0)

...and 4 more files

📄 Description

Summary

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/n8n-io/n8n/pull/22009 **Author:** [@Cadiac](https://github.com/Cadiac) **Created:** 11/18/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `cha-59-feature-admin-view` --- ### 📝 Commits (10+) - [`645cd8e`](https://github.com/n8n-io/n8n/commit/645cd8e856cbc2be313c95d32dd0c89e29d1d889) feat(core): Starting to work on chat hub settings page - [`c8a315f`](https://github.com/n8n-io/n8n/commit/c8a315fe35ff1e9bc37ac3dc697023ca10dac515) feat(core): Adding modal for chat provider settings - [`a735cc7`](https://github.com/n8n-io/n8n/commit/a735cc7117269396a67a0a05b560e58b7aa58355) feat(core): Selecting allowed models - [`8d458eb`](https://github.com/n8n-io/n8n/commit/8d458eb057dff19858ef0380cdbc9cb0dd83e51b) feat(core): Improving chat hub settings - [`ef82659`](https://github.com/n8n-io/n8n/commit/ef826597440b03979f10596e4df62f76140e7a58) refactor(core): Improving chat settings - [`34543c2`](https://github.com/n8n-io/n8n/commit/34543c2173e8739dc5461820c38acec7b778e50c) feat(core): Hide chat models if they are limited by admins - [`a91aff9`](https://github.com/n8n-io/n8n/commit/a91aff9fb69aeac8ecbe04546ca2c2459a59da82) feat(core): Making limiting models work - [`962a513`](https://github.com/n8n-io/n8n/commit/962a51326705c94890aa4749fb7b936c9edaf252) feat(core): Automatically select the default credentials if none are selected - [`5f75c48`](https://github.com/n8n-io/n8n/commit/5f75c48a9f7e8fe79f4c7ad179a55f6899ca7542) feat(core): Make the chat providers table a little nicer - [`0937259`](https://github.com/n8n-io/n8n/commit/09372597ad9cbc45e3f33225d8f9dfe08a223edb) feat(core): Reset allowedModels back to empty list when disabled ### 📊 Changes **24 files changed** (+1282 additions, -66 deletions) <details> <summary>View changed files</summary> 📝 `packages/@n8n/api-types/src/chat-hub.ts` (+23 -1) 📝 `packages/@n8n/api-types/src/frontend-settings.ts` (+10 -1) 📝 `packages/@n8n/api-types/src/index.ts` (+2 -0) 📝 `packages/@n8n/db/src/repositories/settings.repository.ts` (+5 -1) 📝 `packages/cli/src/modules/chat-hub/chat-hub.module.ts` (+4 -2) 📝 `packages/cli/src/modules/chat-hub/chat-hub.service.ts` (+3 -0) 📝 `packages/cli/src/modules/chat-hub/chat-hub.settings.controller.ts` (+32 -10) 📝 `packages/cli/src/modules/chat-hub/chat-hub.settings.service.ts` (+95 -3) ➖ `packages/cli/src/modules/chat-hub/dto/chat-message-request.dto.ts` (+0 -7) ➖ `packages/cli/src/modules/chat-hub/dto/update-chat-settings.dto.ts` (+0 -6) 📝 `packages/frontend/@n8n/design-system/src/components/N8nDataTableServer/N8nDataTableServer.vue` (+1 -1) 📝 `packages/frontend/@n8n/i18n/src/locales/en.json` (+32 -0) ➕ `packages/frontend/editor-ui/src/features/ai/chatHub/SettingsChatHubView.vue` (+122 -0) 📝 `packages/frontend/editor-ui/src/features/ai/chatHub/chat.api.ts` (+36 -0) 📝 `packages/frontend/editor-ui/src/features/ai/chatHub/chat.store.ts` (+52 -2) ➕ `packages/frontend/editor-ui/src/features/ai/chatHub/components/ChatProvidersTable.vue` (+247 -0) 📝 `packages/frontend/editor-ui/src/features/ai/chatHub/components/ModelSelector.vue` (+46 -7) ➕ `packages/frontend/editor-ui/src/features/ai/chatHub/components/ProviderSettingsModal.vue` (+407 -0) 📝 `packages/frontend/editor-ui/src/features/ai/chatHub/composables/useChatCredentials.ts` (+19 -4) 📝 `packages/frontend/editor-ui/src/features/ai/chatHub/constants.ts` (+2 -0) _...and 4 more files_ </details> ### 📄 Description ## Summary <!-- Describe what the PR does and how to test. Photos and videos are recommended. --> ## Related Linear tickets, Github issues, and Community forum posts <!-- Include links to **Linear ticket** or Github issue or Community forum post. Important in order to close *automatically* and provide context to reviewers. https://linear.app/n8n/issue/ --> <!-- Use "closes #<issue-number>", "fixes #<issue-number>", or "resolves #<issue-number>" to automatically close issues when the PR is merged. --> ## Review / Merge checklist - [ ] PR title and summary are descriptive. ([conventions](../blob/master/.github/pull_request_title_conventions.md)) <!-- **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** --> - [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up ticket created. - [ ] Tests included. <!-- A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests. --> - [ ] PR Labeled with `release/backport` (if the PR is an urgent fix that needs to be backported) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the
pull-request
label 2025-11-20 06:22:10 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/n8n#21993
No description provided.