quanshousio/ToastUI

more docs on calendar-popup-shiny.R

Closed this issue · 3 comments

The calendar-popup-shiny is referred to in some of the GitHub issues, but there's not much documentation on the example, either via comments in the code, or via a README (or similar). At least when I run calendar-popup-shiny.R with toastui_0.3.0, clicking on an event does nothing, and I cannot create a new event. For troubleshooting, it would be helpful to know what the code is supposed to do.

sessionInfo()

R version 4.3.1 (2023-06-16)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.3

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/Los_Angeles
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base     

other attached packages:
[1] shinycssloaders_1.0.0 tidyr_1.3.1           dplyr_1.1.4           httr2_1.0.0           shinyBS_0.61.1       
[6] shiny_1.8.0           toastui_0.3.0        

loaded via a namespace (and not attached):
 [1] jsonlite_1.8.7      crayon_1.5.2        compiler_4.3.1      renv_1.0.2          promises_1.2.1     
 [6] tidyselect_1.2.0    Rcpp_1.0.11         later_1.3.1         jquerylib_0.1.4     yaml_2.3.8         
[11] fastmap_1.1.1       mime_0.12           R6_2.5.1            generics_0.1.3      curl_5.2.0         
[16] htmlwidgets_1.6.4   tibble_3.2.1        openssl_2.1.1       bslib_0.5.1         pillar_1.9.0       
[21] rlang_1.1.1         utf8_1.2.4          cachem_1.0.8        httpuv_1.6.11       fs_1.6.3           
[26] config_0.3.2        sass_0.4.7          memoise_2.0.1       cli_3.6.1           withr_2.5.0        
[31] magrittr_2.0.3      phosphoricons_0.2.0 shinyWidgets_0.8.1  digest_0.6.33       xtable_1.8-4       
[36] rappdirs_0.3.3      askpass_1.2.0       lifecycle_1.0.3     vctrs_0.6.5         gargle_1.5.2       
[41] glue_1.6.2          fansi_1.0.6         purrr_1.0.2         httr_1.4.7          pkgconfig_2.0.3    
[46] tools_4.3.1         ellipsis_0.3.2      htmltools_0.5.7  

I've tried changing the code to calendar(view = "month", taskView = TRUE, useDetailPopup = FALSE, isReadOnly = FALSE), but this just results in a "movable" event when an event is clicked (see images: "Mum birthday" and "Training 2"), except the event cannot actually be moved ("moving" the event by clicking to another location does not actually edit the calendar).

Screenshot 2024-01-29 at 9 37 33 AM
Screenshot 2024-01-29 at 9 37 40 AM

Hi @nick-youngblut, it seems there may have been a misunderstanding. The toastui library you referenced is actually a JavaScript library owned by another individual. Therefore, I will close this issue. Please feel free to reach out if you have any further questions.

Sorry, too many tabs open and selected the ToastUI repo instaed of https://github.com/dreamRs/toastui/ (same repo name)