Skip to content

Commit 850624d

Browse files
committed
Merge branch 'remove-pgexplain-tips' into 'master'
chore: remove the recommendation section from Joe History in Platform UI See merge request postgres-ai/database-lab!836
2 parents f3404e3 + 13f600b commit 850624d

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

ui/packages/platform/src/pages/JoeSessionCommand/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ class JoeSessionCommand extends Component {
263263
const openVizDialog = showFlameGraph || (externalVisualization &&
264264
externalVisualization.url && externalVisualization.url.length > 0);
265265
const title = `Command #${commandId} (${data.command}) from session #${sessionId}`;
266-
const recommends = data.recommends;
267266

268267
let shareUrlButton = (
269268
<Button
@@ -398,9 +397,6 @@ class JoeSessionCommand extends Component {
398397
<FormattedText value={data.planText} />
399398
</TabPanel>
400399

401-
<h4>Recommendations:</h4>
402-
<FormattedText value={recommends} />
403-
404400
<h4>Statistics:</h4>
405401
<FormattedText value={data.stats.trim()} />
406402

ui/packages/platform/src/stores/store.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,6 @@ const Store = Reflux.createStore({
10371037
planText: data.plan_text,
10381038
planExecText: data.plan_execution_text,
10391039
planExecJson: data.plan_execution_json,
1040-
recommends: data.recommendations,
10411040
stats: data.stats,
10421041
error: data.error,
10431042
queryLocks: data.query_locks || '',
@@ -1051,11 +1050,6 @@ const Store = Reflux.createStore({
10511050
username: data.username
10521051
};
10531052

1054-
command.recommends = command.recommends && command.recommends.split(
1055-
':white_check_mark:').join('✅');
1056-
command.recommends = command.recommends &&
1057-
command.recommends.split(':exclamation:').join('❗️');
1058-
10591053
this.data.command.data = command;
10601054
this.data.command.isProcessed = true;
10611055
} else {

0 commit comments

Comments
 (0)