Skip to content

Commit

Permalink
update reference
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanpieper committed Jan 13, 2025
1 parent d5ea3a1 commit 29dd5db
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion R/css.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ generate_survey_theme <- function(
header_background <- "#e7e7e7"
disabled_color <- "#dbdbdb"
text_border <- "#d4d4d4"
container_background <- "#f5f5f5"
container_background <- "#f9f9f9"
}

# Base theme CSS
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ For R applications, developers can easily incorporate SurveyJS by parsing the JS

- Dynamically populate field choices (i.e., response options) from a database table and create dependent inputs (e.g., select a package name and filter available versions) with support for tracking via URL parameters (e.g., referral source; see [vignette](articles/dynamic_field_config.html))

- Asynchronous worker to update database without interrupting the survey including the logging app messages, warnings, and errors
- Log app messages, warnings, and errors

- Setup asynchronous future plan to update database without interrupting the survey

## Installation

Expand Down
2 changes: 1 addition & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ template:
figures:
dev: grfx
articles:
- title: Getting Started
- title: Advanced Features
contents:
- 'dynamic_field_config'
10 changes: 5 additions & 5 deletions docs/articles/dynamic_field_config.html

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

2 changes: 1 addition & 1 deletion docs/articles/index.html

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

3 changes: 2 additions & 1 deletion docs/index.html

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

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkgdown: 2.1.1.9000
pkgdown_sha: 5c03b7444923f7c797b8b283e175f8eed63797a7
articles:
dynamic_field_config: dynamic_field_config.html
last_built: 2025-01-13T22:18Z
last_built: 2025-01-13T23:09Z
urls:
reference: https://dylanpieper.github.io/shinysurveyjs/reference
article: https://dylanpieper.github.io/shinysurveyjs/articles
2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions vignettes/dynamic_field_config.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ dynamic_config = list(

## Examples: Package Feedback

Imagine I want to develop an R package feedback survey to allow users to **select** one of my packages and a dependent version number, both populated from a database table, and **track** the referral source in the URL query.
Imagine I want to develop an R package feedback survey to allow users to **select** one of my packages (parent) and a version number (dependent), both populated from a database table, and **track** the referral source in the URL query.

Consider this database structure:

Expand Down Expand Up @@ -222,7 +222,7 @@ survey <- list(

survey_single(
list = survey,
show_response = TRUE,
theme = "modern",
theme_color = "#00AD6E",
theme_mode = "dark",
db_config = list(
Expand Down Expand Up @@ -319,7 +319,7 @@ survey <- list(

survey_single(
list = survey,
show_response = TRUE,
theme = "modern",
theme_color = "#00AD6E",
theme_mode = "dark",
db_config = list(
Expand Down

0 comments on commit 29dd5db

Please sign in to comment.