-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Release notes ## dff.stats - Fix tests for statistics module (#272) - Dashboard config now persists after restart (#227) - Fix several bugs with SQL statements for datasets (#227) - Update guide with information about custom charts (#227) - Add text descriptions for charts in dashboard (#227) - Various chart fixes (#227) ## Other - Update PR template (#258) - Small doc fixesRelease v0.6.2
- Loading branch information
Showing
58 changed files
with
3,205 additions
and
1,416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
# Description | ||
|
||
*Please describe here what changes are made and why. If this pull request fixes a GitHub issue, reference it.* | ||
*Please describe here what changes are made and why.* | ||
|
||
# Checklist | ||
|
||
- [ ] I have covered the code with tests | ||
- [ ] I have added comments to my code to help others understand it | ||
- [ ] I have updated the documentation to reflect the changes | ||
- [ ] I have performed a self-review of the changes | ||
- [ ] I have performed a self-review of the changes | ||
|
||
*List here tasks to do in order to complete this PR.* | ||
|
||
# To Consider | ||
|
||
- Add tests (if functionality is changed) | ||
- Update API reference / tutorials / guides | ||
- Update CONTRIBUTING.md (if devel workflow is changed) | ||
- Update `.ignore` files, scripts (such as `lint`), distribution manifest (if files are added/deleted) | ||
- Search for references to changed entities in the codebase |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
__author__ = "Denis Kuznetsov" | ||
__email__ = "[email protected]" | ||
__version__ = "0.6.1" | ||
__version__ = "0.6.2" | ||
|
||
|
||
import nest_asyncio | ||
|
72 changes: 72 additions & 0 deletions
72
dff/config/superset_dashboard/charts/Current_topic_slot_bar_chart_4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
slice_name: Current topic slot [bar chart] | ||
description: null | ||
certified_by: null | ||
certification_details: null | ||
viz_type: dist_bar | ||
params: | ||
datasource: 3__table | ||
viz_type: dist_bar | ||
slice_id: 6 | ||
granularity_sqla: start_time | ||
time_range: No filter | ||
metrics: | ||
- count | ||
adhoc_filters: | ||
- clause: WHERE | ||
comparator: get_slots | ||
datasourceWarning: false | ||
expressionType: SIMPLE | ||
filterOptionName: filter_sz14lhn7d1d_c0zqn5dpgk | ||
isExtra: false | ||
isNew: false | ||
operator: == | ||
operatorId: EQUALS | ||
sqlExpression: null | ||
subject: data_key | ||
- clause: WHERE | ||
comparator: null | ||
datasourceWarning: false | ||
expressionType: SQL | ||
filterOptionName: filter_945dhn41x2m_sci7gkxy7o | ||
isExtra: false | ||
isNew: false | ||
operator: null | ||
sqlExpression: JSON_VALUE(data, '$.current_topic') <> '' | ||
subject: null | ||
groupby: | ||
- request_id | ||
columns: | ||
- expressionType: SQL | ||
label: My column | ||
sqlExpression: JSON_VALUE(data, '$.current_topic') | ||
datasourceWarning: false | ||
row_limit: 10000 | ||
order_desc: true | ||
color_scheme: echarts4Colors | ||
show_legend: true | ||
rich_tooltip: true | ||
bar_stacked: true | ||
order_bars: false | ||
y_axis_format: SMART_NUMBER | ||
y_axis_label: Topic counts | ||
y_axis_bounds: | ||
- null | ||
- null | ||
x_axis_label: Dialog turn | ||
bottom_margin: auto | ||
x_ticks_layout: auto | ||
extra_form_data: {} | ||
dashboards: | ||
- 1 | ||
query_context: '{"datasource":{"id":3,"type":"table"},"force":false,"queries":[{"time_range":"No | ||
filter","granularity":"start_time","filters":[{"col":"data_key","op":"==","val":"get_slots"}],"extras":{"having":"","where":"(JSON_VALUE(data, | ||
''$.current_topic'') <> '''')"},"applied_time_extras":{},"columns":["request_id",{"expressionType":"SQL","label":"My | ||
column","sqlExpression":"JSON_VALUE(data, ''$.current_topic'')","datasourceWarning":false}],"metrics":["count"],"annotation_layers":[],"row_limit":10000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"datasource":"3__table","viz_type":"dist_bar","slice_id":6,"granularity_sqla":"start_time","time_range":"No | ||
filter","metrics":["count"],"adhoc_filters":[{"clause":"WHERE","comparator":"get_slots","datasourceWarning":false,"expressionType":"SIMPLE","filterOptionName":"filter_sz14lhn7d1d_c0zqn5dpgk","isExtra":false,"isNew":false,"operator":"==","operatorId":"EQUALS","sqlExpression":null,"subject":"data_key"},{"clause":"WHERE","comparator":null,"datasourceWarning":false,"expressionType":"SQL","filterOptionName":"filter_945dhn41x2m_sci7gkxy7o","isExtra":false,"isNew":false,"operator":null,"sqlExpression":"JSON_VALUE(data, | ||
''$.current_topic'') <> ''''","subject":null}],"groupby":["request_id"],"columns":[{"expressionType":"SQL","label":"My | ||
column","sqlExpression":"JSON_VALUE(data, ''$.current_topic'')","datasourceWarning":false}],"row_limit":10000,"order_desc":true,"color_scheme":"echarts4Colors","show_legend":true,"rich_tooltip":true,"bar_stacked":true,"order_bars":false,"y_axis_format":"SMART_NUMBER","y_axis_label":"Topic | ||
counts","y_axis_bounds":[null,null],"x_axis_label":"Dialog turn","bottom_margin":"auto","x_ticks_layout":"auto","extra_form_data":{},"dashboards":[1],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' | ||
cache_timeout: null | ||
uuid: a70c05d0-770b-4068-a55d-934283f5b1bb | ||
version: 1.0.0 | ||
dataset_uuid: 8ba2e188-2bf8-4809-a5ee-2477a539d493 |
86 changes: 86 additions & 0 deletions
86
dff/config/superset_dashboard/charts/Current_topic_time_series_bar_chart_2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
slice_name: Current topic [time series bar chart] | ||
description: null | ||
certified_by: null | ||
certification_details: null | ||
viz_type: echarts_timeseries_bar | ||
params: | ||
datasource: 3__table | ||
viz_type: echarts_timeseries_bar | ||
slice_id: 10 | ||
granularity_sqla: start_time | ||
time_grain_sqla: PT1M | ||
time_range: No filter | ||
metrics: | ||
- count | ||
groupby: | ||
- datasourceWarning: false | ||
expressionType: SQL | ||
label: context_id | ||
sqlExpression: JSON_VALUE(data, '$.current_topic') | ||
adhoc_filters: | ||
- clause: WHERE | ||
comparator: get_slots | ||
datasourceWarning: false | ||
expressionType: SIMPLE | ||
filterOptionName: filter_8tft5fr07ea_urtdezftgn | ||
isExtra: false | ||
isNew: false | ||
operator: == | ||
operatorId: EQUALS | ||
sqlExpression: null | ||
subject: data_key | ||
- clause: WHERE | ||
comparator: null | ||
datasourceWarning: false | ||
expressionType: SQL | ||
filterOptionName: filter_4ffdpny1zzm_vmlo11yw7i | ||
isExtra: false | ||
isNew: false | ||
operator: null | ||
sqlExpression: JSON_VALUE(data, '$.current_topic') <> '' | ||
subject: null | ||
order_desc: true | ||
row_limit: 10000 | ||
truncate_metric: true | ||
show_empty_columns: true | ||
comparison_type: values | ||
annotation_layers: [] | ||
forecastPeriods: 10 | ||
forecastInterval: 0.8 | ||
orientation: vertical | ||
x_axis_title: Time axis | ||
x_axis_title_margin: 30 | ||
y_axis_title: Value counts over time | ||
y_axis_title_margin: 30 | ||
y_axis_title_position: Left | ||
color_scheme: echarts4Colors | ||
show_value: false | ||
stack: true | ||
only_total: true | ||
show_legend: true | ||
legendType: scroll | ||
legendOrientation: top | ||
x_axis_time_format: smart_date | ||
y_axis_format: SMART_NUMBER | ||
y_axis_bounds: | ||
- null | ||
- null | ||
rich_tooltip: true | ||
tooltipSortByMetric: true | ||
tooltipTimeFormat: smart_date | ||
extra_form_data: {} | ||
dashboards: | ||
- 1 | ||
query_context: '{"datasource":{"id":3,"type":"table"},"force":false,"queries":[{"time_range":"No | ||
filter","granularity":"start_time","filters":[{"col":"data_key","op":"==","val":"get_slots"}],"extras":{"time_grain_sqla":"PT1M","having":"","where":"(JSON_VALUE(data, | ||
''$.current_topic'') <> '''')"},"applied_time_extras":{},"columns":[{"datasourceWarning":false,"expressionType":"SQL","label":"context_id","sqlExpression":"JSON_VALUE(data, | ||
''$.current_topic'')"}],"metrics":["count"],"orderby":[["count",false]],"annotation_layers":[],"row_limit":10000,"series_columns":[{"datasourceWarning":false,"expressionType":"SQL","label":"context_id","sqlExpression":"JSON_VALUE(data, | ||
''$.current_topic'')"}],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"is_timeseries":true,"time_offsets":[],"post_processing":[{"operation":"pivot","options":{"index":["__timestamp"],"columns":["context_id"],"aggregates":{"count":{"operator":"mean"}},"drop_missing_columns":false}},{"operation":"rename","options":{"columns":{"count":null},"level":0,"inplace":true}},{"operation":"flatten"}]}],"form_data":{"datasource":"3__table","viz_type":"echarts_timeseries_bar","slice_id":10,"granularity_sqla":"start_time","time_grain_sqla":"PT1M","time_range":"No | ||
filter","metrics":["count"],"groupby":[{"datasourceWarning":false,"expressionType":"SQL","label":"context_id","sqlExpression":"JSON_VALUE(data, | ||
''$.current_topic'')"}],"adhoc_filters":[{"clause":"WHERE","comparator":"get_slots","datasourceWarning":false,"expressionType":"SIMPLE","filterOptionName":"filter_8tft5fr07ea_urtdezftgn","isExtra":false,"isNew":false,"operator":"==","operatorId":"EQUALS","sqlExpression":null,"subject":"data_key"},{"clause":"WHERE","comparator":null,"datasourceWarning":false,"expressionType":"SQL","filterOptionName":"filter_4ffdpny1zzm_vmlo11yw7i","isExtra":false,"isNew":false,"operator":null,"sqlExpression":"JSON_VALUE(data, | ||
''$.current_topic'') <> ''''","subject":null}],"order_desc":true,"row_limit":10000,"truncate_metric":true,"show_empty_columns":true,"comparison_type":"values","annotation_layers":[],"forecastPeriods":10,"forecastInterval":0.8,"orientation":"vertical","x_axis_title":"Time | ||
axis","x_axis_title_margin":30,"y_axis_title":"Value counts over time","y_axis_title_margin":30,"y_axis_title_position":"Left","color_scheme":"echarts4Colors","show_value":false,"stack":true,"only_total":true,"show_legend":true,"legendType":"scroll","legendOrientation":"top","x_axis_time_format":"smart_date","y_axis_format":"SMART_NUMBER","y_axis_bounds":[null,null],"rich_tooltip":true,"tooltipSortByMetric":true,"tooltipTimeFormat":"smart_date","extra_form_data":{},"dashboards":[1],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' | ||
cache_timeout: null | ||
uuid: f8215b4d-cdaf-489a-90b2-040da840ab35 | ||
version: 1.0.0 | ||
dataset_uuid: 8ba2e188-2bf8-4809-a5ee-2477a539d493 |
78 changes: 0 additions & 78 deletions
78
dff/config/superset_dashboard/charts/Flow_visit_ratio_monitor_1.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.