mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(editor): Add 'Whats new' section and modal (#16664)
This commit is contained in:
@@ -10,6 +10,14 @@ export class VersionNotificationsConfig {
|
||||
@Env('N8N_VERSION_NOTIFICATIONS_ENDPOINT')
|
||||
endpoint: string = 'https://api.n8n.io/api/versions/';
|
||||
|
||||
/** Whether to request What's New articles. Also requires `N8N_VERSION_NOTIFICATIONS_ENABLED` to be enabled */
|
||||
@Env('N8N_VERSION_NOTIFICATIONS_WHATS_NEW_ENABLED')
|
||||
whatsNewEnabled: boolean = true;
|
||||
|
||||
/** Endpoint to retrieve "What's New" articles from */
|
||||
@Env('N8N_VERSION_NOTIFICATIONS_WHATS_NEW_ENDPOINT')
|
||||
whatsNewEndpoint: string = 'https://api.n8n.io/api/whats-new';
|
||||
|
||||
/** URL for versions panel to page instructing user on how to update n8n instance */
|
||||
@Env('N8N_VERSION_NOTIFICATIONS_INFO_URL')
|
||||
infoUrl: string = 'https://docs.n8n.io/hosting/installation/updating/';
|
||||
|
||||
@@ -162,6 +162,8 @@ describe('GlobalConfig', () => {
|
||||
versionNotifications: {
|
||||
enabled: true,
|
||||
endpoint: 'https://api.n8n.io/api/versions/',
|
||||
whatsNewEnabled: true,
|
||||
whatsNewEndpoint: 'https://api.n8n.io/api/whats-new',
|
||||
infoUrl: 'https://docs.n8n.io/hosting/installation/updating/',
|
||||
},
|
||||
workflows: {
|
||||
|
||||
Reference in New Issue
Block a user