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

Disable the explanations #56

Merged
merged 2 commits into from
Sep 14, 2023
Merged

Conversation

JTPetter
Copy link
Collaborator

Removing the explanations for now by disabling the checkboxes. They are default off and cannot be clicked. I thought it was still okay to keep them visible, so people see this feature will come?

@JTPetter JTPetter requested a review from vandenman September 13, 2023 11:51
@vandenman
Copy link
Contributor

Maybe I missed it, but I thought the idea was to show actual text rather than disabling them?

@EJWagenmakers
Copy link

Ultimately, but we don't have that text yet. So for now I like Jonas' suggestion.

@@ -207,7 +207,6 @@ LSTdecisionTree <- function(jaspResults, dataset = NULL, options) {

jaspResults[["DecisionTree"]] <- createJaspContainer("")
jaspResults[["DecisionTree"]][["Heading"]] <- plot1
jaspResults[["DecisionTree"]][["Text"]] <- createJaspHtml("Some explanation and maybe a link to the test?", "p")
Copy link
Contributor

Choose a reason for hiding this comment

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

If the idea is that there should be actual text in here at some point (just now now), I would leave this as a comment like:

  # jaspResults[["DecisionTree"]][["Text"]] <- createJaspHtml("Some explanation and maybe a link to the test?", "p") # TODO: write an informative explanation.

The word TODO is easy to search for.

If there should never be any text here, then I would indeed remove it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I didn't discuss this with anyone yet, but IMO there should be some text and (if possible) a link to test or at least a description where to find it in JASP. So I'll do as you suggested!

@JTPetter JTPetter requested a review from vandenman September 14, 2023 16:21
@vandenman vandenman merged commit 5e3dcb5 into jasp-stats:master Sep 14, 2023
4 of 5 checks passed
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.

3 participants