Skip to content

[Feature]: Clarify prompts when adding multiple rightsholders, funders, and publishers #205

Description

@wlangera

Feature description

Update the interactive prompts in checklist::create_project() so that, after a rightsholder, funder, or publisher has been added, the subsequent prompt asks whether the user wants to add another one, rather than repeating the initial prompt.

For example:

Add another rightsholder? (yes/No/cancel)
Add another funder? (yes/No/cancel)
Add another publisher? (yes/No/cancel)

instead of:

Add a rightsholder? (yes/No/cancel)
Add a funder? (yes/No/cancel)
Add a publisher? (yes/No/cancel)

Why is this needed?

The current prompts are ambiguous because they are identical before and after an item has been added. Users cannot easily tell whether their previous selection was successfully recorded or whether they are being asked the same question again due to an error. This can lead to uncertainty and a less intuitive user experience.

The author workflow already uses the clearer wording ("Add another author?"), so using the same approach for rightsholders, funders, and publishers would improve consistency across the interactive interface.

Proposed solution

Track whether at least one rightsholder, funder, or publisher has already been added. After the first item is successfully added, change the prompt from:

Add a rightsholder?

to

Add another rightsholder?

and apply the same logic to funders and publishers. This would align the behaviour with the existing implementation for authors and provide clearer feedback to users.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions