Skip to content

Commit

Permalink
custom widgets rename
Browse files Browse the repository at this point in the history
  • Loading branch information
pingfan-hu committed Feb 26, 2025
1 parent ae4d1b8 commit 6c61142
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ website:
- text: "Random Labels Preset"
href: demos/random-labels-preset.qmd
- text: "Leaflet Map"
href: demos/leaflet-map.qmd
- text: "Plotly Widget"
href: demos/plotly.qmd
href: demos/custom-leaflet-map.qmd
- text: "Plotly Chart"
href: demos/custom-plotly-chart.qmd

format:
html:
Expand Down
10 changes: 5 additions & 5 deletions demos.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ Brief description of each demo:
| | Folder | Description |
|-------|--------|-------------|
| <i class="fa fa-list-ul" aria-hidden="true"></i> | question-types<br>[Access Demo](https://surveydown.shinyapps.io/types/) | A demo of all the [question types](manual/question-types.html) currently supported by surveydown. |
| <i class="fa fa-eye" aria-hidden="true"></i> | show-if<br>[Access Demo](https://surveydown.shinyapps.io/showif/) | A demo of how to implement [conditional display](manual/conditional-control.html#conditional-display) (showing a question based on a previous response). |
| <i class="fa fa-forward" aria-hidden="true"></i> | skip-if<br>[Access Demo](https://surveydown.shinyapps.io/skipif/) | A demo of how to implement [conditional skipping](manual/conditional-control.html#conditional-skipping) (skipping to a page based on a previous response). |
| <i class="fa fa-eye" aria-hidden="true"></i> | conditional-display<br>[Access Demo](https://surveydown.shinyapps.io/showif/) | A demo of how to implement [conditional display](manual/conditional-control.html#conditional-display) (showing a question based on a previous response). |
| <i class="fa fa-forward" aria-hidden="true"></i> | conditional-skipping<br>[Access Demo](https://surveydown.shinyapps.io/skipif/) | A demo of how to implement [conditional skipping](manual/conditional-control.html#conditional-skipping) (skipping to a page based on a previous response). |
| <i class="fa fa-balance-scale" aria-hidden="true"></i> | conjoint-buttons<br>[Access Demo](https://surveydown.shinyapps.io/conjoint/) | A demo of a choice-based conjoint survey using a button layout for the choice questions. |
| <i class="fa fa-balance-scale" aria-hidden="true"></i> | conjoint-table<br>[Access Demo](https://surveydown2.shinyapps.io/conjoint2/) | A demo of a choice-based conjoint survey using a table layout for the choice questions. |
| <i class="fa fa-balance-scale" aria-hidden="true"></i> | conjoint-tables<br>[Access Demo](https://surveydown2.shinyapps.io/conjoint2/) | A demo of a choice-based conjoint survey using a table layout for the choice questions. |
| <i class="fa fa-random" aria-hidden="true"></i> | random-labels<br>[Access Demo](https://surveydown.shinyapps.io/random/) | A demo of how to implement [random labels](manual/reactivity.html#randomizing-question-labels). |
| <i class="fa fa-shuffle" aria-hidden="true"></i> | random-labels-preset<br>[Access Demo](https://surveydown2.shinyapps.io/random2/) | A demo of how to implement [predefined random labels](manual/reactivity.html#pre-defined-randomization). |
| <i class="fa fa-chart-line" aria-hidden="true"></i> | reactive-plot | A demo of how to implement a reactive plot (a summary plot of all prior response data updated in real time). |
| <i class="fa fa-up-right-from-square" aria-hidden="true"></i> | external-redirect | A demo of how to implement external redirection links in your survey. |
| <i class="fa fa-map-location-dot" aria-hidden="true"></i> | leaflet-map<br>[Access Demo](https://surveydown2.shinyapps.io/leaflet/) | A demo of how to implement a leaflet map in your survey using the [`sd_question_custom()`](manual/custom-questions.html) function. |
| <i class="fa fa-chart-line" aria-hidden="true"></i> | plotly<br>[Access Demo](https://surveydown2.shinyapps.io/plotly/) | A demo of how to implement a plotly chart in your survey using the [`sd_question_custom()`](manual/custom-questions.html) function. |
| <i class="fa fa-map-location-dot" aria-hidden="true"></i> | custom-leaflet-map<br>[Access Demo](https://surveydown2.shinyapps.io/leaflet/) | A demo of how to implement a custom leaflet map in your survey using the [`sd_question_custom()`](manual/custom-questions.html) function. |
| <i class="fa fa-chart-line" aria-hidden="true"></i> | custom-plotly-chart<br>[Access Demo](https://surveydown2.shinyapps.io/plotly/) | A demo of how to implement a custom plotly chart in your survey using the [`sd_question_custom()`](manual/custom-questions.html) function. |

4 changes: 2 additions & 2 deletions demos/leaflet-map.qmd → demos/custom-leaflet-map.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: "Leaflet Map"
title: "Custom Leaflet Map"
toc: false
css: ../css/demos.css
---

::: {.callout-note}
A demo of how to implement a leaflet map in your survey using the [`sd_question_custom()`](../manuals/custom-questions.html) function.
A demo of how to implement a custom leaflet map in your survey using the [`sd_question_custom()`](../manuals/custom-questions.html) function.
:::

<div class="button-container">
Expand Down
4 changes: 2 additions & 2 deletions demos/plotly.qmd → demos/custom-plotly-chart.qmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: "Plotly Widget"
title: "Custom Plotly Chart"
toc: false
css: ../css/demos.css
---

::: {.callout-note}
A demo of how to implement a plotly plot in your survey using the [`sd_question_custom()`](../manuals/custom-questions.html) function.
A demo of how to implement a custom plotly chart in your survey using the [`sd_question_custom()`](../manuals/custom-questions.html) function.
:::

<div class="button-container">
Expand Down

0 comments on commit 6c61142

Please sign in to comment.