Skip to content

Commit

Permalink
Merge pull request #972 from openedx/revert-969-dashboard_updates
Browse files Browse the repository at this point in the history
Revert "feat: fix enrollment count, fix tag filter, misc updates"
  • Loading branch information
saraburns1 authored Oct 22, 2024
2 parents 54173fe + ca0d8bd commit 39e01a3
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ unused_uuids:
- 4250c976-a9b7-43ff-b5ad-8dd00a5acef7 # Learner performance breakdown
- 9c3f7291-1bd9-4b2f-abc0-472aad3aff06 # Learner performance breakdown
- 8b0535a8-a43f-49bf-9d50-439a16bd3f74 # Video engagement
- fa249dda-78da-4ccc-9ef3-39177e6aae0c # Course Information

ignored_uuids:
datasets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ params:
operator: TEMPORAL_RANGE
subject: emission_time
all_columns: []
annotation_layers: []
color_pn: false
column_config:
active_count:
Expand All @@ -29,8 +30,7 @@ params:
groupby:
- course_name
- org
- datasourceWarning: false
expressionType: SQL
- expressionType: SQL
label: More details
sqlExpression: |-
{% raw %}{{ get_filtered_dashboard_link('course-dashboard', 'course_name', 'IfS-Rd0ZS') }}{% endraw %}
Expand All @@ -50,7 +50,7 @@ params:
viz_type: table
query_context:
datasource:
id: 50
id: 651
type: table
force: false
form_data:
Expand All @@ -75,15 +75,14 @@ query_context:
truncateLongCells: true
conditional_formatting: []
dashboards:
- 22
datasource: 50__table
- 355
datasource: 651__table
extra_form_data: {}
force: false
groupby:
- course_name
- org
- datasourceWarning: false
expressionType: SQL
- expressionType: SQL
label: More details
sqlExpression: |-
{% raw %}{{ get_filtered_dashboard_link('course-dashboard', 'course_name', 'IfS-Rd0ZS') }}{% endraw %}
Expand All @@ -99,7 +98,7 @@ query_context:
result_type: full
row_limit: 50000
show_cell_bars: false
slice_id: 25
slice_id: 1298
table_timestamp_format: smart_date
temporal_columns_lookup: {}
time_grain_sqla: P1M
Expand All @@ -110,8 +109,7 @@ query_context:
columns:
- course_name
- org
- datasourceWarning: false
expressionType: SQL
- expressionType: SQL
label: More details
sqlExpression: |-
{% raw %}{{ get_filtered_dashboard_link('course-dashboard', 'course_name', 'IfS-Rd0ZS') }}{% endraw %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ params:
viz_type: pivot_table_v2
query_context:
datasource:
id: 50
id: 221
type: table
force: false
form_data:
Expand All @@ -45,11 +45,12 @@ query_context:
operator: TEMPORAL_RANGE
subject: emission_time
aggregateFunction: Sum
annotation_layers: []
colOrder: key_a_to_z
colSubTotals: false
conditional_formatting: []
datasource: 50__table
dashboards:
- 3141
datasource: 221__table
date_format: smart_date
extra_form_data: {}
force: false
Expand All @@ -65,7 +66,7 @@ query_context:
result_type: full
rowOrder: key_a_to_z
row_limit: 10000
slice_id: 19
slice_id: 161
temporal_columns_lookup: {}
time_grain_sqla: P1D
valueFormat: SMART_NUMBER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ params:
zoomable: false
query_context:
datasource:
id: 84
id: 464
type: table
force: false
form_data:
Expand All @@ -62,7 +62,9 @@ query_context:
annotation_layers: []
color_scheme: supersetColors
contributionMode: null
datasource: 84__table
dashboards:
- 3441
datasource: 464__table
extra_form_data: {}
force: false
groupby: []
Expand All @@ -83,7 +85,7 @@ query_context:
show_empty_columns: false
show_legend: true
show_value: false
slice_id: 75
slice_id: 1504
sort_series_ascending: true
sort_series_type: name
stack: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,13 @@ params:
viz_type: table
query_context:
datasource:
id: 18
id: 61
type: table
force: false
form_data:
adhoc_filters: []
all_columns:
- success
annotation_layers: []
color_pn: true
column_config:
avg_course_grade:
Expand All @@ -63,7 +62,9 @@ query_context:
med_course_grade:
d3NumberFormat: ',.1%'
conditional_formatting: []
datasource: 18__table
dashboards:
- 3141
datasource: 61__table
extra_form_data: {}
force: false
groupby:
Expand All @@ -83,7 +84,7 @@ query_context:
row_limit: 50000
server_page_length: 10
show_cell_bars: false
slice_id: 109
slice_id: 1506
table_timestamp_format: smart_date
temporal_columns_lookup: {}
time_grain_sqla: P1M
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ params:
groupby:
- course_name
- org
- video_count
metrics:
- num_videos
- watched_percent
- rewatched_percent
- avg_video_length
Expand All @@ -28,7 +28,6 @@ params:
percent_metrics: []
query_mode: aggregate
row_limit: 50000
server_page_length: 10
show_cell_bars: false
table_timestamp_format: smart_date
temporal_columns_lookup: {}
Expand All @@ -49,15 +48,15 @@ query_context:
d3NumberFormat: ',.1%'
conditional_formatting: []
dashboards:
- 741
- 441
datasource: 161__table
extra_form_data: {}
force: false
groupby:
- course_name
- org
- video_count
metrics:
- num_videos
- watched_percent
- rewatched_percent
- avg_video_length
Expand All @@ -68,7 +67,6 @@ query_context:
result_format: json
result_type: full
row_limit: 50000
server_page_length: 10
show_cell_bars: false
slice_id: 1121
table_timestamp_format: smart_date
Expand All @@ -80,20 +78,20 @@ query_context:
columns:
- course_name
- org
- video_count
custom_form_data: {}
custom_params: {}
extras:
having: ''
where: ''
filters: []
metrics:
- num_videos
- watched_percent
- rewatched_percent
- avg_video_length
order_desc: true
orderby:
- - num_videos
- - watched_percent
- false
post_processing: []
row_limit: 50000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ params:
groupby:
- course_run
- course_name
- video_count
metrics:
- num_videos
- watched_percent
- rewatched_percent
- avg_video_length
Expand All @@ -28,7 +28,6 @@ params:
percent_metrics: []
query_mode: aggregate
row_limit: 50000
server_page_length: 10
show_cell_bars: false
table_timestamp_format: smart_date
temporal_columns_lookup: {}
Expand All @@ -49,15 +48,15 @@ query_context:
d3NumberFormat: ',.1%'
conditional_formatting: []
dashboards:
- 741
- 441
datasource: 161__table
extra_form_data: {}
force: false
groupby:
- course_run
- course_name
- video_count
metrics:
- num_videos
- watched_percent
- rewatched_percent
- avg_video_length
Expand All @@ -68,7 +67,6 @@ query_context:
result_format: json
result_type: full
row_limit: 50000
server_page_length: 10
show_cell_bars: false
slice_id: 641
table_timestamp_format: smart_date
Expand All @@ -80,20 +78,20 @@ query_context:
columns:
- course_run
- course_name
- video_count
custom_form_data: {}
custom_params: {}
extras:
having: ''
where: ''
filters: []
metrics:
- num_videos
- watched_percent
- rewatched_percent
- avg_video_length
order_desc: true
orderby:
- - num_videos
- - watched_percent
- false
post_processing: []
row_limit: 50000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ metrics:
- currency: null
d3format: null
description: null
expression: uniq(active_learner,course_run)
expression: uniq((active_learner,course_run))
extra:
warning_markdown: ''
metric_name: active_count
Expand All @@ -125,7 +125,7 @@ metrics:
- currency: null
d3format: null
description: null
expression: uniq(actor_id,course_run)
expression: uniq((actor_id,course_run))
extra:
warning_markdown: ''
metric_name: enrollees
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,6 @@ columns:
python_date_format: null
type: String
verbose_name: Tag
- advanced_data_type: null
column_name: course_key
description: null
expression: null
extra: {}
filterable: true
groupby: true
is_active: true
is_dttm: false
python_date_format: null
type: String
verbose_name: Course Key
database_uuid: 21174b6c-4d40-4958-8161-d6c3cf5e77b6
default_endpoint: null
description: null
Expand All @@ -62,8 +50,7 @@ metrics:
d3format: null
description: null
expression: COUNT(*)
extra:
warning_markdown: ''
extra: {}
metric_name: count
metric_type: count
verbose_name: COUNT(*)
Expand All @@ -72,8 +59,7 @@ metrics:
d3format: null
description: null
expression: min(rownum)
extra:
warning_markdown: ''
extra: {}
metric_name: order
metric_type: null
verbose_name: order
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,6 @@ metrics:
metric_type: null
verbose_name: Avg Video Length (seconds)
warning_text: null
- currency: null
d3format: null
description: null
expression: avg(video_count)
extra: {}
metric_name: num_videos
metric_type: null
verbose_name: Number of Videos
warning_text: null
- currency: null
d3format: null
description: null
Expand Down
Loading

0 comments on commit 39e01a3

Please sign in to comment.