README.md

prodpad

The goal of prodpad is to make submitting and reviewing feedback simple, thereby increasing feedback quality and simplifying the arc for utilizing that feedback.

Installation

You can install the released version of prodpad from GitHub with:

remotes::install_github("prodpad")

Example

To get started, you need a ProdPad API key. This can be found by going to: Profile => API Keys. (Or use prodpad_api_key() to navigate there interactively)

Then export that API key as an environment variable (i.e. in .Renviron):

PRODPAD_API_KEY=my-api-key

Then either restart your R session or readRenviron(".Renviron")

library(prodpad)

pcli <- prodpad()

get_feedback(pcli)
get_tags(pcli)
get_companies(pcli)
get_contacts(pcli)
get_ideas(pcli)
get_personas(pcli)
get_product(pcli)

prodpad_api_docs()

Scripted Feedback

If you want to script your feedback entry, you can do so like this:

library(prodpad)
pcli <- prodpad()

all_tags <- get_tags_vector(pcli)
all_contacts <- get_contacts_vector(pcli)
all_personas <- get_personas_vector(pcli)
all_products <- get_products_vector(pcli)

# submit feedback
feedback(
  pcli, 
  contact = all_contacts$`Anonymous Feedback`, 
  tags = c(all_tags$`IT Adoption`), 
  personas = all_personas$`IT Administrator`, 
  products = c(all_products$`RStudio Connect`, all_products$`RStudio Pro`), 
  source = feedback_sources$email,
  feedback = "This is some feedback that I created"
  )

# go look at it in the browser
browseURL(feedback_url(submitted$feedbacks$id))

A Shiny App

This app is still very much a WIP. However, if you run the following in the project directory, you will get a Shiny app that should help you submit feedback!

prodpad::feedback_app()

Notes



colearendt/prodpad documentation built on May 24, 2021, 12:18 a.m.