Skip to content

Commit

Permalink
Merge pull request #177 from mayuran-deriv/mayuran/ui-bugs-fix
Browse files Browse the repository at this point in the history
[BOT-2443]/mayuran/ui bugs stand alone
  • Loading branch information
farabi-deriv authored Dec 5, 2024
2 parents e085380 + ddbf803 commit 4d7f24a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/bot-builder/toolbar/workspace-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const WorkspaceGroup = observer(() => {
}
/>
<ToolbarIcon
popover_message={localize('Trading View Chart')}
popover_message={localize('TradingView Chart')}
icon={
<span
className='toolbar__icon'
Expand Down
3 changes: 2 additions & 1 deletion src/pages/dashboard/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
.subtitle {
text-align: center;
margin-top: 1.6rem;
margin-bottom: 1rem;

&__has-list {
text-align: center;
Expand Down Expand Up @@ -328,7 +329,7 @@
word-wrap: break-word;
font-size: 1.3rem;
text-align: center;
padding: 3.2rem;
padding: 2.2rem;

@include mobile-screen {
flex-wrap: wrap;
Expand Down
6 changes: 3 additions & 3 deletions src/pages/tutorials/dbot-tours/tour-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { getImageLocation } from '../../../public-path';
import React from 'react';
import Text from '@/components/shared_ui/text';
import { isDbotRTL } from '@/external/bot-skeleton/utils/workspace';
import { LabelPairedCircleCheckCaptionRegularIcon } from '@deriv/quill-icons/LabelPaired';
import { Localize, localize } from '@deriv-com/translations';
import { LabelPairedCircleCheckMdFillIcon } from '@deriv/quill-icons/LabelPaired';
import { Localize,localize } from '@deriv-com/translations';
import TourSteps from './common/tour-steps';

type TJoyrideConfig = Record<
Expand Down Expand Up @@ -302,7 +302,7 @@ const Step4 = ({ show_label = false }) => (
</ul>
<div className='joyride-content__left joyride-content__with-icon'>
<div className='joyride-content__with-icon__left'>
<LabelPairedCircleCheckCaptionRegularIcon className='db-contract-card__result-icon' color='green' />
<LabelPairedCircleCheckMdFillIcon className='db-contract-card__result-icon' fill='#4bb4b3' />
</div>
<div className='joyride-content__with-icon__right'>
<Localize
Expand Down
3 changes: 3 additions & 0 deletions src/stores/quick-strategy-store.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { action, makeObservable, observable, reaction } from 'mobx';
import { botNotification } from '@/components/bot-notification/bot-notification';
import { notification_message, NOTIFICATION_TYPE } from '@/components/bot-notification/bot-notification-utils';
import { ApiHelpers, config as qs_config, load } from '@/external/bot-skeleton';
import { save_types } from '@/external/bot-skeleton/constants/save-type';
import { addDynamicBlockToDOM } from '@/utils/xml-dom-quick-strategy';
Expand Down Expand Up @@ -205,6 +207,7 @@ export default class QuickStrategyStore implements IQuickStrategyStore {
}

this.setFormVisibility(false);
botNotification(notification_message()[NOTIFICATION_TYPE.BOT_IMPORT]);

await load({
block_string: window.Blockly.Xml.domToText(strategy_dom),
Expand Down

0 comments on commit 4d7f24a

Please sign in to comment.