Skip to content

Commit

Permalink
fix: ui bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mayuran-deriv committed Dec 5, 2024
1 parent 7ff089d commit 639f62e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const WorkspaceGroup = observer(() => {
action={() => setChartModalVisibility()}
/>
<ToolbarIcon
popover_message={localize('Trading View Chart')}
popover_message={localize('TradingView Chart')}
icon='IcTradingViewChart'
icon_id='db-toolbar__tradingview-button'
data_testid='dt_toolbar_tradingview_chart_button'
Expand Down
3 changes: 2 additions & 1 deletion packages/bot-web-ui/src/pages/dashboard/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
.subtitle {
text-align: center;
margin-top: 1.6rem;
margin-bottom: 1rem;
&__has-list {
text-align: center;
margin-top: 0;
Expand Down Expand Up @@ -314,7 +315,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
3 changes: 3 additions & 0 deletions packages/bot-web-ui/src/stores/quick-strategy-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { addDynamicBlockToDOM } from 'Utils/xml-dom-quick-strategy';
import { STRATEGIES } from '../pages/bot-builder/quick-strategy/config';
import { TFormData } from '../pages/bot-builder/quick-strategy/types';
import RootStore from './root-store';
import { botNotification } from 'Components/bot-notification/bot-notification';
import { notification_message, NOTIFICATION_TYPE } from 'Components/bot-notification/bot-notification-utils';

export type TActiveSymbol = {
group: string;
Expand Down Expand Up @@ -207,6 +209,7 @@ export default class QuickStrategyStore implements IQuickStrategyStore {
}

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

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

0 comments on commit 639f62e

Please sign in to comment.