Skip to content

Commit

Permalink
feat: add course dashboard link to course info chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Sep 20, 2024
1 parent 3032313 commit 7fcb1d5
Show file tree
Hide file tree
Showing 18 changed files with 401 additions and 1,307 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ params:
groupby:
- course_name
- org
- expressionType: SQL
label: More details
sqlExpression: |-
{% raw %}{{ get_filtered_dashboard_link('course-dashboard', 'course_name', 'IfS-Rd0ZS') }}{% endraw %}
metrics:
- enrollees
- active_count
Expand All @@ -38,15 +42,14 @@ 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: {}
time_grain_sqla: P1M
viz_type: table
query_context:
datasource:
id: 221
id: 651
type: table
force: false
form_data:
Expand All @@ -71,13 +74,17 @@ query_context:
truncateLongCells: true
conditional_formatting: []
dashboards:
- 3141
datasource: 221__table
- 355
datasource: 651__table
extra_form_data: {}
force: false
groupby:
- course_name
- org
- expressionType: SQL
label: More details
sqlExpression: |-
{% raw %}{{ get_filtered_dashboard_link('course-dashboard', 'course_name', 'IfS-Rd0ZS') }}{% endraw %}
metrics:
- enrollees
- active_count
Expand All @@ -89,9 +96,8 @@ query_context:
result_format: json
result_type: full
row_limit: 50000
server_page_length: 10
show_cell_bars: false
slice_id: 1181
slice_id: 1298
table_timestamp_format: smart_date
temporal_columns_lookup: {}
time_grain_sqla: P1M
Expand All @@ -102,6 +108,10 @@ query_context:
columns:
- course_name
- org
- expressionType: SQL
label: More details
sqlExpression: |-
{% raw %}{{ get_filtered_dashboard_link('course-dashboard', 'course_name', 'IfS-Rd0ZS') }}{% endraw %}
custom_form_data: {}
custom_params: {}
extras:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ params:
groupby:
- course_run
- course_name
- expressionType: SQL
label: More details
sqlExpression: |
{% raw %}{{ get_filtered_dashboard_link('course-dashboard', 'course_run', 'w863AfFgi') }}{% endraw %}
metrics:
- active_count
- tag_list
Expand All @@ -38,15 +42,14 @@ 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: {}
time_grain_sqla: P1M
viz_type: table
query_context:
datasource:
id: 221
id: 651
type: table
force: false
form_data:
Expand All @@ -71,13 +74,17 @@ query_context:
truncateLongCells: true
conditional_formatting: []
dashboards:
- 3141
datasource: 221__table
- 355
datasource: 651__table
extra_form_data: {}
force: false
groupby:
- course_run
- course_name
- expressionType: SQL
label: More details
sqlExpression: |
{% raw %}{{ get_filtered_dashboard_link('course-dashboard', 'course_run', 'w863AfFgi') }}{% endraw %}
metrics:
- active_count
- tag_list
Expand All @@ -89,9 +96,8 @@ query_context:
result_format: json
result_type: full
row_limit: 50000
server_page_length: 10
show_cell_bars: false
slice_id: 1381
slice_id: 1286
table_timestamp_format: smart_date
temporal_columns_lookup: {}
time_grain_sqla: P1M
Expand All @@ -102,6 +108,10 @@ query_context:
columns:
- course_run
- course_name
- expressionType: SQL
label: More details
sqlExpression: |
{% raw %}{{ get_filtered_dashboard_link('course-dashboard', 'course_run', 'w863AfFgi') }}{% endraw %}
custom_form_data: {}
custom_params: {}
extras:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ params:
operator: TEMPORAL_RANGE
subject: enrolled_at
all_columns: []
annotation_layers: []
color_pn: true
column_config:
Avg Course Grade:
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
aggregateFunction: Sum
annotation_layers: []
colOrder: key_a_to_z
colSubTotals: false
conditional_formatting: []
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
aggregateFunction: Sum
annotation_layers: []
colOrder: key_a_to_z
colSubTotals: false
conditional_formatting: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ params:
subject: emission_time
all_columns:
- success
annotation_layers: []
color_pn: true
column_config:
avg_course_grade:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ params:
adhoc_filters: []
all_columns:
- success
annotation_layers: []
color_pn: true
column_config:
avg_course_grade:
Expand Down
Loading

0 comments on commit 7fcb1d5

Please sign in to comment.