Skip to content

[fix]: selection panel for module_name selects all if just "enter" is pressed #334

Description

@Schiano-NOAA

When a user does not make a selection in the module_name interaction in the console, the default action is to just select all. If the environment is non-interactive then it selects the first module (the desired behavior).

We need to look into:

  • an argument in utils::select.list that selects the first option with an "enter" rather than bypassing altogether
  • implement the solution in filter_data() found within R/utils_plot.R L784-L788

    stockplotr/R/utils_plot.R

    Lines 784 to 788 in 92ee749

    question1 <- utils::select.list(
    options,
    multiple = TRUE,
    title = "Select one or more of the following module names"
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions