Skip to contents

Creates the UI for the updateProject sub-module that manages artwork purchase links. Renders a form for editing print store URLs and OpenSea NFT links. Use this when building custom modals that need purchase link editing.

Usage

updateProjectUI(id)

Arguments

id

Character scalar. Shiny namespace ID for the module. Used by [shiny::NS()] to create unique element IDs and prevent conflicts with other modules or the parent app. Must match between UI and server calls.

Value

A `shiny.tag.list` containing the modal body with artwork thumbnail, print URL input, and OpenSea NFT URL input.

See also

* [updateProjectServer()] for server logic * [modUploadServer()] for integration context

Other ui-modules: updateProjectServer()

Examples

if (FALSE) { # \dontrun{
# In modUploadServer when user clicks edit
observeEvent(input[[paste0("edit_", artwork_name)]], {
  showModal(modalDialog(
    title = "Edit Artwork Purchase Links",
    updateProjectUI(ns("update"))
  ))
})
} # }