Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dashboard): Template store modal #7436

Open
wants to merge 65 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
4dc9c7a
feat: wip
scopsy Dec 28, 2024
265de59
fix: items
scopsy Dec 28, 2024
f57831c
fix: items
scopsy Dec 28, 2024
c3139f0
fix:
scopsy Dec 28, 2024
93870d9
fix: structure
scopsy Dec 29, 2024
c8f72ac
fix: wip
scopsy Dec 29, 2024
f90257b
feat: add new templates
scopsy Dec 29, 2024
3abf8a9
Merge branch 'next' into template-store
scopsy Dec 29, 2024
8fff01c
fix: email preview
scopsy Dec 29, 2024
026490f
Add push and chat previews
scopsy Dec 29, 2024
c7e4ce4
fix: remove unused
scopsy Dec 29, 2024
26e8c3d
feat: ai flow
scopsy Dec 29, 2024
99c1250
Merge branch 'template-store' of https://github.com/novuhq/novu into …
scopsy Dec 29, 2024
7f91b71
fix
scopsy Dec 29, 2024
a6ad52a
fix: email
scopsy Dec 29, 2024
2034016
fix: items
scopsy Dec 29, 2024
1be7855
feat: add feature flags
scopsy Dec 29, 2024
bb9c41c
review
scopsy Dec 29, 2024
4ea70fe
fix: refactor
scopsy Dec 29, 2024
8a691a6
fix: items with retry
scopsy Dec 29, 2024
41872b5
fix: items
scopsy Dec 29, 2024
79ec2c1
fix: items
scopsy Dec 29, 2024
4ba3a9b
fix: reasoning
scopsy Dec 29, 2024
9b6dda3
Update generate-suggestions.usecase.ts
scopsy Dec 29, 2024
9c3791a
Update prompts.ts
scopsy Dec 29, 2024
75ed98d
fix: refactoring
scopsy Dec 29, 2024
d34194a
fix: return optional
scopsy Dec 29, 2024
ce45020
Update workflow.controller.ts
scopsy Dec 29, 2024
c079eb9
fix: height
scopsy Dec 29, 2024
fd887f2
fix: test sidebar
scopsy Dec 29, 2024
d40d169
fix: popular
scopsy Dec 29, 2024
322c83f
feat add workflows
scopsy Dec 29, 2024
6dd5c0a
Update prompts.ts
scopsy Dec 29, 2024
179c0f6
fix: PR
scopsy Dec 29, 2024
c83b84b
Update types.ts
scopsy Dec 29, 2024
d2bcd47
Merge branch 'next' into template-store
scopsy Jan 5, 2025
d357846
feat: view panel
scopsy Jan 5, 2025
eb2bf0f
fix: items
scopsy Jan 5, 2025
c4151f8
fix: trigger button
scopsy Jan 5, 2025
6f0c9a7
fix: dropdown
scopsy Jan 5, 2025
ac8c7ce
fixed: add beta flag
scopsy Jan 5, 2025
0222cb2
Merge branch 'next' into template-store
scopsy Jan 5, 2025
3317c4b
Update order-confirmation.ts
scopsy Jan 5, 2025
74cbe4b
Merge branch 'template-store' of https://github.com/novuhq/novu into …
scopsy Jan 5, 2025
dc1498b
fix: remove ai related items
scopsy Jan 6, 2025
c623a2c
fix: read only and gradients
scopsy Jan 6, 2025
9cf1421
feat: add blaknk
scopsy Jan 6, 2025
d9b83ed
fix: gover
scopsy Jan 6, 2025
c40b349
reuse maily config
scopsy Jan 6, 2025
b9d81c8
Merge branch 'next' into template-store-modal
scopsy Jan 6, 2025
78cc6ec
Merge branch 'next' into template-store-modal
scopsy Jan 13, 2025
2785e53
fix: items
scopsy Jan 13, 2025
45b9c45
fix:
scopsy Jan 13, 2025
76167e2
fix: build
scopsy Jan 13, 2025
3a74506
Merge branch 'next' into template-store-modal
scopsy Jan 14, 2025
fbd2a75
Merge branch 'next' into template-store-modal
scopsy Jan 14, 2025
7ff121f
fix: refactor
scopsy Jan 14, 2025
2cfa8a6
fix: usage limit item
scopsy Jan 14, 2025
52b9185
fix: ref
scopsy Jan 14, 2025
ff16218
fix: preview
scopsy Jan 14, 2025
23629ad
Merge branch 'next' into template-store-modal
scopsy Jan 14, 2025
0c6ffca
Update step-preview-hover-card.tsx
scopsy Jan 14, 2025
ebdf24e
fix: remove
scopsy Jan 15, 2025
a0b8741
Merge branch 'next' into template-store-modal
scopsy Jan 17, 2025
9de19bd
fix: new workflows
scopsy Jan 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions apps/api/src/app/workflows-v2/workflow.controller.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ApiTags } from '@nestjs/swagger';
import { ClassSerializerInterceptor, HttpStatus, Patch } from '@nestjs/common';
import {
Body,
Controller,
Expand All @@ -12,7 +12,8 @@ import {
UseGuards,
UseInterceptors,
} from '@nestjs/common/decorators';
import { ClassSerializerInterceptor, HttpStatus, Patch } from '@nestjs/common';
import { ApiTags } from '@nestjs/swagger';
import { DeleteWorkflowCommand, DeleteWorkflowUseCase, UserAuthGuard, UserSession } from '@novu/application-generic';
import {
CreateWorkflowDto,
DirectionEnum,
Expand All @@ -30,30 +31,29 @@ import {
WorkflowResponseDto,
WorkflowTestDataResponseDto,
} from '@novu/shared';
import { DeleteWorkflowCommand, DeleteWorkflowUseCase, UserAuthGuard, UserSession } from '@novu/application-generic';
import { ApiCommonResponses } from '../shared/framework/response.decorator';
import { UserAuthentication } from '../shared/framework/swagger/api.key.security';
import { GetWorkflowCommand } from './usecases/get-workflow/get-workflow.command';
import { UpsertWorkflowUseCase } from './usecases/upsert-workflow/upsert-workflow.usecase';
import { UpsertWorkflowCommand } from './usecases/upsert-workflow/upsert-workflow.command';
import { GetWorkflowUseCase } from './usecases/get-workflow/get-workflow.usecase';
import { ListWorkflowsUseCase } from './usecases/list-workflows/list-workflow.usecase';
import { ListWorkflowsCommand } from './usecases/list-workflows/list-workflows.command';
import { SyncToEnvironmentUseCase } from './usecases/sync-to-environment/sync-to-environment.usecase';
import { SyncToEnvironmentCommand } from './usecases/sync-to-environment/sync-to-environment.command';
import { GeneratePreviewUsecase } from './usecases/generate-preview/generate-preview.usecase';
import { ParseSlugIdPipe } from './pipes/parse-slug-id.pipe';
import { ParseSlugEnvironmentIdPipe } from './pipes/parse-slug-env-id.pipe';
import { ParseSlugIdPipe } from './pipes/parse-slug-id.pipe';
import {
BuildStepDataCommand,
BuildStepDataUsecase,
BuildWorkflowTestDataUseCase,
WorkflowTestDataCommand,
} from './usecases';
import { GeneratePreviewCommand } from './usecases/generate-preview/generate-preview.command';
import { GeneratePreviewUsecase } from './usecases/generate-preview/generate-preview.usecase';
import { GetWorkflowCommand } from './usecases/get-workflow/get-workflow.command';
import { GetWorkflowUseCase } from './usecases/get-workflow/get-workflow.usecase';
import { ListWorkflowsUseCase } from './usecases/list-workflows/list-workflow.usecase';
import { ListWorkflowsCommand } from './usecases/list-workflows/list-workflows.command';
import { PatchStepCommand } from './usecases/patch-step-data';
import { PatchWorkflowCommand, PatchWorkflowUsecase } from './usecases/patch-workflow';
import { PatchStepUsecase } from './usecases/patch-step-data/patch-step.usecase';
import { PatchWorkflowCommand, PatchWorkflowUsecase } from './usecases/patch-workflow';
import { SyncToEnvironmentCommand } from './usecases/sync-to-environment/sync-to-environment.command';
import { SyncToEnvironmentUseCase } from './usecases/sync-to-environment/sync-to-environment.usecase';
import { UpsertWorkflowCommand } from './usecases/upsert-workflow/upsert-workflow.command';
import { UpsertWorkflowUseCase } from './usecases/upsert-workflow/upsert-workflow.usecase';

@ApiCommonResponses()
@Controller({ path: `/workflows`, version: '2' })
Expand Down
14 changes: 7 additions & 7 deletions apps/api/src/app/workflows-v2/workflow.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@ import {
DeleteWorkflowUseCase,
GetPreferences,
GetWorkflowByIdsUseCase,
TierRestrictionsValidateUsecase,
UpdateWorkflow,
UpsertControlValuesUseCase,
UpsertPreferences,
TierRestrictionsValidateUsecase,
} from '@novu/application-generic';

import { CommunityOrganizationRepository } from '@novu/dal';
import { SharedModule } from '../shared/shared.module';
import { MessageTemplateModule } from '../message-template/message-template.module';
import { ChangeModule } from '../change/change.module';
import { AuthModule } from '../auth/auth.module';
import { BridgeModule } from '../bridge';
import { ChangeModule } from '../change/change.module';
import { HydrateEmailSchemaUseCase } from '../environments-v1/usecases/output-renderers';
import { IntegrationModule } from '../integrations/integrations.module';
import { WorkflowController } from './workflow.controller';
import { MessageTemplateModule } from '../message-template/message-template.module';
import { SharedModule } from '../shared/shared.module';
import {
BuildVariableSchemaUsecase,
BuildStepDataUsecase,
Expand All @@ -28,12 +29,11 @@ import {
SyncToEnvironmentUseCase,
UpsertWorkflowUseCase,
} from './usecases';
import { BridgeModule } from '../bridge';
import { HydrateEmailSchemaUseCase } from '../environments-v1/usecases/output-renderers';
import { PatchWorkflowUsecase } from './usecases/patch-workflow';
import { PatchStepUsecase } from './usecases/patch-step-data/patch-step.usecase';
import { BuildPayloadSchema } from './usecases/build-payload-schema/build-payload-schema.usecase';
import { BuildStepIssuesUsecase } from './usecases/build-step-issues/build-step-issues.usecase';
import { WorkflowController } from './workflow.controller';

const DAL_REPOSITORIES = [CommunityOrganizationRepository];

Expand Down
Loading
Loading