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

Suggestion: save notes on the fly without needing to click on "Save Notes" #33

Open
jsavinc opened this issue Sep 3, 2020 · 1 comment

Comments

@jsavinc
Copy link

jsavinc commented Sep 3, 2020

I'm screening abstracts at the minute and noticed it feels like I'm clicking on Save Notes a lot, so could the notes save as they are typed instead (reactively in response to a change in the text box contents?) I assume the use case for Save Notes is to prevent destructive changes (i.e. deleting the entire text field) automatically overwriting what was there previously?

@jsavinc
Copy link
Author

jsavinc commented Sep 3, 2020

This may be as simple as changing the following in screen_abstracts.R (line 338):

    observeEvent(input$notes_save, {
      data$raw$notes[progress$row] <- input$abstract_notes
    })

to

    observeEvent(input$abstract_notes, {  # save every time the input changes
      data$raw$notes[progress$row] <- input$abstract_notes
    })

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

No branches or pull requests

1 participant