Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new register input handler for the shiny.vector type #425

Merged
merged 5 commits into from Jan 31, 2024

Conversation

esraay
Copy link
Contributor

@esraay esraay commented Oct 31, 2022

Short description (with a reference to an issue).

DoD

  • Major project work has a corresponding task. If there’s no task for what you are doing, create it. Each task needs to be well defined and described.

  • Change has been tested (manually or with automated tests), everything runs correctly and works as expected. No existing functionality is broken.

  • No new error or warning messages are introduced.

  • All interaction with a semantic functions, examples and docs are written from the perspective of the person using or receiving it. They are understandable and helpful to this person.

  • If the change affects code or repo sctructure, README, documentation and code comments should be updated.

  • All code has been peer-reviewed before merging into any main branch.

  • All changes have been merged into the main branch we use for development (develop).

  • Continuous integration checks (linter, unit tests) are configured and passed.

  • Unit tests added for all new or changed logic.

  • All task requirements satisfied. The reviewer is responsible to verify each aspect of the task.

  • Any added or touched code follows our style-guide.

Closes #418

@osenan osenan self-requested a review February 16, 2023 17:44
osenan
osenan previously requested changes Mar 17, 2023
Copy link
Contributor

@osenan osenan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, very elegant PR! I think it does the job. I request you to rename the shiny.vector so it is more explicit that it is form shiny.semantic. Moreover, can you merge with develop so the fixed version of CI will be run and we can see if all checks are passed?

R/shiny.R Outdated
@@ -31,6 +31,14 @@ NULL
# Add directory for static resources
file <- system.file("www", package = "shiny.semantic", mustWork = TRUE)
shiny::addResourcePath("shiny.semantic", file)
shiny::registerInputHandler("shiny.vector", function(value, ...) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would call it shiny.semantic.vector

inst/www/shiny-semantic-slider.js Outdated Show resolved Hide resolved
@jakubnowicki jakubnowicki merged commit 1f3e98d into develop Jan 31, 2024
5 checks passed
@jakubnowicki jakubnowicki deleted the esra-upper-value-for-range_input-missing branch January 31, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Upper value for range_input missing
3 participants