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:
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
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:
instead of:
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:
to
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