esqLABS / shinyScenarioEditor

0 stars 0 forks source link

Support Keyboard shortcuts #27

Closed Felixmil closed 5 months ago

Felixmil commented 7 months ago

Keyboard shortcuts do not work. Ctrl + z to undo would be the most useful one.

AKostiv8 commented 6 months ago

@Felixmil test dev branch, please. I have implemented this feature during fixing #44

Felixmil commented 6 months ago

I get this error when trying to read a projectConfiguration:

Warning: Error in esqlabs.handsontable::scenario_table_Input: unused arguments (outputpath_id_options = DROPDOWNS$scenarios$outputpath_id, steatystatetime_unit_options = DROPDOWNS$scenarios$steadystatetime_unit, species_options = DROPDOWNS$individuals$species_options, population_options = DROPDOWNS$individuals$specieshuman_options, gender_options = DROPDOWNS$individuals$gender_options, weight_unit_options = DROPDOWNS$populations$weight_unit, height_unit_options = DROPDOWNS$populations$height_unit, bmi_unit_options = DROPDOWNS$populations$bmi_unit, datatype_options = DROPDOWNS$plots$datatype_options, scenario_options = DROPDOWNS$plots$scenario_options, datacombinedname_options = DROPDOWNS$plots$datacombinedname_options, plottype_options = DROPDOWNS$plots$plottype_options, axisscale_options = DROPDOWNS$plots$axisscale_options, aggregation_options = DROPDOWNS$plots$aggregation_options, path_options = DROPDOWNS$plots$path_options)
  99: renderUI [C:/Users/Felix/Code/shinyScenarioEditor/R/mod_edit_table.R#29]
  98: func
  85: renderFunc
  84: output$main_panel_1-tab_models_1-tab_models-tab_Global-edit_df
   3: runApp
   2: print.shiny.appobj
   1: <Anonymous>

I seems that the renv/profiles/dev/renv.lock file is not updated (there is no esqlabs.ui in there for example). So maybe the error comes from environment difference. Please, can you update the renv snapshot and push it on branch ? renv::snapshot(). This way, I can test with correct environment.