diff --git a/angular.json b/angular.json
index a26000e3c1..9458b76c2f 100644
--- a/angular.json
+++ b/angular.json
@@ -1056,6 +1056,32 @@
},
"tags": []
},
+ "model-cloud-scheduler": {
+ "projectType": "library",
+ "root": "libs/model/cloud-scheduler",
+ "sourceRoot": "libs/model/cloud-scheduler/src",
+ "prefix": "app",
+ "targets": {
+ "test": {
+ "executor": "@nrwl/jest:jest",
+ "outputs": ["coverage/libs/model/cloud-scheduler"],
+ "options": {
+ "jestConfig": "libs/model/cloud-scheduler/jest.config.ts",
+ "passWithNoTests": true
+ }
+ },
+ "lint": {
+ "executor": "@nrwl/linter:eslint",
+ "options": {
+ "lintFilePatterns": [
+ "libs/model/cloud-scheduler/**/*.ts",
+ "libs/model/cloud-scheduler/**/*.html"
+ ]
+ }
+ }
+ },
+ "tags": []
+ },
"model-convs-mgr-bot-modules": {
"projectType": "library",
"root": "libs/model/convs-mgr/bot-modules",
diff --git a/apps/conv-learning-manager/src/assets/i18n/en.json b/apps/conv-learning-manager/src/assets/i18n/en.json
index 7d79a3114c..09408fed5c 100644
--- a/apps/conv-learning-manager/src/assets/i18n/en.json
+++ b/apps/conv-learning-manager/src/assets/i18n/en.json
@@ -301,8 +301,9 @@
"MULTIMEDIA-BLOCKS": "Multimedia blocks",
"DOCUMENT-BLOCKS": "Document blocks",
"IMAGE-BLOCKS": "Images blocks",
- "QUESTION-BLOCKS": "Question Blocks",
- "MESSAGE-BLOCK": "Message Block",
+ "QUESTION-BLOCKS": "Questions",
+ "MESSAGE-BLOCK": "Messages",
+ "OPERATION-BLOCKS": "Operations",
"CMI5-BLOCK" :"CMI5 Block",
"ADMIN_SETTINGS": "Settings"
}
diff --git a/apps/conv-lm-backend/src/app/bot/whatsapp-channel/whatsapp-upload-media-cron.function.ts b/apps/conv-lm-backend/src/app/bot/whatsapp-channel/whatsapp-upload-media-cron.function.ts
new file mode 100644
index 0000000000..2e5a86d8c5
--- /dev/null
+++ b/apps/conv-lm-backend/src/app/bot/whatsapp-channel/whatsapp-upload-media-cron.function.ts
@@ -0,0 +1,24 @@
+import { RestRegistrar } from "@ngfi/functions";
+
+import { WhatsappUploadMediaCronHandler } from "@app/functions/bot-engine/whatsapp";
+
+import { ConvLearnFunction } from "../../../conv-learn-func.class";
+
+
+const handler = new WhatsappUploadMediaCronHandler();
+
+/**
+ * @Description : When an end user sends a message to the chatbot, this function is triggered,
+ * handles the message and potentially responds to it
+ *
+ * It is specifically for Whatsapp @see {PlatformType}, and subscribes to the 'messages' webhook on
+ * the Meta Developers platform
+ *
+ * @see https://developers.facebook.com/docs/whatsapp/cloud-api/guides/set-up-webhooks
+ *
+ */
+export const channelWhatsappUploadMediaCron = new ConvLearnFunction('channelWhatsappUploadMediaCron',
+ new RestRegistrar(),
+ [],
+ handler)
+ .build();
\ No newline at end of file
diff --git a/apps/conv-lm-backend/src/main.ts b/apps/conv-lm-backend/src/main.ts
index c12cd7caf2..f8e9fe64d3 100644
--- a/apps/conv-lm-backend/src/main.ts
+++ b/apps/conv-lm-backend/src/main.ts
@@ -10,6 +10,7 @@ export * from './app/bot/whatsapp-channel/whatsapp-upload-media.function';
export * from './app/bot/whatsapp-channel/whatsapp-templates-api.function';
export * from './app/bot/whatsapp-channel/whatsapp-get-templates.function';
export * from './app/bot/whatsapp-channel/whatsapp-upload-media.function';
+export * from './app/bot/whatsapp-channel/whatsapp-upload-media-cron.function';
export * from './app/bot/main/send-outgoing-message.function';
export * from './app/bot/main/talk-to-human.function';
diff --git a/libs/elements/layout/ital-bread-crumb/src/index.ts b/libs/elements/layout/ital-bread-crumb/src/index.ts
index b3fc3dfac5..14f13e9f3e 100644
--- a/libs/elements/layout/ital-bread-crumb/src/index.ts
+++ b/libs/elements/layout/ital-bread-crumb/src/index.ts
@@ -1,4 +1,4 @@
-export * from './ital-bread-crumb.module';
+export * from './lib/ital-bread-crumb.module';
export * from './lib/services/bread-crumb.service';
//resolvers
diff --git a/libs/elements/layout/ital-bread-crumb/src/ital-bread-crumb.module.ts b/libs/elements/layout/ital-bread-crumb/src/ital-bread-crumb.module.ts
deleted file mode 100644
index 2e75aca33e..0000000000
--- a/libs/elements/layout/ital-bread-crumb/src/ital-bread-crumb.module.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { RouterModule } from '@angular/router';
-
-import { ItalBreadcrumbComponent } from './lib/components/ital-bread-crumb/ital-breadcrumb.component';
-
-@NgModule({
- declarations: [ItalBreadcrumbComponent],
- imports: [CommonModule, RouterModule],
- exports: [ItalBreadcrumbComponent],
-})
-export class ItalBreadCrumbModule {}
diff --git a/libs/elements/layout/ital-bread-crumb/src/lib/ital-bread-crumb.module.ts b/libs/elements/layout/ital-bread-crumb/src/lib/ital-bread-crumb.module.ts
index bd794c406f..bcbd665316 100644
--- a/libs/elements/layout/ital-bread-crumb/src/lib/ital-bread-crumb.module.ts
+++ b/libs/elements/layout/ital-bread-crumb/src/lib/ital-bread-crumb.module.ts
@@ -1,7 +1,11 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
+import { RouterModule } from '@angular/router';
+import { ItalBreadcrumbComponent } from './components/ital-bread-crumb/ital-breadcrumb.component';
@NgModule({
- imports: [CommonModule],
+ declarations: [ItalBreadcrumbComponent],
+ imports: [CommonModule, RouterModule],
+ exports: [ItalBreadcrumbComponent],
})
export class ItalBreadCrumbModule {}
diff --git a/libs/features/convs-mgr/stories/blocks/library/anchor-block/src/lib/components/end-anchor/end-anchor.component.scss b/libs/features/convs-mgr/stories/blocks/library/anchor-block/src/lib/components/end-anchor/end-anchor.component.scss
index 27955c0f8e..cb01992981 100644
--- a/libs/features/convs-mgr/stories/blocks/library/anchor-block/src/lib/components/end-anchor/end-anchor.component.scss
+++ b/libs/features/convs-mgr/stories/blocks/library/anchor-block/src/lib/components/end-anchor/end-anchor.component.scss
@@ -4,6 +4,7 @@
height: 1.5rem;
width: 6.5rem;
padding: 0.4rem;
+ padding-left: 1rem;
background-color: var(--convs-mgr-button-color);
color: white;
text-align: center;
@@ -11,7 +12,7 @@
z-index: 10;
font-size: small;
display: flex;
- justify-content: space-evenly;
+ justify-content: space-between;
align-items: center;
flex-direction: row;
}
diff --git a/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.html b/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.html
index 4194b0fa69..fd0ee5c23c 100644
--- a/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.html
+++ b/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.html
@@ -1,11 +1,25 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -19,28 +33,15 @@
{{ 'PAGE-CONTENT.BLOCK-CATEGORY.QUESTION-BLOCKS
-
-
-
{{ 'PAGE-CONTENT.BLOCK-CATEGORY.CMI5-BLOCKS' | transloco }}
+
+
+
{{ 'PAGE-CONTENT.BLOCK-CATEGORY.OPERATION-BLOCKS' | transloco }}
-
-
-
-
{{ 'PAGE-CONTENT.BLOCK-CATEGORY.IMAGE-BLOCKS' | transloco }}
-
-
-
-
-
-
{{ 'PAGE-CONTENT.BLOCK-CATEGORY.DOCUMENT-BLOCKS' | transloco }}
-
-
-
-
-
-
{{ 'PAGE-CONTENT.BLOCK-CATEGORY.MULTIMEDIA-BLOCKS' | transloco }}
+
+
+
{{ 'PAGE-CONTENT.BLOCK-CATEGORY.BRICKS' | transloco }}
@@ -49,11 +50,5 @@
{{ 'PAGE-CONTENT.BLOCK-CATEGORY.MULTIMEDIA-BLOC
{{ 'PAGE-CONTENT.BLOCK-CATEGORY.END-BLOCK' | transloco }}
-
-
-
-
{{ 'PAGE-CONTENT.BLOCK-CATEGORY.BRICKS' | transloco }}
-
-
diff --git a/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.scss b/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.scss
index 3e65d217b5..f0d1bf3fa4 100644
--- a/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.scss
+++ b/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.scss
@@ -1,4 +1,9 @@
.nav {
+ display: flex !important;
+ flex-direction: column !important;
+ justify-content: flex-start !important;
+ gap: 1.5rem;
+
min-width: 100%;
max-height: 100vh;
height: 100%;
@@ -7,7 +12,7 @@
overflow-y: hidden;
scrollbar-gutter: stable both-edges;
background-color: #F6F6F6;
- color: slategray;
+ color: #101010;
}
.nav:hover {
@@ -19,13 +24,71 @@
width: 5px;
}
-.search-input {
- width: 100%;
+.block-library-top-section {
+ display: flex;
+ flex-direction: column;
+ margin-top: 1rem;
+ align-items: flex-end;
+
+ .btn-wrapper {
+ padding: 0.2rem;
+ cursor: pointer;
+ right: 5px;
+ top: 5px;
+ color: black;
+ }
}
-.search,
-.search input {
- max-width: 100%;
+.header-title {
+
+}
+
+.block-filters {
+ display: flex;
+ flex-direction: column;
+
+ ::placeholder {
+ font-size: small;
+ font-weight: 300;
+ color: #101010;
+ }
+
+ :-ms-input-placeholder {
+ font-size: small;
+ font-weight: 300;
+ color: #101010;
+ }
+
+ ::-ms-input-placeholder {
+ font-size: small;
+ font-weight: 300;
+ color: #101010;
+ }
+}
+
+.search {
+ height: 5px;
+ width: 90%;
+ background-color: white;
+ border-radius: 30px;
+ display: flex;
+ align-items: center;
+ padding: 20px;
+
+ &_tooltip {
+ color: #101010;
+ font-size: 20px;
+ font-weight: 300 !important;
+ }
+
+ &_input {
+ width: 90%;
+ height: 30px;
+ border: none;
+ outline: none;
+ font-size: 15px;
+ padding-left: 6px;
+ }
}
.block-list {
@@ -33,6 +96,7 @@
margin-bottom: 0.4rem;
font-size: 0.8rem;
margin-top: 0px;
+ font-weight: 400;
&:not(.first-title) {
margin-top: 1rem;
diff --git a/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.ts b/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.ts
index 71f457b4c3..e93caf49ce 100644
--- a/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.ts
+++ b/libs/features/convs-mgr/stories/editor/src/lib/components/blocks-library/blocks-library.component.ts
@@ -18,6 +18,7 @@ import {
import { StoryEditorFrame } from '../../model/story-editor-frame.model';
import { DragDropService } from '../../providers/drag-drop.service';
import { ICONS_AND_TITLES } from '@app/features/convs-mgr/stories/blocks/library/main';
+import { SideScreenToggleService } from '../../providers/side-screen-toggle.service';
/**
* Component which holds a library (list) of all blocks that can be created
@@ -33,47 +34,52 @@ export class BlocksLibraryComponent implements OnInit, OnDestroy {
@Input() frame: StoryEditorFrame;
filterInput$$: BehaviorSubject
= new BehaviorSubject('');
+ isSideScreenOpen:boolean;
blockTemplates: StoryBlock[] = [
{ id: 'input-message-block', type: StoryBlockTypes.TextMessage, message: 'Message', blockIcon: this.getBlockIcon(StoryBlockTypes.TextMessage), blockCategory: 'messages-block' } as TextMessageBlock,
// { id: 'io-questions-block', type: StoryBlockTypes.Input, message: 'Input', blockIcon: this.getBlockIcon(StoryBlockTypes.Input) } as QuestionMessageBlock,
{ id: 'story-end-anchor', type:StoryBlockTypes.EndStoryAnchorBlock, message: 'End Story', blockIcon:this.getBlockIcon(StoryBlockTypes.EndStoryAnchorBlock), blockCategory: 'end-block'} as EndStoryAnchorBlock,
// { id: 'io-block', type: StoryBlockTypes.IO, message: 'IO', blockIcon: this.getBlockIcon(StoryBlockTypes.IO) } as QuestionMessageBlock,
- { id: 'input-location-block', type: StoryBlockTypes.Location, message: 'Location', blockIcon: this.getBlockIcon(StoryBlockTypes.Location), blockCategory: 'questions-block' } as LocationMessageBlock,
- { id: 'input-image-block', type: StoryBlockTypes.Image, message: 'Image', blockIcon: this.getBlockIcon(StoryBlockTypes.Image), blockCategory: 'images-block' } as ImageMessageBlock,
+ { id: 'input-location-block', type: StoryBlockTypes.Location, message: 'Location', blockIcon: this.getBlockIcon(StoryBlockTypes.Location), blockCategory: 'messages-block' } as LocationMessageBlock,
+ { id: 'input-image-block', type: StoryBlockTypes.Image, message: 'Image', blockIcon: this.getBlockIcon(StoryBlockTypes.Image), blockCategory: 'messages-block' } as ImageMessageBlock,
{ id: 'input-question-block', type: StoryBlockTypes.QuestionBlock, message: 'Question', blockIcon: this.getBlockIcon(StoryBlockTypes.QuestionBlock), blockCategory: 'questions-block' } as QuestionMessageBlock,
- { id: 'input-docs-block', type: StoryBlockTypes.Document, message: 'Document', blockIcon: this.getBlockIcon(StoryBlockTypes.Document), blockCategory: 'documents-block' } as DocumentMessageBlock,
- { id: 'input-audio-block', type: StoryBlockTypes.Audio, message: 'Audio', blockIcon: this.getBlockIcon(StoryBlockTypes.Audio), blockCategory: 'multimedia-block' } as VoiceMessageBlock,
+ { id: 'input-docs-block', type: StoryBlockTypes.Document, message: 'Document', blockIcon: this.getBlockIcon(StoryBlockTypes.Document), blockCategory: 'messages-block' } as DocumentMessageBlock,
+ { id: 'input-audio-block', type: StoryBlockTypes.Audio, message: 'Audio', blockIcon: this.getBlockIcon(StoryBlockTypes.Audio), blockCategory: 'messages-block' } as VoiceMessageBlock,
// { id: 'io-structural-block', type: StoryBlockTypes.Structural, message: 'Structural', blockIcon: this.getBlockIcon(StoryBlockTypes.Structural) } as TextMessageBlock,
{ id: 'io-name-block', type: StoryBlockTypes.Name, message: 'Name', blockIcon: this.getBlockIcon(StoryBlockTypes.Name), blockCategory: 'questions-block' } as NameMessageBlock,
{ id: 'io-email-block', type: StoryBlockTypes.Email, message: 'Email', blockIcon: this.getBlockIcon(StoryBlockTypes.Email), blockCategory: 'questions-block' } as EmailMessageBlock,
{ id: 'io-phone-block', type: StoryBlockTypes.PhoneNumber, message: 'Phone', blockIcon: this.getBlockIcon(StoryBlockTypes.PhoneNumber), blockCategory: 'questions-block' } as PhoneMessageBlock,
- { id: 'input-video-block', type: StoryBlockTypes.Video, message: 'Video', blockIcon: this.getBlockIcon(StoryBlockTypes.Video), blockCategory: 'multimedia-block' } as VideoMessageBlock,
+ { id: 'input-video-block', type: StoryBlockTypes.Video, message: 'Video', blockIcon: this.getBlockIcon(StoryBlockTypes.Video), blockCategory: 'messages-block' } as VideoMessageBlock,
// { id: 'input-sticker-block', type: StoryBlockTypes.Sticker, message: 'Sticker', blockIcon: this.getBlockIcon(StoryBlockTypes.Sticker), blockCategory: 'images-block' } as StickerMessageBlock,
{ id: 'io-list-block', type: StoryBlockTypes.List, message: 'List', blockIcon: this.getBlockIcon(StoryBlockTypes.List), blockCategory: 'questions-block' } as ListMessageBlock,
// { id: 'input-reply-block', type: StoryBlockTypes.Reply, message: 'Reply', blockIcon: this.getBlockIcon(StoryBlockTypes.Reply) } as ReplyMessageBlock,
- { id: 'jump-story-block', type: StoryBlockTypes.JumpBlock, message: 'Jump', blockIcon: this.getBlockIcon(StoryBlockTypes.JumpBlock), blockCategory: 'questions-block' } as JumpBlock,
+ { id: 'jump-story-block', type: StoryBlockTypes.JumpBlock, message: 'Jump', blockIcon: this.getBlockIcon(StoryBlockTypes.JumpBlock), blockCategory: 'operation-block' } as JumpBlock,
// { id: 'io-multiple-input-block', type: StoryBlockTypes.MultipleInput, message: 'MultipleInput', blockIcon:this.getBlockIcon(StoryBlockTypes.MultipleInput) } as MultipleInputMessageBlock,
- { id: 'fail-block', type: StoryBlockTypes.FailBlock, message: 'Fail', blockIcon:this.getBlockIcon(StoryBlockTypes.FailBlock), blockCategory: 'questions-block' } as FailBlock,
- { id: 'io-image-input-block' , type: StoryBlockTypes.ImageInput, message: 'Image Input', blockIcon:this.getBlockIcon(StoryBlockTypes.ImageInput), blockCategory: 'images-block' } as ImageInputBlock,
- { id: 'io-audio-input-block' , type: StoryBlockTypes.AudioInput, message: 'Audio Input', blockIcon:this.getBlockIcon(StoryBlockTypes.AudioInput), blockCategory: 'multimedia-block' } as AudioInputBlock,
+ // { id: 'fail-block', type: StoryBlockTypes.FailBlock, message: 'Fail', blockIcon:this.getBlockIcon(StoryBlockTypes.FailBlock), blockCategory: 'questions-block' } as FailBlock,
+ { id: 'io-image-input-block' , type: StoryBlockTypes.ImageInput, message: 'Image Input', blockIcon:this.getBlockIcon(StoryBlockTypes.ImageInput), blockCategory: 'questions-block' } as ImageInputBlock,
+ { id: 'io-audio-input-block' , type: StoryBlockTypes.AudioInput, message: 'Audio Input', blockIcon:this.getBlockIcon(StoryBlockTypes.AudioInput), blockCategory: 'questions-block' } as AudioInputBlock,
// { id: 'input-reply-block', type: StoryBlockTypes.Reply, message: 'Reply', blockIcon: this.getBlockIcon(StoryBlockTypes.Reply) } as ReplyMessageBlock
{ id: 'io-location-input-block' , type: StoryBlockTypes.LocationInputBlock, message: 'Location input', blockIcon:this.getBlockIcon(StoryBlockTypes.LocationInputBlock), blockCategory: 'questions-block' } as LocationInputBlock,
- { id: 'io-video-input-block', type: StoryBlockTypes.VideoInput, message: 'Video Input', blockIcon:this.getBlockIcon(StoryBlockTypes.VideoInput), blockCategory: 'multimedia-block' } as VideoInputBlock,
- { id: 'webhook-block' , type: StoryBlockTypes.WebhookBlock, message: 'Webhook', blockIcon:this.getBlockIcon(StoryBlockTypes.WebhookBlock), blockCategory: 'questions-block' } as WebhookBlock,
+ { id: 'io-video-input-block', type: StoryBlockTypes.VideoInput, message: 'Video Input', blockIcon:this.getBlockIcon(StoryBlockTypes.VideoInput), blockCategory: 'questions-block' } as VideoInputBlock,
+ { id: 'webhook-block' , type: StoryBlockTypes.WebhookBlock, message: 'Webhook', blockIcon:this.getBlockIcon(StoryBlockTypes.WebhookBlock), blockCategory: 'operation-block' } as WebhookBlock,
{ id: 'open-ended-question-block', type:StoryBlockTypes.OpenEndedQuestion, message: 'Open Ended Question', blockIcon:this.getBlockIcon(StoryBlockTypes.OpenEndedQuestion), blockCategory: 'questions-block' } as OpenEndedQuestionBlock,
- { id: 'keyword-jump-block', type:StoryBlockTypes.keyword, message: 'Keyword Jump', blockIcon:this.getBlockIcon(StoryBlockTypes.keyword), blockCategory: 'questions-block' } as KeywordMessageBlock,
- { id: 'event-block', type:StoryBlockTypes.Event, message: 'Event', blockIcon:this.getBlockIcon(StoryBlockTypes.Event), blockCategory: 'questions-block' } as EventBlock,
+ { id: 'keyword-jump-block', type:StoryBlockTypes.keyword, message: 'Keyword Jump', blockIcon:this.getBlockIcon(StoryBlockTypes.keyword), blockCategory: 'operation-block' } as KeywordMessageBlock,
+ { id: 'event-block', type:StoryBlockTypes.Event, message: 'Event', blockIcon:this.getBlockIcon(StoryBlockTypes.Event), blockCategory: 'operation-block' } as EventBlock,
{ id: 'assessment-brick', type:StoryBlockTypes.Assessment, message: 'Assessment', blockIcon:this.getBlockIcon(StoryBlockTypes.Assessment), blockCategory: 'bricks' } as AssessmentBrick,
- { id: 'conditional-block', type:StoryBlockTypes.Conditional, message: 'Conditional', blockIcon:this.getBlockIcon(StoryBlockTypes.Conditional), blockCategory: 'questions-block' } as ConditionalBlock,
+ { id: 'conditional-block', type:StoryBlockTypes.Conditional, message: 'Conditional', blockIcon:this.getBlockIcon(StoryBlockTypes.Conditional), blockCategory: 'operation-block' } as ConditionalBlock,
// { id: 'end-anchor-block', type:StoryBlockTypes.EndStoryAnchorBlock, message: 'End Story', blockIcon:this.getBlockIcon(StoryBlockTypes.EndStoryAnchorBlock), blockCategory: 'end-block'} as EndStoryAnchorBlock
{ id: 'CMI5-block', type:StoryBlockTypes.CMI5Block, message: 'CMI5 Block', blockIcon:this.getBlockIcon(StoryBlockTypes.CMI5Block), blockCategory: 'bricks' } as CMI5Block
];
blockTemplate$: Observable = of(this.blockTemplates);
- constructor(private _logger: Logger, private dragService: DragDropService) {}
+ constructor(private _logger: Logger, private dragService: DragDropService, private sideScreen: SideScreenToggleService,) {}
ngOnInit(): void {
+ this._sbS.sink
+ = this.sideScreen.sideScreen$
+ .subscribe((isOpen) => this.isSideScreenOpen = isOpen);
+
// WARN in case frame is not yet loaded. This might cause issues on the node loader.
if (!this.frame || !this.frame.loaded)
this._logger.warn(() => `Blocks library loaded yet frame not yet loaded.`);
@@ -99,6 +105,11 @@ export class BlocksLibraryComponent implements OnInit, OnDestroy {
this.filterInput$$.next(event.target.value);
}
+ toggleSidenav() {
+ this.sideScreen.toggleSideScreen(!this.isSideScreenOpen)
+ // this.onClose()
+ }
+
ngOnDestroy() {
this._sbS.unsubscribe();
}
diff --git a/libs/features/convs-mgr/stories/editor/src/lib/components/editor-frame/editor-frame.component.scss b/libs/features/convs-mgr/stories/editor/src/lib/components/editor-frame/editor-frame.component.scss
index 36b4d7b9ab..6af802f24e 100644
--- a/libs/features/convs-mgr/stories/editor/src/lib/components/editor-frame/editor-frame.component.scss
+++ b/libs/features/convs-mgr/stories/editor/src/lib/components/editor-frame/editor-frame.component.scss
@@ -18,8 +18,8 @@
min-width: 5000px;
min-height: 3750px;
- background-image: url(^/assets/bg/dot-bg.jpg);
- background-repeat: repeat;
+ background-image: radial-gradient(circle at 1px 1px, #DADADA 1px, #F6F6F6 0);
+ background-size: 24px 24px;
-webkit-box-shadow: 0px 0px 5px 0px #888;
box-shadow: 0px 0px 5px 0px #888;
diff --git a/libs/features/convs-mgr/stories/editor/src/lib/components/grouped-blocks/grouped-blocks.component.scss b/libs/features/convs-mgr/stories/editor/src/lib/components/grouped-blocks/grouped-blocks.component.scss
index c286583b3c..361f52289d 100644
--- a/libs/features/convs-mgr/stories/editor/src/lib/components/grouped-blocks/grouped-blocks.component.scss
+++ b/libs/features/convs-mgr/stories/editor/src/lib/components/grouped-blocks/grouped-blocks.component.scss
@@ -3,12 +3,18 @@
grid-template-columns: repeat(3, 1fr);
gap: 8px;
- .blocks-main {
- height: 60px;
- border-radius: 5px;
- word-wrap: break-word;
+ .block {
+ display: flex;
+ flex-direction: column;
+ gap: 1rem;
background-color: #fff;
box-shadow: 0px 10px -14px 14px #fff;
+ border-radius: 10px;
+ padding: 1.4rem 0.4rem;
+ }
+
+ .blocks-main {
+ word-wrap: break-word;
}
.svgIcon {
@@ -21,22 +27,25 @@
margin: 0;
}
- .blocks-main:hover {
- background-color: #fbc113 !important;
+ .block:hover {
+ background-color: #2E7A8C !important;
+ color: white !important;
+ cursor: pointer;
+ }
- #icons {
- color: white !important;
- }
+ .block:hover > .block-messages {
+ color: white !important;
}
.block-messages {
- font-size: 0.7rem;
+ font-size: 0.725rem;
text-align: center;
white-space: normal;
word-break: normal;
height: max-content;
- font-weight: 500;
- color: slategray;
+ font-weight: 300;
+ color: #101010;
+ padding-top: 0.3rem;
margin: 0;
}
}
diff --git a/libs/features/convs-mgr/stories/editor/src/lib/convl-story-editor.module.ts b/libs/features/convs-mgr/stories/editor/src/lib/convl-story-editor.module.ts
index a6c03e176c..1c08bd07c5 100644
--- a/libs/features/convs-mgr/stories/editor/src/lib/convl-story-editor.module.ts
+++ b/libs/features/convs-mgr/stories/editor/src/lib/convl-story-editor.module.ts
@@ -13,6 +13,8 @@ import { StoryEditorStateModule } from '@app/state/convs-mgr/story-editor';
import { ConvlPageModule } from '@app/elements/layout/page-convl';
import { ToastModule } from '@app/elements/layout/toast'
+import { ItalBreadCrumbModule } from '@app/elements/layout/ital-bread-crumb';
+
import { BlocksLibraryModule } from '@app/features/convs-mgr/stories/blocks/library/main';
import { ConvsMgrAnchorBlockModule } from '@app/features/convs-mgr/stories/blocks/library/anchor-block'
@@ -33,9 +35,6 @@ import { BlockCategoryPipe } from './components/pipes/block-category-pipe.pipe';
import { StoryEditorMiniMapComponent } from './components/minimap/minimap.component';
import { SaveStoryService } from './providers/save-story.service';
-
-
-
@NgModule({
imports: [
CommonModule, MultiLangModule, PortalModule, InfiniteScrollModule,
@@ -44,7 +43,7 @@ import { SaveStoryService } from './providers/save-story.service';
ConvlPageModule, ConvsMgrAnchorBlockModule,
BlocksLibraryModule, StoryEditorStateModule,
ConvlStoryEditorRouterModule, MatStepperModule,
- ToastModule
+ ToastModule, ItalBreadCrumbModule
],
declarations: [
diff --git a/libs/features/convs-mgr/stories/editor/src/lib/pages/story-editor/story-editor.page.html b/libs/features/convs-mgr/stories/editor/src/lib/pages/story-editor/story-editor.page.html
index 8d85dd58fd..333528be15 100644
--- a/libs/features/convs-mgr/stories/editor/src/lib/pages/story-editor/story-editor.page.html
+++ b/libs/features/convs-mgr/stories/editor/src/lib/pages/story-editor/story-editor.page.html
@@ -1,4 +1,4 @@
-
+
@@ -31,21 +31,23 @@
-