Garrick Aden-Buie
8519d729bc
Find a rate policy balance
hace 6 años
Garrick Aden-Buie
9f915337a2
Don't send stats until nword >= 3
hace 6 años
Garrick Aden-Buie
fa02cb2314
Calculate typing speed
hace 6 años
Garrick Aden-Buie
073186bcc9
Initialize `_timing` when the user starts typing
hace 6 años
Garrick Aden-Buie
9568fdcd06
Add _timing property to the input binding
hace 6 años
Garrick Aden-Buie
edfb9399ea
Update .getValue() - return both as object/list
hace 6 años
Garrick Aden-Buie
e3fa485bb6
Update .getValue() - number of words entered
hace 6 años
Garrick Aden-Buie
b3958d5e3f
Update .getValue() - number of characters entered
hace 6 años
Garrick Aden-Buie
85205fbcbb
Update .getValue() - replace FIXME with el.value
hace 6 años
Garrick Aden-Buie
ccbaee6ddd
Explore the Shiny.inputBinding object and methods
hace 6 años
Garrick Aden-Buie
0be8efb83b
Add typing.js dependency to the custom input function
hace 6 años
Garrick Aden-Buie
6fffc2337a
First customization of the shiny input
hace 6 años
Garrick Aden-Buie
02adb896c5
Scaffold shiny input binding
hace 6 años
Garrick Aden-Buie
b7108029b5
Create our own typingSpeedInput()
hace 6 años
Garrick Aden-Buie
ff3a962f7e
Create a basic shiny app with a typing area
hace 6 años
Garrick Aden-Buie
113340074c
Create files we need for this example
hace 6 años
Garrick Aden-Buie
255c62e7b4
# This is a combination of 3 commits.
# This is the 1st commit message:
Create files we need for this example
# The commit message #2 will be skipped:
# (meta add github_sha_link())
# The commit message #3 will be skipped:
# (meta add project description)
hace 6 años
Garrick Aden-Buie
b855538811
Add readme
hace 6 años
Garrick Aden-Buie
81f5e596bb
Add sha hashes and render GH markdown in dev.Rmd
hace 6 años
Garrick Aden-Buie
000de60582
Now it's a real data frame!
hace 6 años
Garrick Aden-Buie
e7fe0e1d87
Format the value sent back to Shiny
hace 6 años
Garrick Aden-Buie
0b4f7ea16f
Add event listener to return events back to Shiny
hace 6 años
Garrick Aden-Buie
4706d89183
Add updateFrappeChart()
hace 6 años
Garrick Aden-Buie
5da4b68b5f
Handle data updates from Shiny
hace 6 años
Garrick Aden-Buie
f0a3bf9fd5
Expose widget-specific `chart` with a `chart()` method
hace 6 años
Garrick Aden-Buie
d114592668
make the created `chart` object available outside `renderValue()`
hace 6 años
Garrick Aden-Buie
b19e33af8f
refactor data processing function
hace 6 años
Garrick Aden-Buie
739d594501
Make it shine
hace 6 años
Garrick Aden-Buie
8d442e3c84
demo htmlwidgets::JS() with tooltipOptions
hace 6 años
Garrick Aden-Buie
6f141c4341
Add js binding: it's a widget!
hace 6 años
Garrick Aden-Buie
cbc25a8f7b
Complete R function
hace 6 años
Garrick Aden-Buie
969fd962ed
Declare htmlwidgets dependencies
hace 6 años
Garrick Aden-Buie
8ed88c05ac
(meta: fix gitignore)
hace 6 años
Garrick Aden-Buie
a0614d9699
All the pieces are in place!
Next: build up the package
hace 6 años
Garrick Aden-Buie
7a988739e3
Add real data and reformat in the browser
hace 6 años
Garrick Aden-Buie
93d4c74f4b
Turn on dots again and make navigable
hace 6 años
Garrick Aden-Buie
340d516ee4
explore other options for line charts
hace 6 años
Garrick Aden-Buie
3e1d9bee03
Pass entire options list from R to the JS chunk
hace 6 años
Garrick Aden-Buie
7201e436e7
* Parse the JSON
* Use data from R
* Make R's data random (so it updates)
* Clean up so we only have one data object
hace 6 años
Garrick Aden-Buie
881c12ffdb
recreate data in R and pass back to js
hace 6 años
Garrick Aden-Buie
8fd703a08b
replace data with another example that doesn't use multiple chart types
hace 6 años
Garrick Aden-Buie
036d454f80
Create a demo Rmd
hace 6 años
Garrick Aden-Buie
7abf022434
npm run build
hace 6 años
Garrick Aden-Buie
38bac2c65c
htmlwidgets::scaffoldWidget("frappeChart")
hace 6 años
Garrick Aden-Buie
256f0ca112
npm init -y
npm install frappe-charts
buildignore: node_modules, package*.json
gitignore: node_modules
hace 6 años
Garrick Aden-Buie
a3f6fdd986
usethis::create_package("frappeCharts")
hace 6 años