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: optimize dashboard UI and fix sql highlight #1329

Merged
merged 33 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
a7398d0
feat: copy awel flow
2976151305 Feb 26, 2024
012a9c3
feat: merge
2976151305 Mar 4, 2024
489d559
Merge branch 'main' of github.com:eosphoros-ai/DB-GPT
2976151305 Mar 6, 2024
137f160
Merge branch 'main' of github.com:eosphoros-ai/DB-GPT
2976151305 Mar 11, 2024
07dcaa1
Merge branch 'main' of github.com:eosphoros-ai/DB-GPT
2976151305 Mar 13, 2024
43d3882
Merge branch 'main' of github.com:eosphoros-ai/DB-GPT
2976151305 Mar 18, 2024
aab67df
Merge branch 'main' of github.com:eosphoros-ai/DB-GPT
2976151305 Mar 20, 2024
74bb7f4
fix: catch format sql error
2976151305 Mar 20, 2024
4104783
feat: dashbord UI
lcxadml Mar 21, 2024
63b74f2
feat: dashbaord ui
lcxadml Mar 21, 2024
e22ecb5
feat: detail
lcxadml Mar 21, 2024
1a255cb
fix: first dialog not show content
lcxadml Mar 25, 2024
693bab5
fix: sql highlight
lcxadml Mar 25, 2024
006aa66
Merge branch 'main' into feat/mui-antd
lcxadml Mar 25, 2024
a917128
feat: editor loader slow
lcxadml Mar 25, 2024
3725af5
Merge branch 'feat/mui-antd' of https://github.com/eosphoros-ai/DB-GP…
lcxadml Mar 25, 2024
85190c7
feat: static
lcxadml Mar 26, 2024
6fe23d2
Merge branch 'main' into feat/mui-antd
lcxadml Mar 28, 2024
44706a6
feat: static
lcxadml Mar 28, 2024
a987271
feat: static
lcxadml Mar 28, 2024
c881ebf
feat: python code
lcxadml Mar 28, 2024
d09c7bd
feat: python code
lcxadml Mar 28, 2024
96ba91b
feat: dashboard optimize
2976151305 Mar 31, 2024
5c1acb8
Merge branch 'feat/mui-antd' of github.com:eosphoros-ai/DB-GPT into f…
2976151305 Mar 31, 2024
d24eea1
style: Optimize dashboard UI
2976151305 Apr 7, 2024
e6d75af
Merge branch 'main' of github.com:eosphoros-ai/DB-GPT
2976151305 Apr 7, 2024
14fa260
Merge branch 'main' into feat/mui-antd
2976151305 Apr 7, 2024
0f089ac
fix: table and chart view
2976151305 Apr 10, 2024
09f6fa8
style: antd table scroll x
2976151305 Apr 10, 2024
0e42611
Merge branch 'main' of github.com:eosphoros-ai/DB-GPT
2976151305 Apr 10, 2024
6456a94
Merge branch 'main' into feat/mui-antd
2976151305 Apr 10, 2024
b900b1c
feat: rebuild web static
2976151305 Apr 10, 2024
8fdb043
fix:datasource run data error
Aries-ckt Apr 10, 2024
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
20 changes: 10 additions & 10 deletions dbgpt/app/scene/chat_dashboard/data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ def get_chart_values_by_data(self, field_names, datas, chart_sql: str):
)

for field_name in field_names[1:]:
# if not field_map[field_name]:
# logger.info("More than 2 non-numeric column:" + field_name)
# else:
for data in datas:
value_item = ValueItem(
name=data[0],
type=field_name,
value=str(data[field_names.index(field_name)]),
)
values.append(value_item)
if not field_map[field_name]:
logger.info("More than 2 non-numeric column:" + field_name)
else:
for data in datas:
value_item = ValueItem(
name=data[0],
type=field_name,
value=str(data[field_names.index(field_name)]),
)
values.append(value_item)
return field_names, values
except Exception as e:
logger.debug("Prepare Chart Data Failed!" + str(e))
Expand Down
2 changes: 1 addition & 1 deletion dbgpt/app/static/404.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dbgpt/app/static/404/index.html

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

6 changes: 6 additions & 0 deletions dbgpt/app/static/_next/static/chunks/1065.154116f34cb67712.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading